diff --git a/src/app/page.tsx b/src/app/page.tsx index a2988c6..482127b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="mediumLarge" sizing="largeSmall" - background="noise" + background="circleGradient" cardStyle="solid" primaryButtonStyle="gradient" secondaryButtonStyle="solid" @@ -43,7 +43,7 @@ export default function LandingPage() { tag="Professional Barber Shop" tagIcon={Sparkles} tagAnimation="slide-up" - background={{ variant: "noise" }} + background={{ variant: "plain" }} mediaItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/hairstylist-looking-client-mirror_23-2148242870.jpg", imageAlt: "professional barber haircut precision" @@ -171,7 +171,7 @@ export default function LandingPage() { tagIcon={Phone} title="Ready for Your Next Haircut?" description="Contact us today to schedule your appointment. Visit us at Via Libia, 21, Bologna, or call to book your preferred time slot." - background={{ variant: "noise" }} + background={{ variant: "plain" }} useInvertedBackground={false} imageSrc="http://img.b2bpic.net/free-photo/front-view-woman-talking-phone-holding-tablet_23-2148567177.jpg" imageAlt="barber shop contact information display" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3abb943 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,47 @@ -"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 | number; + letterSpacing?: string | number; } -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 = 48, + fontWeight = 700, + letterSpacing = 0, +}) => { + const svgWidth = text.length * (fontSize * 0.6); + const svgHeight = fontSize * 1.5; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;