Files
f9d5d9ef-04a8-435b-8f90-5f6…/src/app/layout.tsx
2026-03-10 15:32:37 +00:00

86 lines
2.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { Metadata } from "next";
import { Manrope, DM_Sans } from "next/font/google";
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";
import { getVisualEditScript } from "@/utils/visual-edit-script";
const manrope = Manrope({
variable: "--font-manrope",
subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Gary Westacott - Luxury Hair Salon | Premium Styling & Treatments",
description: "Discover luxury hair styling at Gary Westacott Salon. Expert cuts, vibrant color, and premium treatments. Book your transformation today—TuesdaySaturday.",
keywords: "luxury hair salon, professional haircuts, hair color, styling services, appointments",
metadataBase: new URL("https://garywestacottsalon.com"),
alternates: {
canonical: "https://garywestacottsalon.com",
},
openGraph: {
title: "Gary Westacott Luxury Hair Salon",
description: "Experience premium hair styling and transformative salon services. Expert stylists, luxury treatments, and guaranteed confidence.",
url: "https://garywestacottsalon.com",
siteName: "Gary Westacott Salon",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/woman-with-jade-roller-doing-her-beauty-routine_23-2150166463.jpg",
alt: "Luxury salon interior at Gary Westacott",
},
],
},
twitter: {
card: "summary_large_image",
title: "Gary Westacott Luxury Hair Salon",
description: "Premium hair styling, expert cuts, and transformative treatments. Book your appointment now.",
images: ["http://img.b2bpic.net/free-photo/woman-with-jade-roller-doing-her-beauty-routine_23-2150166463.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${manrope.variable} ${dmSans.variable} ${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}