diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index cf102c5..526cfd5 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -1,52 +1,33 @@
import type { Metadata } from "next";
-import { Halant } from "next/font/google";
import { Inter } 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"],
+ weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
- title: "Trusmile Dental Clinic | Luxury Dental Care in Surat", description: "Premium dental clinic in Surat offering advanced cosmetic dentistry, implants, and comprehensive dental care with expert dentists and modern technology.", keywords: "dental clinic Surat, best dentist Surat, teeth whitening, dental implants, root canal treatment, cosmetic dentistry, luxury dental care", metadataBase: new URL("https://trusmile-dental.com"),
- alternates: {
- canonical: "https://trusmile-dental.com"},
- openGraph: {
- title: "Trusmile Dental Clinic | Luxury Dental Care in Surat", description: "Experience premium dental healthcare with expert dentists and cutting-edge technology at Trusmile Dental Clinic in Surat.", url: "https://trusmile-dental.com", siteName: "Trusmile Dental Clinic", type: "website", images: [
- {
- url: "http://img.b2bpic.net/free-photo/full-equiped-medical-cabinet_1303-23918.jpg", alt: "Luxury dental clinic professional treatment"},
- ],
- },
- twitter: {
- card: "summary_large_image", title: "Trusmile Dental Clinic | Premium Dental Care", description: "Advanced dental solutions and cosmetic treatments in Surat", images: ["http://img.b2bpic.net/free-photo/full-equiped-medical-cabinet_1303-23918.jpg"],
- },
- robots: {
- index: true,
- follow: true,
- },
-};
+ title: "Trusmile Dental Clinic - Precision Dentistry in Surat", description: "Advanced dental care and cosmetic smile solutions at Trusmile Dental Clinic in Surat. Experience luxury healthcare with cutting-edge technology and compassionate expertise."};
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 c023ad8..98e203a 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -8,10 +8,32 @@ import FeatureCardEight from "@/components/sections/feature/FeatureCardEight";
import MetricCardSeven from "@/components/sections/metrics/MetricCardSeven";
import TestimonialCardFifteen from "@/components/sections/testimonial/TestimonialCardFifteen";
import ContactText from "@/components/sections/contact/ContactText";
-import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
-import { Award, Sparkles } from "lucide-react";
+import FooterBase from "@/components/sections/footer/FooterBase";
+import { Award, Sparkles, Phone, Mail, MapPin, Facebook, Twitter, Instagram, Linkedin } from "lucide-react";
export default function LandingPage() {
+ const handleCallClick = () => {
+ window.location.href = "tel:+919876543210";
+ };
+
+ const handleEmailClick = () => {
+ window.location.href = "mailto:info@trusmile.com";
+ };
+
+ const handleBookAppointment = () => {
+ const appointmentSection = document.getElementById("appointment");
+ if (appointmentSection) {
+ appointmentSection.scrollIntoView({ behavior: "smooth" });
+ }
+ };
+
+ const handleNavigateToSection = (sectionId: string) => {
+ const section = document.getElementById(sectionId);
+ if (section) {
+ section.scrollIntoView({ behavior: "smooth" });
+ }
+ };
+
return (
handleNavigateToSection("services"),
+ },
+ ]}
buttonAnimation="slide-up"
showBorder={true}
useInvertedBackground={false}
@@ -115,7 +143,11 @@ export default function LandingPage() {
id: 4,
title: "Root Canal Treatment", description: "Advanced treatment to remove infection from inside the tooth and save natural teeth.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-patient-mouth-undergoing-dental-check-up_107420-65610.jpg", imageAlt: "Root canal treatment procedure"},
]}
- buttons={[{ text: "View All Services", href: "#allservices" }]}
+ buttons={[
+ {
+ text: "View All Services", onClick: () => handleNavigateToSection("services"),
+ },
+ ]}
buttonAnimation="slide-up"
className="py-20"
containerClassName="max-w-7xl mx-auto px-6"
@@ -167,12 +199,18 @@ export default function LandingPage() {
rating={5}
author="Priya Sharma, Surat"
avatars={[
- { src: "http://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg", alt: "Patient testimonial avatar" },
- { src: "http://img.b2bpic.net/free-photo/portrait-happy-african-american-doctor-nursing-home_637285-11403.jpg", alt: "Patient testimonial avatar" },
- { src: "http://img.b2bpic.net/free-photo/young-woman-working-out-street_23-2148213172.jpg", alt: "Patient testimonial avatar" },
- { src: "http://img.b2bpic.net/free-photo/smiling-confident-manager-cafeteria_1098-20954.jpg", alt: "Patient testimonial avatar" },
- { src: "http://img.b2bpic.net/free-photo/portrait-beautiful-business-office-business-center_1303-20365.jpg", alt: "Patient testimonial avatar" },
- { src: "http://img.b2bpic.net/free-photo/man-putting-face-discomfort_1187-1592.jpg", alt: "Patient testimonial avatar" },
+ {
+ src: "http://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg", alt: "Patient testimonial avatar"},
+ {
+ src: "http://img.b2bpic.net/free-photo/portrait-happy-african-american-doctor-nursing-home_637285-11403.jpg", alt: "Patient testimonial avatar"},
+ {
+ src: "http://img.b2bpic.net/free-photo/young-woman-working-out-street_23-2148213172.jpg", alt: "Patient testimonial avatar"},
+ {
+ src: "http://img.b2bpic.net/free-photo/smiling-confident-manager-cafeteria_1098-20954.jpg", alt: "Patient testimonial avatar"},
+ {
+ src: "http://img.b2bpic.net/free-photo/portrait-beautiful-business-office-business-center_1303-20365.jpg", alt: "Patient testimonial avatar"},
+ {
+ src: "http://img.b2bpic.net/free-photo/man-putting-face-discomfort_1187-1592.jpg", alt: "Patient testimonial avatar"},
]}
ratingAnimation="slide-up"
avatarsAnimation="slide-up"
@@ -191,8 +229,10 @@ export default function LandingPage() {
text="Ready to transform your smile? Schedule your personalized consultation with our expert dentists today."
animationType="background-highlight"
buttons={[
- { text: "Book Appointment", href: "#appointmentform" },
- { text: "Call +91 98765 43210", href: "tel:+919876543210" },
+ {
+ text: "Book Appointment", onClick: handleBookAppointment,
+ },
+ { text: "Call +91 98765 43210", onClick: handleCallClick },
]}
background={{ variant: "plain" }}
useInvertedBackground={false}
@@ -207,16 +247,51 @@ export default function LandingPage() {