Merge version_17 into main #44

Merged
bender merged 2 commits from version_17 into main 2026-03-08 11:47:12 +00:00
2 changed files with 25 additions and 77 deletions

View File

@@ -1,13 +1,17 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./styles/variables.css";
import "./styles/base.css";
import { ThemeProvider as RootThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { ServiceWrapper } from "@/providers/ServiceWrapper";
import { Tag } from "@/components/tag/Tag";
import "./globals.css";
import { DM_Sans } from "next/font/google";
const inter = Inter({ subsets: ["latin"] });
const dmSans = DM_Sans({
variable: "--font-dm-sans", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Expert Dental Care", description: "Professional dental treatments with personalized care from an experienced endodontist."};
title: "Expert Dental Care | Dr. Padmasri Yadla", description:
"Professional dental treatments with personalized care from an experienced endodontist. Over 10 years of expertise in general, restorative, cosmetic, and advanced dental procedures."};
export default function RootLayout({
children,
@@ -16,14 +20,23 @@ export default function RootLayout({
}) {
return (
<html lang="en" suppressHydrationWarning>
<body className={inter.className}>
<body className={`${dmSans.variable} antialiased`}>
<ServiceWrapper>
<Tag />
{children}
</ServiceWrapper>
<script
src="https://cdn.jsdelivr.net/npm/lenis@1.1.13/dist/lenis.min.js"
async
/>
<script>
{`
(function() {
const theme = localStorage.getItem('theme') || 'light';
if (theme === 'dark') {
document.documentElement.classList.add('dark');
} else {
document.documentElement.classList.remove('dark');
}
})();
`}
</script>
<script
dangerouslySetInnerHTML={{
@@ -1394,8 +1407,4 @@ export default function RootLayout({
</body>
</html>
);
}
function ServiceWrapper({ children }: { children: React.ReactNode }) {
return <>{children}</>;
}
}

View File

@@ -3,7 +3,6 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import FeatureCardTwentyFive from '@/components/sections/feature/FeatureCardTwentyFive';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
@@ -46,7 +45,6 @@ export default function LandingPage() {
<NavbarLayoutFloatingInline
brandName="Expert Dental Care"
navItems={[
{ name: "Services", id: "services" },
{ name: "About Dr. Padmasri", id: "about" },
{ name: "Features", id: "features" },
{ name: "Testimonials", id: "testimonials" }
@@ -81,64 +79,6 @@ export default function LandingPage() {
/>
</div>
<div id="services" data-section="services">
<FeatureCardTwentyFive
title="Our Dental Services"
description="Comprehensive dental treatments designed to meet all your oral health needs, from routine care to advanced procedures."
tag="Services"
tagAnimation="slide-up"
textboxLayout="default"
useInvertedBackground={false}
animationType="slide-up"
features={[
{
title: "Dental Fillings & Extraction", description: "Professional general dentistry services", icon: Zap,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/female-patient-having-procedure-done-dentist_23-2148985788.jpg?_wi=1", imageAlt: "Dental fillings treatment"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AdfEv3LMPocLC1ILV5yRR55qgJ/uploaded-1772970171338-k6gyrfnk.jpg", imageAlt: "Dental procedure"
}
]
},
{
title: "Scaling & Polishing", description: "Professional cleaning and preventive care", icon: Heart,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/background-beauty-care-chair-canal_1303-1837.jpg?_wi=1", imageAlt: "Teeth cleaning and polishing"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AdfEv3LMPocLC1ILV5yRR55qgJ/uploaded-1772970237896-0807mt09.jpg", imageAlt: "Polishing procedure"
}
]
},
{
title: "Root Canal Treatment (RCT)", description: "Advanced endodontic specialist services", icon: Shield,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/dentist-showing-x-ray-patient_107420-65382.jpg?_wi=1", imageAlt: "Root canal treatment"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AdfEv3LMPocLC1ILV5yRR55qgJ/uploaded-1772970023773-8hqerlf3.jpg", imageAlt: "Treatment showcase"
}
]
},
{
title: "Ceramic Crowns & Bridges", description: "Premium restoration and cosmetic solutions", icon: Award,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/patient-pointing-teeth-with-dentist_23-2148380326.jpg?_wi=1", imageAlt: "Ceramic crown restoration"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AdfEv3LMPocLC1ILV5yRR55qgJ/uploaded-1772967571338-v5aoe4qr.png?_wi=4", imageAlt: "Crown showcase"
}
]
}
]}
/>
</div>
<div id="about" data-section="about">
<InlineImageSplitTextAbout
heading={[
@@ -311,8 +251,7 @@ export default function LandingPage() {
<ContactSplit
tag="Get In Touch"
title="Book Your Appointment Today"
description="Located in Gajuwaka, Visakhapatnam. Visit us at Sri Surya Complex, Ground Floor 101, beside HDFC Bank. Open Monday to Sunday, 10 AM 9 PM. Contact number
099663 43333 "
description="Located in Gajuwaka, Visakhapatnam. Visit us at Sri Surya Complex, Ground Floor 101, beside HDFC Bank. Open Monday to Sunday, 10 AM 9 PM. Contact number 099663 43333"
tagAnimation="slide-up"
background={{ variant: "sparkles-gradient" }}
useInvertedBackground={false}