81 lines
2.5 KiB
TypeScript
81 lines
2.5 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import { Open_Sans } 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 halant = Halant({
|
|
variable: "--font-halant",
|
|
subsets: ["latin"],
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
});
|
|
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const openSans = Open_Sans({
|
|
variable: "--font-open-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Leavity Bread & Coffee - Artisan Sourdough & Specialty Coffee",
|
|
description: "Premium artisanal sourdough bakery and specialty coffee shop in Salt Lake City. Handcrafted bread fermented for 20 hours, ethically sourced coffee, and European-inspired pastries.",
|
|
keywords: "sourdough bread, artisan bakery, specialty coffee, Salt Lake City, fermented bread, handcrafted pastries",
|
|
metadataBase: new URL("https://leavitybc.com"),
|
|
alternates: {
|
|
canonical: "https://leavitybc.com",
|
|
},
|
|
openGraph: {
|
|
title: "Leavity Bread & Coffee - Slow Fermented Sourdough",
|
|
description: "Experience authentic artisan sourdough and craft coffee in Salt Lake City. 20-hour fermentation for superior flavor.",
|
|
url: "https://leavitybc.com",
|
|
siteName: "Leavity Bread & Coffee",
|
|
type: "website",
|
|
images: [
|
|
{
|
|
url: "http://img.b2bpic.net/free-photo/hand-mixing-flour_1170-2250.jpg",
|
|
alt: "Leavity Bread & Coffee - Golden Sourdough",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Leavity Bread & Coffee - Artisan Sourdough",
|
|
description: "Handcrafted sourdough and specialty coffee in Salt Lake City.",
|
|
images: ["http://img.b2bpic.net/free-photo/hand-mixing-flour_1170-2250.jpg"],
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body
|
|
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
|
|
>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |