Compare commits
4 Commits
version_10
...
version_11
| Author | SHA1 | Date | |
|---|---|---|---|
| 46445016b2 | |||
| 7382a4ec7a | |||
| 135646dc81 | |||
| 14f3c37815 |
@@ -1,17 +1,14 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Geist, Geist_Mono } from "next/font/google";
|
import { DM_Sans } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./styles/variables.css";
|
||||||
|
import "./styles/base.css";
|
||||||
|
|
||||||
const geist = Geist({
|
const dmSans = DM_Sans({
|
||||||
variable: "--font-geist-sans", subsets: ["latin"],
|
variable: "--font-dm-sans", subsets: ["latin"],
|
||||||
});
|
|
||||||
|
|
||||||
const geistMono = Geist_Mono({
|
|
||||||
variable: "--font-geist-mono", subsets: ["latin"],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "EXPERT DENTAL CARE", description: "Expert Dental Care provides comprehensive dental treatments with experienced dentists and advanced technology."};
|
title: "EXPERT DENTAL CARE - Comprehensive Dental Services", description: "Welcome to EXPERT DENTAL CARE. We provide comprehensive dental treatments including teeth cleaning, dental implants, teeth whitening, and more. 20+ years of experience serving happy patients."};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
@@ -19,9 +16,23 @@ export default function RootLayout({
|
|||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en" suppressHydrationWarning>
|
||||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
<body className={`${dmSans.variable}`}>
|
||||||
{children}
|
<div id="root">
|
||||||
|
<script
|
||||||
|
dangerouslySetInnerHTML={{
|
||||||
|
__html: `
|
||||||
|
const theme = localStorage.getItem('theme') || 'system';
|
||||||
|
if (theme === 'dark' || (theme === 'system' && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
||||||
|
document.documentElement.classList.add('dark');
|
||||||
|
} else {
|
||||||
|
document.documentElement.classList.remove('dark');
|
||||||
|
}
|
||||||
|
`,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
{children}
|
||||||
|
</div>
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
@@ -1392,4 +1403,4 @@ export default function RootLayout({
|
|||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -12,7 +12,6 @@ import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCar
|
|||||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||||
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
||||||
import FaqDouble from '@/components/sections/faq/FaqDouble';
|
import FaqDouble from '@/components/sections/faq/FaqDouble';
|
||||||
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
|
||||||
import { Shield, Zap, Heart, DollarSign } from 'lucide-react';
|
import { Shield, Zap, Heart, DollarSign } from 'lucide-react';
|
||||||
|
|
||||||
const handleAppointmentClick = () => {
|
const handleAppointmentClick = () => {
|
||||||
@@ -233,24 +232,6 @@ export default function LandingPage() {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="socialproof" data-section="socialproof">
|
|
||||||
<SocialProofOne
|
|
||||||
title="Trusted by Industry Leaders"
|
|
||||||
description="Join thousands of patients who have experienced our exceptional dental care"
|
|
||||||
tag="Partners"
|
|
||||||
textboxLayout="default"
|
|
||||||
useInvertedBackground={false}
|
|
||||||
names={[
|
|
||||||
"American Dental Association", "International Implant Association", "Cosmetic Dentistry Academy", "Orthodontic Society", "Dental Excellence Network", "Patient Care Foundation"
|
|
||||||
]}
|
|
||||||
logos={[
|
|
||||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQFSYOeBWG7LyEYTdDfN4zPwli/uploaded-1772923976239-t0hjwr9a.png"
|
|
||||||
]}
|
|
||||||
speed={40}
|
|
||||||
showCard={true}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="testimonials" data-section="testimonials">
|
<div id="testimonials" data-section="testimonials">
|
||||||
<TestimonialCardSix
|
<TestimonialCardSix
|
||||||
title="What Our Patients Say"
|
title="What Our Patients Say"
|
||||||
|
|||||||
Reference in New Issue
Block a user