diff --git a/src/app/page.tsx b/src/app/page.tsx index 9adbb81..3329cfa 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -47,8 +47,8 @@ export default function LandingPage() { description="Premium haircuts and barber services in Miami Gardens. Experience quality grooming with friendly staff and a relaxing atmosphere. Perfect for the whole family." tag="4.4★ Rated - 102 Reviews" tagIcon={Star} - background={{ variant: "circleGradient" }} - imageSrc="http://img.b2bpic.net/free-photo/full-shot-hairstilyst-giving-haircut_23-2148506293.jpg?_wi=1" + background={{ variant: "sparkles-gradient" }} + imageSrc="http://img.b2bpic.net/free-photo/full-shot-hairstilyst-giving-haircut_23-2148506293.jpg" imageAlt="Modern professional salon interior" buttons={[ { text: "Book Your Appointment", href: "contact" }, @@ -93,10 +93,11 @@ export default function LandingPage() { { value: "102+", title: "Happy Customers" }, { value: "4.4★", title: "Average Rating" } ]} - imageSrc="http://img.b2bpic.net/free-photo/professional-woman-making-up-girl_23-2148210709.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/professional-woman-making-up-girl_23-2148210709.jpg" imageAlt="Dapper Cut salon interior" useInvertedBackground={true} mediaAnimation="slide-up" + metricsAnimation="slide-up" /> @@ -141,9 +142,7 @@ export default function LandingPage() { description="Trusted and reviewed by customers on leading platforms" tag="Our Presence" tagIcon={Globe} - logos={[ - "http://img.b2bpic.net/free-vector/social-media-logos-collection-watercolor-style_23-2147818873.jpg", "http://img.b2bpic.net/free-vector/star-with-check-mark-set_78370-4452.jpg", "http://img.b2bpic.net/free-vector/social-media-logos-collection-flat-style_23-2147818913.jpg", "http://img.b2bpic.net/free-vector/social-media-logo-collection_23-2148125840.jpg", "http://img.b2bpic.net/free-vector/walk-fame-star-background_23-2147733524.jpg", "http://img.b2bpic.net/free-photo/paper-reminder-with-word-school-black-background_169016-40896.jpg", "http://img.b2bpic.net/free-vector/background-world-habitat-day-with-abstract-shapes_23-2147568685.jpg" - ]} + names={["Google", "Yelp", "Facebook", "Instagram", "Trustpilot", "Thumbtack", "Waze"]} textboxLayout="default" useInvertedBackground={false} speed={40} @@ -165,7 +164,7 @@ export default function LandingPage() { { id: "5", title: "What payment methods do you accept?", content: "We accept all major credit cards, cash, and digital payment methods for your convenience. Ask about any specials or discounts available." }, { id: "6", title: "Is parking available?", content: "Yes! We're located in Stadium Corners at 19666 NW 27th Ave with convenient parking for our customers. Clean restroom facilities are also available." } ]} - imageSrc="http://img.b2bpic.net/free-photo/full-shot-hairstilyst-giving-haircut_23-2148506293.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/full-shot-hairstilyst-giving-haircut_23-2148506293.jpg" imageAlt="Dapper Cut salon interior" mediaAnimation="slide-up" textboxLayout="default" @@ -181,9 +180,9 @@ export default function LandingPage() { tagIcon={Calendar} title="Ready to Look Your Best?" description="Schedule your appointment today and experience the Dapper Cut difference. Our team is ready to give you the exceptional service you deserve." - background={{ variant: "circleGradient" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/professional-woman-making-up-girl_23-2148210709.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/professional-woman-making-up-girl_23-2148210709.jpg" imageAlt="Professional salon ambiance" mediaAnimation="slide-up" mediaPosition="right" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..9b03ea3 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,44 @@ -"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?: number | string; + fill?: 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', + fill = 'currentColor', +}) => { + const svgWidth = text.length * fontSize * 0.6; + const svgHeight = fontSize * 1.4; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;