Merge version_2 into main #4
@@ -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 (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${archivo.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1416,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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 (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
@@ -26,7 +44,7 @@ export default function LandingPage() {
|
||||
secondaryButtonStyle="radial-glow"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<div id="nav" data-section="nav" className={`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${isScrolled ? 'bg-background/30 backdrop-blur-md' : 'bg-transparent'}`}>
|
||||
<NavbarLayoutFloatingOverlay
|
||||
brandName="Dental Care Davao"
|
||||
navItems={[
|
||||
@@ -80,19 +98,24 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Teeth Cleaning", description: "Professional cleaning to remove tartar and plaque buildup, preventing cavities and gum disease. Regular cleanings keep your smile bright and healthy.", imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-man-receiving-dental-treatment-from-female-dentist-clinic_662251-2555.jpg?_wi=1"},
|
||||
title: "Teeth Cleaning", description: "Professional cleaning to remove tartar and plaque buildup, preventing cavities and gum disease. Regular cleanings keep your smile bright and healthy.", imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-man-receiving-dental-treatment-from-female-dentist-clinic_662251-2555.jpg?_wi=1"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "Tooth Extraction", description: "Gentle extraction services for damaged, decayed, or problematic teeth. We prioritize your comfort with advanced pain management techniques.", imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-man-receiving-dental-treatment-from-female-dentist-clinic_662251-2555.jpg?_wi=2"},
|
||||
title: "Tooth Extraction", description: "Gentle extraction services for damaged, decayed, or problematic teeth. We prioritize your comfort with advanced pain management techniques.", imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-man-receiving-dental-treatment-from-female-dentist-clinic_662251-2555.jpg?_wi=2"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "Orthodontics (Braces)", description: "Modern braces and orthodontic treatments to straighten your teeth and improve your bite. Achieve the smile you've always wanted.", imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-man-receiving-dental-treatment-from-female-dentist-clinic_662251-2555.jpg?_wi=3"},
|
||||
title: "Orthodontics (Braces)", description: "Modern braces and orthodontic treatments to straighten your teeth and improve your bite. Achieve the smile you've always wanted.", imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-man-receiving-dental-treatment-from-female-dentist-clinic_662251-2555.jpg?_wi=3"
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
title: "Cosmetic Dentistry", description: "Enhance your smile with teeth whitening, veneers, and bonding treatments. Discover the confidence that comes with a beautiful smile.", imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-man-receiving-dental-treatment-from-female-dentist-clinic_662251-2555.jpg?_wi=4"},
|
||||
title: "Cosmetic Dentistry", description: "Enhance your smile with teeth whitening, veneers, and bonding treatments. Discover the confidence that comes with a beautiful smile.", imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-man-receiving-dental-treatment-from-female-dentist-clinic_662251-2555.jpg?_wi=4"
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
title: "Root Canal Treatment", description: "Advanced endodontic care to save infected or damaged teeth. Our gentle approach minimizes discomfort and preserves your natural tooth.", imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-man-receiving-dental-treatment-from-female-dentist-clinic_662251-2555.jpg?_wi=5"},
|
||||
title: "Root Canal Treatment", description: "Advanced endodontic care to save infected or damaged teeth. Our gentle approach minimizes discomfort and preserves your natural tooth.", imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-man-receiving-dental-treatment-from-female-dentist-clinic_662251-2555.jpg?_wi=5"
|
||||
},
|
||||
]}
|
||||
textboxLayout="default"
|
||||
animationType="blur-reveal"
|
||||
@@ -108,15 +131,18 @@ export default function LandingPage() {
|
||||
{
|
||||
id: "dentists", groupTitle: "Lead Dentist", members: [
|
||||
{
|
||||
id: "1", title: "Dr. Maria Santos", subtitle: "Certified Prosthodontist", detail: "DDS, Advanced Pain Management Certification, 15+ years experience", imageSrc: "http://img.b2bpic.net/free-photo/closeup-patient-man-looking-into-camera-waiting-doctors-start-stomatology-surgery-sitting-dental-chair_482257-4877.jpg?_wi=2"},
|
||||
id: "1", title: "Dr. Maria Santos", subtitle: "Certified Prosthodontist", detail: "DDS, Advanced Pain Management Certification, 15+ years experience", imageSrc: "http://img.b2bpic.net/free-photo/closeup-patient-man-looking-into-camera-waiting-doctors-start-stomatology-surgery-sitting-dental-chair_482257-4877.jpg?_wi=2"
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "support", groupTitle: "Clinical Support", members: [
|
||||
{
|
||||
id: "2", title: "Karen Reyes", subtitle: "Dental Hygienist", detail: "Specialized in preventive care and patient education"},
|
||||
id: "2", title: "Karen Reyes", subtitle: "Dental Hygienist", detail: "Specialized in preventive care and patient education"
|
||||
},
|
||||
{
|
||||
id: "3", title: "Ricky Gonzales", subtitle: "Dental Assistant", detail: "Certified dental assistant ensuring smooth patient experience"},
|
||||
id: "3", title: "Ricky Gonzales", subtitle: "Dental Assistant", detail: "Certified dental assistant ensuring smooth patient experience"
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -133,19 +159,24 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Maria Cruz", role: "Business Owner", company: "Marketing Professional", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg?_wi=1"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg?_wi=1"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Roberto Santos", role: "IT Manager", company: "Tech Company Employee", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-man-posing-with-crossed-arms_23-2149206526.jpg"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-man-posing-with-crossed-arms_23-2149206526.jpg"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Angela Lopez", role: "Teacher", company: "Education Professional", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-woman-therapy_23-2148928886.jpg"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-woman-therapy_23-2148928886.jpg"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Diana Flores", role: "Nurse", company: "Healthcare Professional", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg?_wi=2"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg?_wi=2"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Carlos Mendoza", role: "Engineer", company: "Construction Company", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-adult-working-social-integration-workspace_23-2149341144.jpg"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-adult-working-social-integration-workspace_23-2149341144.jpg"
|
||||
},
|
||||
]}
|
||||
gridVariant="uniform-all-items-equal"
|
||||
animationType="scale-rotate"
|
||||
@@ -181,17 +212,23 @@ export default function LandingPage() {
|
||||
textPosition="left"
|
||||
faqs={[
|
||||
{
|
||||
id: "1", title: "How do I schedule an appointment?", content: "You can schedule an appointment through our online form above, call us at 0917-123-4567, or visit our clinic directly at our Davao City location. We typically accommodate appointments within 2-3 days."},
|
||||
id: "1", title: "How do I schedule an appointment?", content: "You can schedule an appointment through our online form above, call us at 0917-123-4567, or visit our clinic directly at our Davao City location. We typically accommodate appointments within 2-3 days."
|
||||
},
|
||||
{
|
||||
id: "2", title: "What are your operating hours?", content: "We're open Monday to Friday, 9:00 AM - 6:00 PM, and Saturday, 9:00 AM - 3:00 PM. We're closed on Sundays and public holidays. Emergency cases are welcome after hours by appointment."},
|
||||
id: "2", title: "What are your operating hours?", content: "We're open Monday to Friday, 9:00 AM - 6:00 PM, and Saturday, 9:00 AM - 3:00 PM. We're closed on Sundays and public holidays. Emergency cases are welcome after hours by appointment."
|
||||
},
|
||||
{
|
||||
id: "3", title: "Do you offer painless treatments?", content: "Yes! We specialize in painless dental procedures using advanced pain management techniques and modern anesthesia. Your comfort is our top priority."},
|
||||
id: "3", title: "Do you offer painless treatments?", content: "Yes! We specialize in painless dental procedures using advanced pain management techniques and modern anesthesia. Your comfort is our top priority."
|
||||
},
|
||||
{
|
||||
id: "4", title: "What are your pricing rates?", content: "Our pricing varies by service. Basic cleanings start at ₱1,500, extractions at ₱2,500, and cosmetic procedures vary. We offer flexible payment plans and accept most health insurance. Call for detailed pricing."},
|
||||
id: "4", title: "What are your pricing rates?", content: "Our pricing varies by service. Basic cleanings start at ₱1,500, extractions at ₱2,500, and cosmetic procedures vary. We offer flexible payment plans and accept most health insurance. Call for detailed pricing."
|
||||
},
|
||||
{
|
||||
id: "5", title: "Is the first consultation free?", content: "We offer a complimentary initial consultation to assess your dental health and discuss treatment options. This helps us understand your needs and provide an accurate treatment plan."},
|
||||
id: "5", title: "Is the first consultation free?", content: "We offer a complimentary initial consultation to assess your dental health and discuss treatment options. This helps us understand your needs and provide an accurate treatment plan."
|
||||
},
|
||||
{
|
||||
id: "6", title: "What if I'm nervous about dental procedures?", content: "We understand dental anxiety is common. Our compassionate team uses calming techniques, modern pain management, and takes time to explain each procedure. Let us know your concerns when booking."},
|
||||
id: "6", title: "What if I'm nervous about dental procedures?", content: "We understand dental anxiety is common. Our compassionate team uses calming techniques, modern pain management, and takes time to explain each procedure. Let us know your concerns when booking."
|
||||
},
|
||||
]}
|
||||
useInvertedBackground={false}
|
||||
faqsAnimation="blur-reveal"
|
||||
|
||||
Reference in New Issue
Block a user