diff --git a/src/app/page.tsx b/src/app/page.tsx index ebec6eb..98d364b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -54,18 +54,19 @@ export default function LandingPage() { { text: "Learn More", href: "services" } ]} buttonAnimation="slide-up" + background={{ variant: "plain" }} testimonials={[ { name: "Marcus Johnson", handle: "Regular Customer", testimonial: "Best barbershop in town. Always gets my fade just right. Highly recommend str8lines!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-man-posing_23-2150171293.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-man-posing_23-2150171293.jpg" }, { name: "David Chen", handle: "Business Professional", testimonial: "Professional service, clean environment, and friendly staff. Worth every penny.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-businessman-wearing-glasses_329181-677.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-businessman-wearing-glasses_329181-677.jpg" }, { name: "James Williams", handle: "Satisfied Client", testimonial: "The straight razor shave experience is incredible. These guys know what they're doing.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/confident-african-american-businessman-black-classic-jacket-isolated-dark-background_613910-17869.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/confident-african-american-businessman-black-classic-jacket-isolated-dark-background_613910-17869.jpg" } ]} testimonialRotationInterval={5000} @@ -125,13 +126,13 @@ export default function LandingPage() { useInvertedBackground={true} testimonials={[ { - id: "1", title: "Outstanding Craftsmanship", quote: "I've been coming to str8lines for two years now. The attention to detail is unmatched. Every visit feels like a premium experience.", name: "Marcus Johnson", role: "Regular Customer", imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-man-posing_23-2150171293.jpg?_wi=2", imageAlt: "Marcus Johnson" + id: "1", title: "Outstanding Craftsmanship", quote: "I've been coming to str8lines for two years now. The attention to detail is unmatched. Every visit feels like a premium experience.", name: "Marcus Johnson", role: "Regular Customer", imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-man-posing_23-2150171293.jpg", imageAlt: "Marcus Johnson" }, { - id: "2", title: "Professional & Welcoming", quote: "The barbers here are true professionals. They take time to understand what you want and execute perfectly. Highly recommended!", name: "David Chen", role: "Business Professional", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-businessman-wearing-glasses_329181-677.jpg?_wi=2", imageAlt: "David Chen" + id: "2", title: "Professional & Welcoming", quote: "The barbers here are true professionals. They take time to understand what you want and execute perfectly. Highly recommended!", name: "David Chen", role: "Business Professional", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-businessman-wearing-glasses_329181-677.jpg", imageAlt: "David Chen" }, { - id: "3", title: "Exceptional Straight Shave", quote: "First time getting a straight razor shave here and it was incredible. The barber's skill was evident. Will definitely be back.", name: "James Williams", role: "Satisfied Client", imageSrc: "http://img.b2bpic.net/free-photo/confident-african-american-businessman-black-classic-jacket-isolated-dark-background_613910-17869.jpg?_wi=2", imageAlt: "James Williams" + id: "3", title: "Exceptional Straight Shave", quote: "First time getting a straight razor shave here and it was incredible. The barber's skill was evident. Will definitely be back.", name: "James Williams", role: "Satisfied Client", imageSrc: "http://img.b2bpic.net/free-photo/confident-african-american-businessman-black-classic-jacket-isolated-dark-background_613910-17869.jpg", imageAlt: "James Williams" }, { id: "4", title: "Best Barbershop Experience", quote: "Clean environment, friendly staff, and exceptional results every single time. str8lines is worth the visit.", name: "Anthony Martinez", role: "Loyal Customer", imageSrc: "http://img.b2bpic.net/free-photo/male-executive-with-glasses_1098-760.jpg", imageAlt: "Anthony Martinez" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..deab969 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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; + letterSpacing?: 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 = 24, + fontWeight = 700, + letterSpacing = 0, +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file