From 8e803331429f0069b9b4b3e668262013df07137d Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 11:54:21 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9f80a26..564dfc2 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -97,7 +97,7 @@ export default function AudiClubPage() { useInvertedBackground={false} features={[ { - id: "01", title: "Exclusive Access", description: "VIP entry to premium automotive venues, private viewing areas, and exclusive manufacturer events.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/exclusive-vip-access-symbol-luxury-audi--1773229952782-c70d016a.png?_wi=1" + id: "01", title: "Exclusive Access", description: "VIP entry to premium automotive venues, private viewing areas, and exclusive manufacturer events.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/exclusive-vip-access-symbol-luxury-audi--1773229952782-c70d016a.png" }, { id: "02", title: "Track Days", description: "High-performance track experiences at professional racing circuits with professional instructors and safety training.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/high-performance-audi-vehicles-on-a-prof-1773229954905-4695a3f1.png" @@ -106,7 +106,7 @@ export default function AudiClubPage() { id: "03", title: "Networking", description: "Connect with fellow Audi enthusiasts, share experiences, and build lasting relationships in the automotive community.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/audi-club-members-networking-at-an-elega-1773229954751-df0840a0.png" }, { - id: "04", title: "Technical Workshops", description: "Learn advanced maintenance, performance tuning, and technical knowledge from certified Audi specialists.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/exclusive-vip-access-symbol-luxury-audi--1773229952782-c70d016a.png?_wi=2" + id: "04", title: "Technical Workshops", description: "Learn advanced maintenance, performance tuning, and technical knowledge from certified Audi specialists.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/exclusive-vip-access-symbol-luxury-audi--1773229952782-c70d016a.png" } ]} gridVariant="bento-grid" @@ -186,13 +186,13 @@ export default function AudiClubPage() { carouselMode="buttons" products={[ { - id: "1", name: "Audi R8 V10", price: "Performance Icon", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/stunning-collection-of-premium-audi-mode-1773229955427-d4ac8d24.png?_wi=1" + id: "1", name: "Audi R8 V10", price: "Performance Icon", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/stunning-collection-of-premium-audi-mode-1773229955427-d4ac8d24.png" }, { - id: "2", name: "Audi RS6 Avant", price: "Ultimate Power", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/stunning-collection-of-premium-audi-mode-1773229955427-d4ac8d24.png?_wi=2" + id: "2", name: "Audi RS6 Avant", price: "Ultimate Power", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/stunning-collection-of-premium-audi-mode-1773229955427-d4ac8d24.png" }, { - id: "3", name: "Audi A6 Sedan", price: "Luxury Elegance", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/stunning-collection-of-premium-audi-mode-1773229955427-d4ac8d24.png?_wi=3" + id: "3", name: "Audi A6 Sedan", price: "Luxury Elegance", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/stunning-collection-of-premium-audi-mode-1773229955427-d4ac8d24.png" } ]} tagAnimation="slide-up" -- 2.49.1 From 460f14f06389db3030e6ce5015d78a4e7c8b446a Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 11:54:22 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 72 +++++++++---------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..9302813 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,51 @@ -"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; + fontWeight?: number | string; + letterSpacing?: number; + fill?: 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 = ({ + text, + className = '', + fontSize = 48, + fontWeight = 700, + letterSpacing = 2, + fill = 'currentColor', +}) => { + const textLength = text.length; + const charWidth = fontSize * 0.6; + const width = textLength * charWidth + (textLength - 1) * letterSpacing + 40; + const height = fontSize + 20; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1