Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f83b3b2830 | |||
| 9fdad2175a | |||
| c1ed72c7c8 | |||
| 251c8c22cc | |||
| 394baa9cd8 |
@@ -1,58 +1,20 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import { Poppins } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const halant = Halant({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
variable: "--font-halant", subsets: ["latin"],
|
|
||||||
weight: ["300", "400", "500", "600", "700"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const inter = Inter({
|
|
||||||
variable: "--font-inter", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const poppins = Poppins({
|
|
||||||
variable: "--font-poppins", subsets: ["latin"],
|
|
||||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "SmileCare Dental - Professional Dental Clinic & Care", description: "Expert dental services including cleanings, whitening, and implants. Compassionate care with advanced technology. Book your appointment today.", keywords: "dental clinic, dentist, teeth cleaning, teeth whitening, dental implants, professional dental care", metadataBase: new URL("https://smilecare-dental.example.com"),
|
title: "SmileCare Dental - Expert Dental Care", description: "Premium dental services with advanced technology and compassionate care. Book your appointment today."};
|
||||||
alternates: {
|
|
||||||
canonical: "https://smilecare-dental.example.com"},
|
|
||||||
openGraph: {
|
|
||||||
title: "SmileCare Dental - Your Smile, Our Priority", description: "Comprehensive dental care with professional expertise and compassionate service. Schedule your appointment today.", url: "https://smilecare-dental.example.com", siteName: "SmileCare Dental", type: "website", images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/smiling-woman-reading-diary-office-meeting_23-2147955155.jpg", alt: "modern dental office clinic reception area"},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image", title: "SmileCare Dental - Professional Dental Care", description: "Expert dental services. Book your appointment today.", images: ["http://img.b2bpic.net/free-photo/smiling-woman-reading-diary-office-meeting_23-2147955155.jpg"],
|
|
||||||
},
|
|
||||||
robots: {
|
|
||||||
index: true,
|
|
||||||
follow: true,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<ServiceWrapper>
|
<body className={inter.className}>{children}
|
||||||
<body
|
|
||||||
className={`${halant.variable} ${inter.variable} ${poppins.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1420,7 +1382,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,6 +86,10 @@ export default function LandingPage() {
|
|||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
gridVariant="uniform-all-items-equal"
|
gridVariant="uniform-all-items-equal"
|
||||||
mode="buttons"
|
mode="buttons"
|
||||||
|
buttons={[
|
||||||
|
{ text: "Book Your Service", href: "contact" },
|
||||||
|
]}
|
||||||
|
buttonAnimation="slide-up"
|
||||||
>
|
>
|
||||||
<div className="w-full p-6 rounded-lg border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-900 flex flex-col gap-4">
|
<div className="w-full p-6 rounded-lg border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-900 flex flex-col gap-4">
|
||||||
<div className="flex items-start gap-3">
|
<div className="flex items-start gap-3">
|
||||||
@@ -250,4 +254,4 @@ export default function LandingPage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user