From df8a6990d3331153b3a2d4cc465ddec8d56afb70 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 16:50:47 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" -- 2.49.1 From 147641b17bc134414fc176363697ede16065a1e4 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 16:50:48 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 64 +++++++++---------- 1 file changed, 30 insertions(+), 34 deletions(-) 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; -- 2.49.1