diff --git a/src/app/page.tsx b/src/app/page.tsx index 503fc5d..b628db7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="smallMedium" sizing="mediumLargeSizeMediumTitles" - background="grid" + background="circleGradient" cardStyle="glass-depth" primaryButtonStyle="double-inset" secondaryButtonStyle="radial-glow" @@ -52,7 +52,7 @@ export default function LandingPage() { { text: "Learn More", href: "#about" } ]} buttonAnimation="slide-up" - background={{ variant: "grid" }} + background={{ variant: "plain" }} carouselItems={[ { id: "shoe-1", imageSrc: "http://img.b2bpic.net/free-photo/sport-shoes-running_1203-7548.jpg", imageAlt: "Premium running shoe white background" @@ -128,7 +128,7 @@ export default function LandingPage() { }, { id: "2", brand: "R Sheen Classic", name: "Heritage Leather Oxford", price: "$149.99", rating: 5, - reviewCount: "1.8k", imageSrc: "http://img.b2bpic.net/free-photo/mans-shoe-used-formal-events_1194-638668.jpg?_wi=1", imageAlt: "heritage leather oxford shoe classic style" + reviewCount: "1.8k", imageSrc: "http://img.b2bpic.net/free-photo/mans-shoe-used-formal-events_1194-638668.jpg", imageAlt: "heritage leather oxford shoe classic style" }, { id: "3", brand: "R Sheen Sport", name: "Velocity Trainer", price: "$139.99", rating: 5, @@ -140,7 +140,7 @@ export default function LandingPage() { }, { id: "5", brand: "R Sheen Premium", name: "Executive Loafer", price: "$159.99", rating: 5, - reviewCount: "1.5k", imageSrc: "http://img.b2bpic.net/free-photo/mans-shoe-used-formal-events_1194-638668.jpg?_wi=2", imageAlt: "executive loafer professional business shoe" + reviewCount: "1.5k", imageSrc: "http://img.b2bpic.net/free-photo/mans-shoe-used-formal-events_1194-638668.jpg", imageAlt: "executive loafer professional business shoe" } ]} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..a49d05d 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,40 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React from 'react'; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; + fontSize?: number; + fontFamily?: string; + fill?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fill = 'currentColor', + className = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;