|
|
|
|
@@ -1,71 +1,23 @@
|
|
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Halant } from "next/font/google";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import { Poppins } from "next/font/google";
|
|
|
|
|
import { Figtree } from "next/font/google";
|
|
|
|
|
import "./styles/variables.css";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
|
|
|
import Tag from "@/tag/Tag";
|
|
|
|
|
|
|
|
|
|
const halant = Halant({
|
|
|
|
|
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"],
|
|
|
|
|
const figtree = Figtree({
|
|
|
|
|
variable: "--font-figtree", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "Sweet Crust Bakery - Fresh Artisan Baked Goods",
|
|
|
|
|
description: "Discover handcrafted pastries, artisan bread, and custom cakes at Sweet Crust Bakery. Fresh daily, family recipes since 1995. Order online today!",
|
|
|
|
|
keywords: "bakery, pastries, artisan bread, cakes, croissants, sourdough, fresh baked",
|
|
|
|
|
openGraph: {
|
|
|
|
|
title: "Sweet Crust Bakery - Fresh Artisan Baked Goods",
|
|
|
|
|
description: "Discover handcrafted pastries, artisan bread, and custom cakes. Fresh daily, family recipes since 1995.",
|
|
|
|
|
url: "https://sweetcrustnakery.com",
|
|
|
|
|
siteName: "Sweet Crust Bakery",
|
|
|
|
|
type: "website",
|
|
|
|
|
images: [
|
|
|
|
|
{
|
|
|
|
|
url: "http://img.b2bpic.net/free-photo/beautiful-shot-delicious-croissants-being-prerpared_181624-56837.jpg",
|
|
|
|
|
alt: "Fresh croissants from Sweet Crust Bakery",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image",
|
|
|
|
|
title: "Sweet Crust Bakery - Fresh Artisan Baked Goods",
|
|
|
|
|
description: "Handcrafted pastries and artisan bread. Fresh daily since 1995.",
|
|
|
|
|
images: ["http://img.b2bpic.net/free-photo/baguettes-parchment-wooden-table_23-2147761352.jpg"],
|
|
|
|
|
},
|
|
|
|
|
robots: {
|
|
|
|
|
index: true,
|
|
|
|
|
follow: true,
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
title: "Sweet Crust Bakery", description: "Premium freshly baked goods"};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<ServiceWrapper>
|
|
|
|
|
<body
|
|
|
|
|
className={`${halant.variable} ${inter.variable} ${poppins.variable} antialiased`}
|
|
|
|
|
>
|
|
|
|
|
<Tag />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<body className={figtree.variable}>{children}
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1433,7 +1385,6 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|