Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 16:40:48 +00:00
2 changed files with 30 additions and 46 deletions

View File

@@ -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() {
<HeroSplitKpi
title="Exceptional Dental Care, Delivered with Elegance"
description="Experience world-class cosmetic and restorative dentistry in a serene luxury environment. Our award-winning team combines cutting-edge technology with personalized patient care to transform your smile and confidence."
background={{ variant: "aurora" }}
background={{ variant: "glowing-orb" }}
kpis={[
{ value: "20+", label: "Years of Excellence" },
{ value: "99.2%", label: "Patient Satisfaction" },
@@ -60,7 +60,7 @@ export default function LandingPage() {
{ text: "Learn About Our Services", href: "#features" }
]}
buttonAnimation="slide-up"
imageSrc="http://img.b2bpic.net/free-photo/female-dentist-scanning-patient-s-teeth-with-x-ray-machine-modern-dental-clinic_23-2147879124.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/female-dentist-scanning-patient-s-teeth-with-x-ray-machine-modern-dental-clinic_23-2147879124.jpg"
imageAlt="Luxury dental office interior"
mediaAnimation="slide-up"
imagePosition="right"
@@ -85,7 +85,7 @@ export default function LandingPage() {
},
{
id: "dental-implants", brand: "Restorative Solutions", name: "Dental Implants", price: "Advanced Restoration", rating: 5,
reviewCount: "623", imageSrc: "http://img.b2bpic.net/free-photo/dental-tools-dentist-hand_1157-29157.jpg?_wi=1", imageAlt: "Professional dental implant procedure"
reviewCount: "623", imageSrc: "http://img.b2bpic.net/free-photo/dental-tools-dentist-hand_1157-29157.jpg", imageAlt: "Professional dental implant procedure"
},
{
id: "orthodontics", brand: "Alignment Experts", name: "Clear Aligners", price: "Modern Orthodontics", rating: 5,
@@ -130,10 +130,10 @@ export default function LandingPage() {
title: "Personalized Care Plans", description: "Every patient receives a customized treatment plan designed to address their unique dental goals and concerns.", imageSrc: "http://img.b2bpic.net/free-photo/dentist-doing-check-up-patient_23-2149206210.jpg", imageAlt: "Patient care consultation"
},
{
title: "Comfort-First Experience", description: "Our serene luxury environment, sedation options, and compassionate team ensure every visit is comfortable and stress-free.", imageSrc: "http://img.b2bpic.net/free-photo/female-dentist-scanning-patient-s-teeth-with-x-ray-machine-modern-dental-clinic_23-2147879124.jpg?_wi=2", imageAlt: "Luxury dental office ambiance"
title: "Comfort-First Experience", description: "Our serene luxury environment, sedation options, and compassionate team ensure every visit is comfortable and stress-free.", imageSrc: "http://img.b2bpic.net/free-photo/female-dentist-scanning-patient-s-teeth-with-x-ray-machine-modern-dental-clinic_23-2147879124.jpg", imageAlt: "Luxury dental office ambiance"
},
{
title: "Expert Practitioners", description: "Our dentists are board-certified specialists with decades of combined experience in cosmetic and restorative dentistry.", imageSrc: "http://img.b2bpic.net/free-photo/dental-tools-dentist-hand_1157-29157.jpg?_wi=2", imageAlt: "Expert dental procedure"
title: "Expert Practitioners", description: "Our dentists are board-certified specialists with decades of combined experience in cosmetic and restorative dentistry.", imageSrc: "http://img.b2bpic.net/free-photo/dental-tools-dentist-hand_1157-29157.jpg", imageAlt: "Expert dental procedure"
}
]}
/>
@@ -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"

View File

@@ -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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
textClassName = '',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
viewBox="0 0 200 50"
className={`w-full h-auto ${className}`}
role="img"
aria-label={`${logoText} logo`}
aria-label={text}
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="middle"
className={`text-xl font-bold ${textClassName}`}
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;