diff --git a/src/app/page.tsx b/src/app/page.tsx index e69aea2..d3ffd14 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -49,18 +49,19 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/delivery-van-cruises-highway-sunset-evening-shipping_169016-71122.jpg" imageAlt="Audi RS sports car performance vehicle racing" mediaAnimation="slide-up" + background={{ variant: "glowing-orb" }} testimonials={[ { name: "Marcus Weber", handle: "RS5 Enthusiast", testimonial: "This community transformed my love for Audi RS into lifelong friendships and unforgettable experiences.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/stylish-young-man-coffee-break_23-2148289228.jpg?_wi=1", imageAlt: "Marcus Weber, RS5 owner and club member" + imageSrc: "http://img.b2bpic.net/free-photo/stylish-young-man-coffee-break_23-2148289228.jpg", imageAlt: "Marcus Weber, RS5 owner and club member" }, { name: "Sarah Mitchell", handle: "RS6 Owner", testimonial: "The events and connections through this club have been absolutely incredible. Highly recommended for any RS lover.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/business-woman-posing-street_23-2148213474.jpg?_wi=1", imageAlt: "Sarah Mitchell, RS6 Avant owner" + imageSrc: "http://img.b2bpic.net/free-photo/business-woman-posing-street_23-2148213474.jpg", imageAlt: "Sarah Mitchell, RS6 Avant owner" }, { name: "James Chen", handle: "RS e-tron Pioneer", testimonial: "Being part of this exclusive club has been the best decision. The knowledge and camaraderie are unmatched.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-middle-aged-business-leader_1262-4845.jpg?_wi=1", imageAlt: "James Chen, RS e-tron owner and tech enthusiast" + imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-middle-aged-business-leader_1262-4845.jpg", imageAlt: "James Chen, RS e-tron owner and tech enthusiast" } ]} testimonialRotationInterval={5000} @@ -101,16 +102,13 @@ export default function LandingPage() { gridVariant="three-columns-all-equal-width" products={[ { - id: "rs-e-tron", brand: "Audi RS", name: "RS e-tron GT", price: "Electric Performance", rating: 5, - reviewCount: "2.3k", imageSrc: "http://img.b2bpic.net/free-photo/futuristic-mean-transportation-ultra-modern-city_23-2151065369.jpg", imageAlt: "Audi RS e-tron electric performance car" + id: "rs-e-tron", brand: "Audi RS", name: "RS e-tron GT", price: "Electric Performance", rating: 5, reviewCount: "2.3k", imageSrc: "http://img.b2bpic.net/free-photo/futuristic-mean-transportation-ultra-modern-city_23-2151065369.jpg", imageAlt: "Audi RS e-tron electric performance car" }, { - id: "rs-6", brand: "Audi RS", name: "RS 6 Avant", price: "Wagon Excellence", rating: 5, - reviewCount: "3.8k", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-couple-spend-time-autumn-field_1157-28790.jpg", imageAlt: "Audi RS6 performance wagon luxury" + id: "rs-6", brand: "Audi RS", name: "RS 6 Avant", price: "Wagon Excellence", rating: 5, reviewCount: "3.8k", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-couple-spend-time-autumn-field_1157-28790.jpg", imageAlt: "Audi RS6 performance wagon luxury" }, { - id: "rs-5", brand: "Audi RS", name: "RS 5 Coupe", price: "Coupe Perfection", rating: 5, - reviewCount: "2.9k", imageSrc: "http://img.b2bpic.net/free-vector/abstract-dark-banners-with-orange-shapes_1055-2858.jpg", imageAlt: "Audi RS5 coupe sports car performance" + id: "rs-5", brand: "Audi RS", name: "RS 5 Coupe", price: "Coupe Perfection", rating: 5, reviewCount: "2.9k", imageSrc: "http://img.b2bpic.net/free-vector/abstract-dark-banners-with-orange-shapes_1055-2858.jpg", imageAlt: "Audi RS5 coupe sports car performance" } ]} buttons={[ @@ -163,7 +161,7 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={false} animationType="slide-up" - gridVariant="four-items-2x2-equal-grid" + gridVariant="uniform-all-items-equal" metrics={[ { id: "1", value: "12,500+", description: "Active Club Members" @@ -198,13 +196,13 @@ export default function LandingPage() { carouselMode="buttons" testimonials={[ { - id: "1", name: "Marcus Weber", role: "RS5 Owner", testimonial: "The Audi RS Club gave me more than just car knowledge—it gave me a family. The connections I've made and the experiences we've shared are truly invaluable.", imageSrc: "http://img.b2bpic.net/free-photo/stylish-young-man-coffee-break_23-2148289228.jpg?_wi=2", imageAlt: "Marcus Weber, RS5 owner and club member" + id: "1", name: "Marcus Weber", role: "RS5 Owner", testimonial: "The Audi RS Club gave me more than just car knowledge—it gave me a family. The connections I've made and the experiences we've shared are truly invaluable.", imageSrc: "http://img.b2bpic.net/free-photo/stylish-young-man-coffee-break_23-2148289228.jpg", imageAlt: "Marcus Weber, RS5 owner and club member" }, { - id: "2", name: "Sarah Mitchell", role: "RS6 Avant Owner", testimonial: "From track days to casual meetups, every event is perfectly organized. The club has elevated my ownership experience to something truly special.", imageSrc: "http://img.b2bpic.net/free-photo/business-woman-posing-street_23-2148213474.jpg?_wi=2", imageAlt: "Sarah Mitchell, RS6 Avant owner" + id: "2", name: "Sarah Mitchell", role: "RS6 Avant Owner", testimonial: "From track days to casual meetups, every event is perfectly organized. The club has elevated my ownership experience to something truly special.", imageSrc: "http://img.b2bpic.net/free-photo/business-woman-posing-street_23-2148213474.jpg", imageAlt: "Sarah Mitchell, RS6 Avant owner" }, { - id: "3", name: "James Chen", role: "RS e-tron Pioneer", testimonial: "As an early RS e-tron adopter, this club helped me navigate the transition to electric performance. The community support has been outstanding.", imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-middle-aged-business-leader_1262-4845.jpg?_wi=2", imageAlt: "James Chen, RS e-tron owner and tech enthusiast" + id: "3", name: "James Chen", role: "RS e-tron Pioneer", testimonial: "As an early RS e-tron adopter, this club helped me navigate the transition to electric performance. The community support has been outstanding.", imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-middle-aged-business-leader_1262-4845.jpg", imageAlt: "James Chen, RS e-tron owner and tech enthusiast" }, { id: "4", name: "Elena Rodriguez", role: "RS5 Coupe Enthusiast", testimonial: "The expertise within this community is unmatched. Whether it's performance tuning or driving techniques, there's always someone ready to help and share their passion.", imageSrc: "http://img.b2bpic.net/free-photo/shot-beautiful-young-businesswoman-wearing-blue-chiffon-shirt-while-standing-with-folded-arms-gray-marble-wall_158595-6773.jpg", imageAlt: "Elena Rodriguez, RS5 Coupe owner" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e16385b 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,28 @@ -"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"; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ className }) => { return ( - {logoText} + Text Logo ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;