From ee5fc699883c97786d22f7fd00d41545a2ff3338 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 07:53:40 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b18eea4..d8c1f14 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven'; import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo'; import ContactSplit from '@/components/sections/contact/ContactSplit'; import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; -import { CheckCircle, Cpu, ShoppingCart, Snowflake, Star, Tool, Wrench, Phone } from "lucide-react"; +import { CheckCircle, Cpu, ShoppingCart, Snowflake, Star, Wrench, Phone } from "lucide-react"; export default function LandingPage() { return ( @@ -47,12 +47,12 @@ export default function LandingPage() { background={{ variant: "plain" }} tag="Alle Marken" tagIcon={Wrench} - tagAnimation="entrance-slide" + tagAnimation="slide-up" buttons={[ { text: "☎ Jetzt anrufen", href: "tel:+41..." }, { text: "📅 Termin anfragen", href: "#contact" } ]} - buttonAnimation="entrance-slide" + buttonAnimation="slide-up" imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=g3n7e8" imageAlt="Moderne Autowerkstatt in Burgdorf" mediaAnimation="slide-up" @@ -67,7 +67,7 @@ export default function LandingPage() { description="Professionelle Servicearbeiten für alle Fahrzeugtypen und Marken. Von Routine-Wartung bis zu komplexen Reparaturen – wir sind Ihre Experten." features={[ { icon: Wrench, title: "Service & Wartung", description: "Regelmäßiger Service und Wartung für alle Fahrzeugmarken nach Herstellervorgaben." }, - { icon: Tool, title: "Reparaturen", description: "Schnelle und professionelle Reparaturen aller Art – viele Arbeiten noch am selben Tag." }, + { icon: Wrench, title: "Reparaturen", description: "Schnelle und professionelle Reparaturen aller Art – viele Arbeiten noch am selben Tag." }, { icon: Cpu, title: "Diagnose & Elektronik", description: "Moderne Diagnosegeräte für präzise Fehleranalyse und Fehlersuche im Fahrzeugsystem." }, { icon: Snowflake, title: "Klimaservice", description: "Professionelle Kontrolle und Wartung Ihrer Klimaanlage für höchsten Komfort." }, { icon: ShoppingCart, title: "Fahrzeugankauf", description: "Wir kaufen und verkaufen hochwertige Fahrzeuge zu fairen Preisen." }, @@ -89,7 +89,7 @@ export default function LandingPage() { buttons={[ { text: "Mehr erfahren", href: "#contact" } ]} - buttonAnimation="entrance-slide" + buttonAnimation="slide-up" /> @@ -142,7 +142,7 @@ export default function LandingPage() { title="Termin anfragen & Kontakt" description="Buchen Sie einen Termin online oder rufen Sie uns direkt an. Wir kümmern uns schnell um Ihr Fahrzeug!" tagIcon={Phone} - tagAnimation="entrance-slide" + tagAnimation="slide-up" background={{ variant: "plain" }} useInvertedBackground={false} imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=55c48i" -- 2.49.1 From 210c3c2bd443258f5dc7b1659254aba9b0a64421 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 07:53:40 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 53 ++++++------------- 1 file changed, 16 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..386f41c 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; } -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 = '' }) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1