From e3dc1e2ebafdb34d83b95d10f2d59093efb00410 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 22:25:08 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c45cc74..28cede0 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="small" sizing="mediumSizeLargeTitles" - background="noise" + background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="flat" secondaryButtonStyle="solid" @@ -46,7 +46,7 @@ export default function LandingPage() { tag="Premium Local Barbershop" tagIcon={Sparkles} tagAnimation="slide-up" - background={{ variant: "noise" }} + background={{ variant: "animated-grid" }} buttons={[ { text: "Call Now", href: "tel:+18135551234" }, { text: "Book Appointment", href: "#contact" } @@ -57,16 +57,16 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/male-barber-sitting-his-shop_23-2149186515.jpg", imageAlt: "Professional barbershop interior with barbers at work" }, { - imageSrc: "http://img.b2bpic.net/free-photo/black-man-with-beard-looking-away_23-2148203662.jpg?_wi=1", imageAlt: "Fresh fade haircut by expert barber" + imageSrc: "http://img.b2bpic.net/free-photo/black-man-with-beard-looking-away_23-2148203662.jpg", imageAlt: "Fresh fade haircut by expert barber" }, { - imageSrc: "http://img.b2bpic.net/free-photo/close-up-male-customer-s-beard-barber-shop_23-2147839832.jpg?_wi=1", imageAlt: "Professional beard trim and styling" + imageSrc: "http://img.b2bpic.net/free-photo/close-up-male-customer-s-beard-barber-shop_23-2147839832.jpg", imageAlt: "Professional beard trim and styling" }, { imageSrc: "http://img.b2bpic.net/free-photo/man-hair-salon-facing-camera_23-2148242763.jpg", imageAlt: "Premium barbershop interior design" }, { - imageSrc: "http://img.b2bpic.net/free-photo/front-view-hairstilyst-giving-haircut_23-2148506287.jpg?_wi=1", imageAlt: "Modern fade haircut with clean lines" + imageSrc: "http://img.b2bpic.net/free-photo/front-view-hairstilyst-giving-haircut_23-2148506287.jpg", imageAlt: "Modern fade haircut with clean lines" } ]} mediaAnimation="slide-up" @@ -109,20 +109,16 @@ export default function LandingPage() { tagAnimation="slide-up" features={[ { - id: "haircuts", label: "Cuts", title: "Expert Haircuts & Styles", items: ["Classic cuts", "Modern fades", "Textured styles", "Custom designs"], - buttons: [{ text: "Book Now", href: "#contact" }] + id: "haircuts", label: "Cuts", title: "Expert Haircuts & Styles", items: ["Classic cuts", "Modern fades", "Textured styles", "Custom designs"], buttons: [{ text: "Book Now", href: "#contact" }] }, { - id: "fades", label: "Fades", title: "Precision Fade Specialists", items: ["Skin fades", "Burst fades", "Line ups", "Edge work"], - buttons: [{ text: "Book Now", href: "#contact" }] + id: "fades", label: "Fades", title: "Precision Fade Specialists", items: ["Skin fades", "Burst fades", "Line ups", "Edge work"], buttons: [{ text: "Book Now", href: "#contact" }] }, { - id: "beard", label: "Beard", title: "Beard Trimming & Grooming", items: ["Professional trim", "Shape & styling", "Hot towel finish", "Beard care tips"], - buttons: [{ text: "Book Now", href: "#contact" }] + id: "beard", label: "Beard", title: "Beard Trimming & Grooming", items: ["Professional trim", "Shape & styling", "Hot towel finish", "Beard care tips"], buttons: [{ text: "Book Now", href: "#contact" }] }, { - id: "grooming", label: "Groom", title: "Complete Grooming", items: ["Eyebrow cleanup", "Neck shaping", "Ear trimming", "Facial care"], - buttons: [{ text: "Book Now", href: "#contact" }] + id: "grooming", label: "Groom", title: "Complete Grooming", items: ["Eyebrow cleanup", "Neck shaping", "Ear trimming", "Facial care"], buttons: [{ text: "Book Now", href: "#contact" }] } ]} animationType="opacity" @@ -166,13 +162,13 @@ export default function LandingPage() { tagAnimation="slide-up" products={[ { - id: "1", name: "Fresh Fade", price: "Starting at $25", imageSrc: "http://img.b2bpic.net/free-photo/black-man-with-beard-looking-away_23-2148203662.jpg?_wi=2", imageAlt: "Professional fresh fade haircut" + id: "1", name: "Fresh Fade", price: "Starting at $25", imageSrc: "http://img.b2bpic.net/free-photo/black-man-with-beard-looking-away_23-2148203662.jpg", imageAlt: "Professional fresh fade haircut" }, { - id: "2", name: "Modern Texture", price: "Starting at $30", imageSrc: "http://img.b2bpic.net/free-photo/front-view-hairstilyst-giving-haircut_23-2148506287.jpg?_wi=2", imageAlt: "Modern textured haircut" + id: "2", name: "Modern Texture", price: "Starting at $30", imageSrc: "http://img.b2bpic.net/free-photo/front-view-hairstilyst-giving-haircut_23-2148506287.jpg", imageAlt: "Modern textured haircut" }, { - id: "3", name: "Beard Styling", price: "Starting at $15", imageSrc: "http://img.b2bpic.net/free-photo/close-up-male-customer-s-beard-barber-shop_23-2147839832.jpg?_wi=2", imageAlt: "Professional beard trim and styling" + id: "3", name: "Beard Styling", price: "Starting at $15", imageSrc: "http://img.b2bpic.net/free-photo/close-up-male-customer-s-beard-barber-shop_23-2147839832.jpg", imageAlt: "Professional beard trim and styling" } ]} gridVariant="three-columns-all-equal-width" -- 2.49.1 From 521a2fded0cba8e692f528194d1c6baa619f60c4 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 22:25:08 +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..26b37b5 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; + fontFamily?: 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, + fontFamily = 'Arial, sans-serif' +}) => { + const textWidth = text.length * fontSize * 0.6; + const textHeight = fontSize * 1.2; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1