Merge version_1 into main #2
@@ -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="Premium Dental Care Excellence"
|
||||
description="Experience world-class cosmetic and restorative dentistry in a luxurious, state-of-the-art facility. Our team of experts delivers exceptional results with uncompromising attention to detail."
|
||||
background={{ variant: "aurora" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
kpis={[
|
||||
{ value: "25+", label: "Years Experience" },
|
||||
{ value: "5,000+", label: "Happy Patients" },
|
||||
@@ -60,7 +60,7 @@ export default function LandingPage() {
|
||||
{ text: "View Services", href: "#product" }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/dentist-utensils-ready-use_23-2149195869.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/dentist-utensils-ready-use_23-2149195869.jpg"
|
||||
imageAlt="Luxury dental practice interior"
|
||||
mediaAnimation="blur-reveal"
|
||||
imagePosition="right"
|
||||
@@ -72,7 +72,7 @@ export default function LandingPage() {
|
||||
products={[
|
||||
{
|
||||
id: "1", brand: "Cosmetic Excellence", name: "Smile Design & Veneers", price: "Premium", rating: 5,
|
||||
reviewCount: "847", imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg?_wi=1", imageAlt: "Cosmetic dental veneers service"
|
||||
reviewCount: "847", imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg", imageAlt: "Cosmetic dental veneers service"
|
||||
},
|
||||
{
|
||||
id: "2", brand: "Advanced Restoration", name: "Dental Implants", price: "Premium", rating: 5,
|
||||
@@ -80,7 +80,7 @@ export default function LandingPage() {
|
||||
},
|
||||
{
|
||||
id: "3", brand: "Preventive Care", name: "Professional Cleaning", price: "Essential", rating: 5,
|
||||
reviewCount: "1.2k", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-28573.jpg?_wi=1", imageAlt: "Professional teeth cleaning service"
|
||||
reviewCount: "1.2k", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-28573.jpg", imageAlt: "Professional teeth cleaning service"
|
||||
},
|
||||
{
|
||||
id: "4", brand: "Alignment Solutions", name: "Invisible Orthodontics", price: "Premium", rating: 5,
|
||||
@@ -121,16 +121,16 @@ export default function LandingPage() {
|
||||
<FeatureCardOne
|
||||
features={[
|
||||
{
|
||||
title: "Latest Technology", description: "Advanced digital imaging, laser treatments, and CAD-CAM milling for precision restorations.", imageSrc: "http://img.b2bpic.net/free-photo/dentist-utensils-ready-use_23-2149195869.jpg?_wi=2", imageAlt: "Latest dental technology"
|
||||
title: "Latest Technology", description: "Advanced digital imaging, laser treatments, and CAD-CAM milling for precision restorations.", imageSrc: "http://img.b2bpic.net/free-photo/dentist-utensils-ready-use_23-2149195869.jpg", imageAlt: "Latest dental technology"
|
||||
},
|
||||
{
|
||||
title: "Expert Team", description: "Board-certified specialists with extensive training in cosmetic and restorative dentistry.", imageSrc: "http://img.b2bpic.net/free-photo/doctor-performing-medical-research-lab_23-2149335689.jpg", imageAlt: "Expert dental team"
|
||||
},
|
||||
{
|
||||
title: "Patient Comfort", description: "Sedation options, privacy-focused treatment rooms, and personalized pain management.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-28573.jpg?_wi=2", imageAlt: "Comfortable patient care"
|
||||
title: "Patient Comfort", description: "Sedation options, privacy-focused treatment rooms, and personalized pain management.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-28573.jpg", imageAlt: "Comfortable patient care"
|
||||
},
|
||||
{
|
||||
title: "Results Driven", description: "Our meticulous approach ensures beautiful, natural-looking results that exceed expectations.", imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg?_wi=2", imageAlt: "Beautiful dental results"
|
||||
title: "Results Driven", description: "Our meticulous approach ensures beautiful, natural-looking results that exceed expectations.", imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg", imageAlt: "Beautiful dental results"
|
||||
}
|
||||
]}
|
||||
title="Why Choose Luminous Dental"
|
||||
@@ -188,7 +188,7 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "radial-gradient" }}
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/dentist-utensils-ready-use_23-2149195869.jpg?_wi=3"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/dentist-utensils-ready-use_23-2149195869.jpg"
|
||||
imageAlt="Dental practice contact"
|
||||
mediaAnimation="blur-reveal"
|
||||
mediaPosition="right"
|
||||
|
||||
@@ -1,51 +1,33 @@
|
||||
"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;
|
||||
}
|
||||
|
||||
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 = "", fontSize = 24,
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
viewBox={`0 0 ${text.length * fontSize} ${fontSize * 1.5}`}
|
||||
className={`w-full h-auto ${className}`}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<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"
|
||||
}}
|
||||
y={fontSize}
|
||||
fontSize={fontSize}
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
dominantBaseline="middle"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user