From ff84e307ef3fc396aa11fb1326af0987b800c982 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 22:07:13 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 44fa647..2d04733 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumSmall" sizing="largeSmallSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="inset" primaryButtonStyle="gradient" secondaryButtonStyle="glass" @@ -51,7 +51,7 @@ export default function LandingPage() { { text: "Vraag advies aan", href: "#contact" } ]} buttonAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "plain" }} carouselItems={[ { id: "carousel-1", imageSrc: "http://img.b2bpic.net/free-photo/people-working-out-gym_53876-13559.jpg", imageAlt: "Dynamic fitness equipment and training gear in action" }, { id: "carousel-2", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-traveler-checking-mobile_23-2148622542.jpg", imageAlt: "Outdoor adventure and trekking equipment showcase" }, -- 2.49.1 From 533463c1b494ae4ec395de8159e388d8f85ef942 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 22:07:13 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 63 ++++++++----------- 1 file changed, 27 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..2a80f3e 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,42 @@ -"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?: 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 = '', + fontSize = 24, + fontWeight = 'bold', +}) => { + const textWidth = text.length * (fontSize * 0.6); + const viewBoxWidth = textWidth + 20; + const viewBoxHeight = fontSize + 20; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1