|
|
|
|
@@ -1,43 +1,39 @@
|
|
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Public_Sans } from "next/font/google";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
|
|
|
import Tag from "@/tag/Tag";
|
|
|
|
|
|
|
|
|
|
const publicSans = Public_Sans({
|
|
|
|
|
variable: "--font-public-sans", subsets: ["latin"],
|
|
|
|
|
const geistSans = Geist({
|
|
|
|
|
variable: "--font-geist-sans", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const inter = Inter({
|
|
|
|
|
variable: "--font-inter", subsets: ["latin"],
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
|
variable: "--font-geist-mono", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "The Rustic Blade Co. | Premium Barbershop", description: "Discover luxury grooming at The Rustic Blade Co. Expert barbers, traditional straight-razor shaves, and premium beard care. Book your appointment today.", keywords: "barbershop, grooming, haircuts, straight razor shave, beard care, luxury barber, professional grooming, men's salon", openGraph: {
|
|
|
|
|
title: "The Rustic Blade Co. | Premium Barbershop", description: "Experience premium grooming crafted by expert barbers. Traditional techniques meet modern style.", type: "website", siteName: "The Rustic Blade Co."},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image", title: "The Rustic Blade Co. | Premium Barbershop", description: "Luxury grooming and expert barbering services"},
|
|
|
|
|
robots: {
|
|
|
|
|
index: true,
|
|
|
|
|
follow: true,
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
title: "The Rustic Blade Co. | Premium Barbershop", description: "Experience premium grooming at its finest. Master barbers blending traditional craftsmanship with modern style for exceptional haircuts, straight-razor shaves, and beard care."};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<ServiceWrapper>
|
|
|
|
|
<body
|
|
|
|
|
className={`${publicSans.variable} ${inter.variable} antialiased`}
|
|
|
|
|
>
|
|
|
|
|
<Tag />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<body className={`${geistSans.variable} ${geistMono.variable}`}>
|
|
|
|
|
{children}
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
|
|
|
document.documentElement.classList.add('dark')
|
|
|
|
|
} else {
|
|
|
|
|
document.documentElement.classList.remove('dark')
|
|
|
|
|
}
|
|
|
|
|
`,
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1405,7 +1401,6 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|