diff --git a/src/app/page.tsx b/src/app/page.tsx index 4a33fcd..797d753 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -55,13 +55,13 @@ export default function LandingPage() { buttonAnimation="slide-up" carouselItems={[ { - id: "1", imageSrc: "http://img.b2bpic.net/free-photo/asian-store-employee-suggesting-trendy-items-client-wheelchair-user_482257-108841.jpg?_wi=1", imageAlt: "modern athletic wear display" + id: "1", imageSrc: "http://img.b2bpic.net/free-photo/asian-store-employee-suggesting-trendy-items-client-wheelchair-user_482257-108841.jpg", imageAlt: "modern athletic wear display" }, { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/fresh-air-is-what-we-really-like_329181-15067.jpg", imageAlt: "professional sports clothing line" }, { - id: "3", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-stretching_23-2149235422.jpg?_wi=1", imageAlt: "premium athletic clothing modern" + id: "3", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-stretching_23-2149235422.jpg", imageAlt: "premium athletic clothing modern" }, { id: "4", imageSrc: "http://img.b2bpic.net/free-vector/metallic-cogwheel-symbol-dark-background-industry-equipment_1017-61354.jpg", imageAlt: "modern sports outfit showcase" @@ -87,13 +87,13 @@ export default function LandingPage() { tagAnimation="slide-up" products={[ { - id: "1", name: "Performance Athletic Jacket", price: "$149.99", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-training-outside_23-2148799688.jpg?_wi=1", imageAlt: "modern athletic jacket display" + id: "1", name: "Performance Athletic Jacket", price: "$149.99", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-training-outside_23-2148799688.jpg", imageAlt: "modern athletic jacket display" }, { id: "2", name: "Premium Running Shoes", price: "$189.99", imageSrc: "http://img.b2bpic.net/free-photo/businesspeople-moving-upstairs-downstairs_74855-2595.jpg", imageAlt: "premium athletic shoes modern" }, { - id: "3", name: "Sport Accessories Kit", price: "$79.99", imageSrc: "http://img.b2bpic.net/free-photo/still-life-composition-sport-elements_23-2149006302.jpg?_wi=1", imageAlt: "sports accessories collection display" + id: "3", name: "Sport Accessories Kit", price: "$79.99", imageSrc: "http://img.b2bpic.net/free-photo/still-life-composition-sport-elements_23-2149006302.jpg", imageAlt: "sports accessories collection display" } ]} gridVariant="three-columns-all-equal-width" @@ -114,7 +114,7 @@ export default function LandingPage() { description="Aure Gear Team" subdescription="Performance Innovators Since 2020" icon={Heart} - imageSrc="http://img.b2bpic.net/free-photo/asian-store-employee-suggesting-trendy-items-client-wheelchair-user_482257-108841.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/asian-store-employee-suggesting-trendy-items-client-wheelchair-user_482257-108841.jpg" imageAlt="Aure Gear Collection" mediaAnimation="blur-reveal" useInvertedBackground={false} @@ -131,15 +131,15 @@ export default function LandingPage() { features={[ { id: 1, - title: "Premium Materials", description: "We use only the finest fabrics and materials sourced from premium suppliers worldwide. Every garment is crafted for durability and comfort.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-training-outside_23-2148799688.jpg?_wi=2" + title: "Premium Materials", description: "We use only the finest fabrics and materials sourced from premium suppliers worldwide. Every garment is crafted for durability and comfort.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-training-outside_23-2148799688.jpg" }, { id: 2, - title: "Expert Design", description: "Our design team brings years of experience creating performance wear that looks as good as it performs. Modern aesthetics meet functional engineering.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-stretching_23-2149235422.jpg?_wi=2" + title: "Expert Design", description: "Our design team brings years of experience creating performance wear that looks as good as it performs. Modern aesthetics meet functional engineering.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-stretching_23-2149235422.jpg" }, { id: 3, - title: "Sustainable Practices", description: "We're committed to environmental responsibility. Our manufacturing process minimizes waste and uses eco-friendly materials whenever possible.", imageSrc: "http://img.b2bpic.net/free-photo/still-life-composition-sport-elements_23-2149006302.jpg?_wi=2" + title: "Sustainable Practices", description: "We're committed to environmental responsibility. Our manufacturing process minimizes waste and uses eco-friendly materials whenever possible.", imageSrc: "http://img.b2bpic.net/free-photo/still-life-composition-sport-elements_23-2149006302.jpg" } ]} animationType="blur-reveal" @@ -219,8 +219,6 @@ export default function LandingPage() { { value: "4.9★", label: "Average Rating" } ]} animationType="slide-up" - title="What Our Customers Say" - description="Join thousands of satisfied athletes and fitness enthusiasts who trust Aure Gear for their performance wear needs." textboxLayout="default" useInvertedBackground={false} buttons={[{ text: "Read More Reviews", href: "#" }]} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..d7553d0 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"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; className?: string; + fontSize?: number; + fontFamily?: string; + fill?: string; + dominantBaseline?: 'auto' | 'hanging' | 'middle' | 'central' | 'text-after-edge' | 'ideographic' | 'mathematical'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className, + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fill = 'currentColor', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file