Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-13 09:08:28 +00:00
2 changed files with 31 additions and 54 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="mediumSmall"
sizing="mediumLarge"
background="aurora"
background="circleGradient"
cardStyle="glass-elevated"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="layered"
@@ -46,7 +46,7 @@ export default function LandingPage() {
<HeroSplitKpi
title="Healthy Smile Starts Here"
description="Trusted dental care from experienced professionals using modern technology in Los Angeles"
background={{ variant: "aurora" }}
background={{ variant: "glowing-orb" }}
kpis={[
{ value: "15+", label: "Years Experience" },
{ value: "5000+", label: "Happy Patients" },
@@ -61,7 +61,7 @@ export default function LandingPage() {
{ text: "Learn More", href: "#services" }
]}
buttonAnimation="slide-up"
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=83aeo1&_wi=1"
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=83aeo1"
imageAlt="San Jose Dental Clinic modern interior"
mediaAnimation="blur-reveal"
imagePosition="right"
@@ -84,29 +84,24 @@ export default function LandingPage() {
buttonAnimation="slide-up"
features={[
{
id: 1,
title: "Professional Teeth Cleaning", description: "Remove plaque and tartar with advanced ultrasonic technology for a brighter, healthier smile", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xgyfnb" },
phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=uco0wl&_wi=1" }
id: "1", title: "Professional Teeth Cleaning", description: "Remove plaque and tartar with advanced ultrasonic technology for a brighter, healthier smile", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xgyfnb" },
phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=uco0wl" }
},
{
id: 2,
title: "Dental Implants", description: "Restore missing teeth with permanent, natural-looking implants using cutting-edge technology", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=8jse12" },
phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rlu6wy&_wi=1" }
id: "2", title: "Dental Implants", description: "Restore missing teeth with permanent, natural-looking implants using cutting-edge technology", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=8jse12" },
phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rlu6wy" }
},
{
id: 3,
title: "Dental Checkup", description: "Regular examinations and preventive care to catch issues early and maintain optimal oral health", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=zkzkoz" },
phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=83aeo1&_wi=2" }
id: "3", title: "Dental Checkup", description: "Regular examinations and preventive care to catch issues early and maintain optimal oral health", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=zkzkoz" },
phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=83aeo1" }
},
{
id: 4,
title: "Tooth Extraction", description: "Safe and comfortable extraction procedures using advanced surgical techniques and anesthesia", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y9fk6k" },
phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rlu6wy&_wi=2" }
id: "4", title: "Tooth Extraction", description: "Safe and comfortable extraction procedures using advanced surgical techniques and anesthesia", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y9fk6k" },
phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rlu6wy" }
},
{
id: 5,
title: "Cosmetic Dentistry", description: "Transform your smile with whitening, veneers, and aesthetic treatments for radiant confidence", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=lc43aj" },
phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=uco0wl&_wi=2" }
id: "5", title: "Cosmetic Dentistry", description: "Transform your smile with whitening, veneers, and aesthetic treatments for radiant confidence", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=lc43aj" },
phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=uco0wl" }
}
]}
showStepNumbers={true}

View File

@@ -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;
textClassName?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
textClassName = '',
}) => {
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 200 50"
className={`w-32 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"
}}
x="50%"
y="50%"
dominantBaseline="middle"
textAnchor="middle"
className={`text-xl font-bold fill-current ${textClassName}`}
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;