Update src/app/layout.tsx

This commit is contained in:
2026-03-06 22:42:08 +00:00
parent a0712a49c3
commit 7e1503de08

View File

@@ -1,51 +1,20 @@
import type { Metadata } from "next";
import { Mulish } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const mulish = Mulish({
variable: "--font-mulish", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Sam's Barber Shop Toronto | Premium Haircuts & Beard Trims", description: "Classic barbershop on St Clair in Toronto. Expert haircuts, beard trims, and hot shaves. 4.9★ rated locally. Call 416-651-7056.", keywords: "barber shop Toronto, haircut St Clair, beard trim Toronto, classic barbershop, men's haircut, local barber", metadataBase: new URL("https://samsbarber.shop"),
alternates: {
canonical: "https://samsbarber.shop"},
robots: {
index: true,
follow: true,
},
openGraph: {
title: "Sam's Barber Shop Toronto", description: "Classic barbershop. Premium haircuts, beard trims, and honest service on St Clair. Highly rated locally.", url: "https://samsbarber.shop", siteName: "Sam's Barber Shop", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/bearded-man-drinking-chocolate-drink-standing-with-bicycle-city-street_23-2148176596.jpg", alt: "Sam's Barber Shop"},
],
},
twitter: {
card: "summary_large_image", title: "Sam's Barber Shop Toronto", description: "Classic barbershop on St Clair. Premium haircuts, beard trims, 4.9★ rated.", images: ["http://img.b2bpic.net/free-photo/bearded-man-drinking-chocolate-drink-standing-with-bicycle-city-street_23-2148176596.jpg"],
},
};
title: "Sam's Barber Shop | Premium Barbering in Toronto", description: "Sam's Barber Shop on St Clair Ave W in Toronto. Classic barbering, expert haircuts, beard trims, and hot shaves. 4.9★ rated by the community."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${mulish.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1413,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}