Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a1b2de2d71 | |||
| 3a7ff5e0e8 | |||
| da915edf5b | |||
| f0d3853ffc | |||
| 9ab47c3727 | |||
| 68e4a18dcd | |||
| 8c5c1a0290 | |||
| 1149a0f7e6 |
@@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163,4 +163,4 @@ export default function MenuPage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,15 +10,15 @@
|
||||
--accent: #ffffff;
|
||||
--background-accent: #ffffff; */
|
||||
|
||||
--background: #f7f6f7;
|
||||
--card: #ffffff;
|
||||
--foreground: #0c1325;
|
||||
--primary-cta: #0798ff;
|
||||
--background: #010912;
|
||||
--card: #152840;
|
||||
--foreground: #e6f0ff;
|
||||
--primary-cta: #cee7ff;
|
||||
--primary-cta-text: #f7f6f7;
|
||||
--secondary-cta: #ffffff;
|
||||
--secondary-cta: #0e1a29;
|
||||
--secondary-cta-text: #0c1325;
|
||||
--accent: #93c7ff;
|
||||
--background-accent: #a8cde8;
|
||||
--accent: #3f5c79;
|
||||
--background-accent: #004a93;
|
||||
|
||||
/* text sizing - set by ThemeProvider */
|
||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||
|
||||
Reference in New Issue
Block a user