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" }, 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