diff --git a/src/app/page.tsx b/src/app/page.tsx index 83f3500..8a707e1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="smallMedium" sizing="mediumLargeSizeMediumTitles" - background="aurora" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="primary-glow" secondaryButtonStyle="solid" @@ -45,7 +45,7 @@ export default function LandingPage() { @@ -152,10 +152,10 @@ export default function LandingPage() { speed={40} testimonials={[ { - id: "1", name: "Sarah Johnson", handle: "@sarahjsmiles", testimonial: "The entire experience exceeded my expectations. Dr. Smith transformed my smile beautifully and professionally. I've never felt more confident!", imageSrc: "http://img.b2bpic.net/free-photo/doctor-preparing-consult_23-2149309927.jpg?_wi=1", imageAlt: "Sarah Johnson" + id: "1", name: "Sarah Johnson", handle: "@sarahjsmiles", testimonial: "The entire experience exceeded my expectations. Dr. Smith transformed my smile beautifully and professionally. I've never felt more confident!", imageSrc: "http://img.b2bpic.net/free-photo/doctor-preparing-consult_23-2149309927.jpg", imageAlt: "Sarah Johnson" }, { - id: "2", name: "Michael Chen", handle: "@michaelbeaming", testimonial: "Outstanding service and attention to detail. The implant procedure was seamless, and the results are absolutely stunning. Highly recommend!", imageSrc: "http://img.b2bpic.net/free-photo/front-view-lawyer-portrait_23-2151202435.jpg?_wi=1", imageAlt: "Michael Chen" + id: "2", name: "Michael Chen", handle: "@michaelbeaming", testimonial: "Outstanding service and attention to detail. The implant procedure was seamless, and the results are absolutely stunning. Highly recommend!", imageSrc: "http://img.b2bpic.net/free-photo/front-view-lawyer-portrait_23-2151202435.jpg", imageAlt: "Michael Chen" }, { id: "3", name: "Emily Rodriguez", handle: "@emilyradiant", testimonial: "I was nervous about dental work, but the entire team made me feel comfortable and cared for. My new smile has changed my life!", imageSrc: "http://img.b2bpic.net/free-photo/expressive-middle-aged-woman-posing_344912-2728.jpg", imageAlt: "Emily Rodriguez" @@ -164,10 +164,10 @@ export default function LandingPage() { id: "4", name: "David Williams", handle: "@davidconfident", testimonial: "The clear aligners treatment was perfect for my lifestyle. Invisible, effective, and surprisingly affordable. Best decision ever!", imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-man-with-backpack_23-2149915917.jpg", imageAlt: "David Williams" }, { - id: "5", name: "Lisa Thompson", handle: "@lisabright", testimonial: "Luxe Dental delivers on every promise. Premium experience, exceptional results, and genuine care. They truly transformed my smile.", imageSrc: "http://img.b2bpic.net/free-photo/doctor-preparing-consult_23-2149309927.jpg?_wi=2", imageAlt: "Lisa Thompson" + id: "5", name: "Lisa Thompson", handle: "@lisabright", testimonial: "Luxe Dental delivers on every promise. Premium experience, exceptional results, and genuine care. They truly transformed my smile.", imageSrc: "http://img.b2bpic.net/free-photo/doctor-preparing-consult_23-2149309927.jpg", imageAlt: "Lisa Thompson" }, { - id: "6", name: "James Martinez", handle: "@jamesperfectsmile", testimonial: "Professional, friendly, and results-oriented. Every aspect of my treatment was explained clearly. Worth every penny!", imageSrc: "http://img.b2bpic.net/free-photo/front-view-lawyer-portrait_23-2151202435.jpg?_wi=2", imageAlt: "James Martinez" + id: "6", name: "James Martinez", handle: "@jamesperfectsmile", testimonial: "Professional, friendly, and results-oriented. Every aspect of my treatment was explained clearly. Worth every penny!", imageSrc: "http://img.b2bpic.net/free-photo/front-view-lawyer-portrait_23-2151202435.jpg", imageAlt: "James Martinez" } ]} /> @@ -182,7 +182,7 @@ export default function LandingPage() { tagAnimation="slide-up" background={{ variant: "gradient-bars" }} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/female-dentist-scanning-patient-s-teeth-with-x-ray-machine-modern-dental-clinic_23-2147879124.jpg?_wi=3" + imageSrc="http://img.b2bpic.net/free-photo/female-dentist-scanning-patient-s-teeth-with-x-ray-machine-modern-dental-clinic_23-2147879124.jpg" imageAlt="Dental office consultation room" mediaAnimation="slide-up" mediaPosition="right" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..7abdcbc 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,35 @@ -"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; + textClassName?: 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 = '', + textClassName = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;