From 1974f4a1860b0c4cb513d3a1c110f7f398952cbb Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 08:48:45 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index ec4b55b..fcb0e6a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -56,12 +56,12 @@ export default function LandingPage() { ]} buttonAnimation="slide-up" carouselItems={[ - { id: "carousel-1", imageSrc: "http://img.b2bpic.net/free-photo/woman-working-with-ladder_23-2148903446.jpg?_wi=1", imageAlt: "modern interior painting living room" }, - { id: "carousel-2", imageSrc: "http://img.b2bpic.net/free-photo/buildings-around_1127-2870.jpg?_wi=1", imageAlt: "house facade exterior painting renovation" }, - { id: "carousel-3", imageSrc: "http://img.b2bpic.net/free-photo/closeup-process-making-handmade-gingerbread_169016-19964.jpg?_wi=1", imageAlt: "home renovation before after transformation" }, - { id: "carousel-4", imageSrc: "http://img.b2bpic.net/free-photo/couple-painting-walls-their-new-home-together_23-2149086832.jpg?_wi=1", imageAlt: "modern apartment interior after painting" }, - { id: "carousel-5", imageSrc: "http://img.b2bpic.net/free-photo/outdoor-wall-blue-sky_23-2148742517.jpg?_wi=1", imageAlt: "house facade exterior professional painting" }, - { id: "carousel-6", imageSrc: "http://img.b2bpic.net/free-photo/closeup-worker-spraying-timber-with-spray-gun-woodworking-factory_637285-12067.jpg?_wi=1", imageAlt: "office space professional interior painting" } + { id: "carousel-1", imageSrc: "http://img.b2bpic.net/free-photo/woman-working-with-ladder_23-2148903446.jpg", imageAlt: "modern interior painting living room" }, + { id: "carousel-2", imageSrc: "http://img.b2bpic.net/free-photo/buildings-around_1127-2870.jpg", imageAlt: "house facade exterior painting renovation" }, + { id: "carousel-3", imageSrc: "http://img.b2bpic.net/free-photo/closeup-process-making-handmade-gingerbread_169016-19964.jpg", imageAlt: "home renovation before after transformation" }, + { id: "carousel-4", imageSrc: "http://img.b2bpic.net/free-photo/couple-painting-walls-their-new-home-together_23-2149086832.jpg", imageAlt: "modern apartment interior after painting" }, + { id: "carousel-5", imageSrc: "http://img.b2bpic.net/free-photo/outdoor-wall-blue-sky_23-2148742517.jpg", imageAlt: "house facade exterior professional painting" }, + { id: "carousel-6", imageSrc: "http://img.b2bpic.net/free-photo/closeup-worker-spraying-timber-with-spray-gun-woodworking-factory_637285-12067.jpg", imageAlt: "office space professional interior painting" } ]} autoPlay={true} autoPlayInterval={4000} @@ -79,13 +79,13 @@ export default function LandingPage() { textboxLayout="default" features={[ { - title: "Fassadenanstriche", description: "Hochwertige Fassadenanstriche mit langlebigen Farben und professioneller Vorbereitung.", imageSrc: "http://img.b2bpic.net/free-photo/buildings-around_1127-2870.jpg?_wi=2", imageAlt: "Fassadenanstrich eines modernen Hauses" + title: "Fassadenanstriche", description: "Hochwertige Fassadenanstriche mit langlebigen Farben und professioneller Vorbereitung.", imageSrc: "http://img.b2bpic.net/free-photo/buildings-around_1127-2870.jpg", imageAlt: "Fassadenanstrich eines modernen Hauses" }, { - title: "Innenanstriche", description: "Saubere und präzise Innenanstriche für Wohnräume, Büros und Gewerbeflächen.", imageSrc: "http://img.b2bpic.net/free-photo/woman-working-with-ladder_23-2148903446.jpg?_wi=2", imageAlt: "Professioneller Innenanstrich mit modernen Farben" + title: "Innenanstriche", description: "Saubere und präzise Innenanstriche für Wohnräume, Büros und Gewerbeflächen.", imageSrc: "http://img.b2bpic.net/free-photo/woman-working-with-ladder_23-2148903446.jpg", imageAlt: "Professioneller Innenanstrich mit modernen Farben" }, { - title: "Renovierungen", description: "Komplette Renovierungsarbeiten von der Planung bis zur Fertigstellung.", imageSrc: "http://img.b2bpic.net/free-photo/closeup-process-making-handmade-gingerbread_169016-19964.jpg?_wi=2", imageAlt: "Renovierungsprojekt mit professioneller Umsetzung" + title: "Renovierungen", description: "Komplette Renovierungsarbeiten von der Planung bis zur Fertigstellung.", imageSrc: "http://img.b2bpic.net/free-photo/closeup-process-making-handmade-gingerbread_169016-19964.jpg", imageAlt: "Renovierungsprojekt mit professioneller Umsetzung" }, { title: "Tapezierarbeiten", description: "Fachgerechte Tapezierarbeiten mit hoher Qualität und Sorgfalt.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-female-hand-applying-white-paint-wooden-stand_651396-2912.jpg", imageAlt: "Professionelle Tapezierarbeiten im modernen Design" @@ -116,6 +116,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/young-couple-construction-worker-uniform-cap-holding-paint-roller-surprised-guy-standing-with-closed-posture-excited-girl-making-bunny-ears-guys-head_141793-78856.jpg" imageAlt="Professionelles Malerteam von Maler Wulff" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={true} /> @@ -168,16 +169,13 @@ export default function LandingPage() { useInvertedBackground={true} products={[ { - id: "ref-1", brand: "Wohnbereich", name: "Moderne Innenanstriche", price: "€4.500", rating: 5, - reviewCount: "12 Bewertungen", imageSrc: "http://img.b2bpic.net/free-photo/couple-painting-walls-their-new-home-together_23-2149086832.jpg?_wi=2", imageAlt: "Modernes Apartment mit professionellem Innenanstrich" + id: "ref-1", brand: "Wohnbereich", name: "Moderne Innenanstriche", price: "€4.500", rating: 5, reviewCount: "12 Bewertungen", imageSrc: "http://img.b2bpic.net/free-photo/couple-painting-walls-their-new-home-together_23-2149086832.jpg", imageAlt: "Modernes Apartment mit professionellem Innenanstrich" }, { - id: "ref-2", brand: "Außenbereich", name: "Fassadenrenovierung", price: "€8.200", rating: 5, - reviewCount: "15 Bewertungen", imageSrc: "http://img.b2bpic.net/free-photo/outdoor-wall-blue-sky_23-2148742517.jpg?_wi=2", imageAlt: "Professionelle Fassadenrenovierung mit modernen Farben" + id: "ref-2", brand: "Außenbereich", name: "Fassadenrenovierung", price: "€8.200", rating: 5, reviewCount: "15 Bewertungen", imageSrc: "http://img.b2bpic.net/free-photo/outdoor-wall-blue-sky_23-2148742517.jpg", imageAlt: "Professionelle Fassadenrenovierung mit modernen Farben" }, { - id: "ref-3", brand: "Gewerbe", name: "Büroraumgestaltung", price: "€3.800", rating: 5, - reviewCount: "10 Bewertungen", imageSrc: "http://img.b2bpic.net/free-photo/closeup-worker-spraying-timber-with-spray-gun-woodworking-factory_637285-12067.jpg?_wi=2", imageAlt: "Modernes Bürogebäude mit professionellem Anstrich" + id: "ref-3", brand: "Gewerbe", name: "Büroraumgestaltung", price: "€3.800", rating: 5, reviewCount: "10 Bewertungen", imageSrc: "http://img.b2bpic.net/free-photo/closeup-worker-spraying-timber-with-spray-gun-woodworking-factory_637285-12067.jpg", imageAlt: "Modernes Bürogebäude mit professionellem Anstrich" } ]} ariaLabel="Referenzprojekte und Portfolio" -- 2.49.1 From cc70235d485af760128c2e04c09e59e37f05561e Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 08:48:46 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 56 +++++++------------ 1 file changed, 20 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..37d4f5f 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,35 @@ -"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; + dominantBaseline?: 'auto' | 'text-top' | 'hanging' | 'middle' | 'central' | 'text-bottom' | 'ideographic' | 'mathematical' | 'inherit'; } -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 = '', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1