diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 89646f8..1e7b3e8 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -1,54 +1,20 @@
import type { Metadata } from "next";
-import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
-import { Archivo } from "next/font/google";
import "./globals.css";
-import { ServiceWrapper } from "@/components/ServiceWrapper";
-import Tag from "@/tag/Tag";
-const halant = Halant({
- variable: "--font-halant", subsets: ["latin"],
- weight: ["300", "400", "500", "600", "700"],
-});
-
-const inter = Inter({
- variable: "--font-inter", subsets: ["latin"],
-});
-
-const archivo = Archivo({
- variable: "--font-archivo", subsets: ["latin"],
-});
+const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
- title: "Dental Care Davao | Trusted Dentist in Davao City", description: "Professional dental clinic in Davao City offering painless teeth cleaning, extractions, braces, cosmetic dentistry, and root canal treatment. Schedule your appointment today.", keywords: "dentist davao city, dental clinic davao, teeth cleaning davao, orthodontist davao, cosmetic dentistry davao, root canal davao, dentist near me", robots: {
- index: true,
- follow: true,
- },
- openGraph: {
- title: "Dental Care Davao | Professional Dental Services", description: "Modern, comfortable dental clinic in Davao City. Expert dentist providing painless treatments. Schedule your appointment now.", type: "website", siteName: "Dental Care Davao", images: [
- {
- url: "http://img.b2bpic.net/free-photo/crowded-stomatology-waiting-area-with-people-filling-form-dental-consultation_482257-4858.jpg", alt: "Modern dental clinic in Davao City"},
- ],
- },
- twitter: {
- card: "summary_large_image", title: "Dental Care Davao | Trusted Dentist", description: "Professional dental services in Davao City. Book your appointment today.", images: ["http://img.b2bpic.net/free-photo/crowded-stomatology-waiting-area-with-people-filling-form-dental-consultation_482257-4858.jpg"],
- },
-};
+ title: "Dental Care Davao", description: "Modern dental care you can trust"};
export default function RootLayout({
children,
-}: Readonly<{
+}: {
children: React.ReactNode;
-}>) {
+}) {
return (
-
-
-
-
- {children}
-
+
+ {children}
-
);
}
diff --git a/src/app/page.tsx b/src/app/page.tsx
index f8aac72..7b033b9 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -11,8 +11,26 @@ import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Award, Shield } from 'lucide-react';
+import { useEffect, useState } from 'react';
export default function LandingPage() {
+ const [isScrolled, setIsScrolled] = useState(false);
+ const [heroHeight, setHeroHeight] = useState(0);
+
+ useEffect(() => {
+ const handleScroll = () => {
+ setIsScrolled(window.scrollY > heroHeight);
+ };
+
+ const heroElement = document.getElementById('hero');
+ if (heroElement) {
+ setHeroHeight(heroElement.offsetHeight);
+ }
+
+ window.addEventListener('scroll', handleScroll);
+ return () => window.removeEventListener('scroll', handleScroll);
+ }, [heroHeight]);
+
return (
-