diff --git a/src/app/page.tsx b/src/app/page.tsx index d5068f8..290bef0 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="compact" sizing="mediumLargeSizeMediumTitles" - background="blurBottom" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="gradient" secondaryButtonStyle="layered" @@ -45,7 +45,7 @@ export default function LandingPage() { tag="Dental Excellence" tagIcon={Smile} tagAnimation="slide-up" - background={{ variant: "blurBottom" }} + background={{ variant: "sparkles-gradient" }} buttons={[ { text: "Schedule Appointment", href: "contact" }, { text: "Learn More", href: "about" } @@ -56,16 +56,16 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/side-view-chairs-airport_23-2148255982.jpg", imageAlt: "Bright dental office with modern aesthetic" }, { - imageSrc: "http://img.b2bpic.net/free-photo/defocused-dentist-with-dentistry-instruments_23-2148338155.jpg?_wi=1", imageAlt: "Professional dental cleaning procedure" + imageSrc: "http://img.b2bpic.net/free-photo/defocused-dentist-with-dentistry-instruments_23-2148338155.jpg", imageAlt: "Professional dental cleaning procedure" }, { - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-29141.jpg?_wi=1", imageAlt: "Teeth whitening treatment" + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-29141.jpg", imageAlt: "Teeth whitening treatment" }, { - imageSrc: "http://img.b2bpic.net/free-photo/young-caucasian-man-dentist-smiling-confident-holding-whitening-test-clinic_839833-5216.jpg?_wi=1", imageAlt: "Modern dental implant technology" + imageSrc: "http://img.b2bpic.net/free-photo/young-caucasian-man-dentist-smiling-confident-holding-whitening-test-clinic_839833-5216.jpg", imageAlt: "Modern dental implant technology" }, { - imageSrc: "http://img.b2bpic.net/free-photo/happy-young-female-dentist_23-2148396137.jpg?_wi=1", imageAlt: "Professional orthodontic care" + imageSrc: "http://img.b2bpic.net/free-photo/happy-young-female-dentist_23-2148396137.jpg", imageAlt: "Professional orthodontic care" } ]} /> @@ -94,19 +94,19 @@ export default function LandingPage() { tagAnimation="slide-up" features={[ { - title: "Professional Cleaning", description: "Regular cleanings to maintain optimal oral health and prevent decay", imageSrc: "http://img.b2bpic.net/free-photo/defocused-dentist-with-dentistry-instruments_23-2148338155.jpg?_wi=2", imageAlt: "Professional teeth cleaning", buttonIcon: ArrowRight, + title: "Professional Cleaning", description: "Regular cleanings to maintain optimal oral health and prevent decay", imageSrc: "http://img.b2bpic.net/free-photo/defocused-dentist-with-dentistry-instruments_23-2148338155.jpg", imageAlt: "Professional teeth cleaning", buttonIcon: ArrowRight, buttonHref: "contact" }, { - title: "Teeth Whitening", description: "Advanced whitening treatments for a brighter, more confident smile", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-29141.jpg?_wi=2", imageAlt: "Teeth whitening treatment", buttonIcon: ArrowRight, + title: "Teeth Whitening", description: "Advanced whitening treatments for a brighter, more confident smile", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-29141.jpg", imageAlt: "Teeth whitening treatment", buttonIcon: ArrowRight, buttonHref: "contact" }, { - title: "Dental Implants", description: "Modern implant solutions to restore missing teeth with natural-looking results", imageSrc: "http://img.b2bpic.net/free-photo/young-caucasian-man-dentist-smiling-confident-holding-whitening-test-clinic_839833-5216.jpg?_wi=2", imageAlt: "Dental implant procedure", buttonIcon: ArrowRight, + title: "Dental Implants", description: "Modern implant solutions to restore missing teeth with natural-looking results", imageSrc: "http://img.b2bpic.net/free-photo/young-caucasian-man-dentist-smiling-confident-holding-whitening-test-clinic_839833-5216.jpg", imageAlt: "Dental implant procedure", buttonIcon: ArrowRight, buttonHref: "contact" }, { - title: "Orthodontics", description: "Professional teeth alignment services for a straighter, healthier smile", imageSrc: "http://img.b2bpic.net/free-photo/happy-young-female-dentist_23-2148396137.jpg?_wi=2", imageAlt: "Orthodontic care", buttonIcon: ArrowRight, + title: "Orthodontics", description: "Professional teeth alignment services for a straighter, healthier smile", imageSrc: "http://img.b2bpic.net/free-photo/happy-young-female-dentist_23-2148396137.jpg", imageAlt: "Orthodontic care", buttonIcon: ArrowRight, buttonHref: "contact" } ]} @@ -190,7 +190,7 @@ export default function LandingPage() { { text: "Book Now", href: "contact" }, { text: "Call Us", href: "tel:+1-555-123-4567" } ]} - background={{ variant: "blurBottom" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={true} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f2d680d 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; + fontWeight?: string | number; + letterSpacing?: number; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'middle' | 'hanging'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 48, + fontWeight = 'bold', + letterSpacing = 0, + textAnchor = 'middle', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +};