Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f08f3e6f57 | |||
|
|
c56c807122 | ||
| c31b19efab |
@@ -1,49 +1,18 @@
|
|||||||
import type { Metadata } from "next";
|
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import "@/lib/gsap-setup";
|
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
||||||
import { Inter_Tight } from "next/font/google";
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
|
||||||
title: 'Roast & Bloom | Artisan Coffee Shop',
|
|
||||||
description: 'Local artisan coffee shop serving premium roasted beans, handcrafted espresso, and fresh pastries in a cozy, welcoming community atmosphere.',
|
|
||||||
openGraph: {
|
|
||||||
"title": "Roast & Bloom",
|
|
||||||
"description": "Local artisan coffee shop serving premium roasted beans.",
|
|
||||||
"siteName": "Roast & Bloom",
|
|
||||||
"type": "website"
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
const interTight = Inter_Tight({
|
|
||||||
variable: "--font-inter-tight",
|
|
||||||
subsets: ["latin"],
|
|
||||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<ServiceWrapper>
|
<head>
|
||||||
<body className={`${interTight.variable} antialiased`}>
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
|
||||||
{children}
|
<link href="https://fonts.googleapis.com/css2?family=Playwrite+Ireland:wght@100..400&display=swap" rel="stylesheet" />
|
||||||
<script
|
</head>
|
||||||
dangerouslySetInnerHTML={{
|
<body>{children}</body>
|
||||||
__html: `${getVisualEditScript()}`
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</body>
|
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -11,7 +11,7 @@ html {
|
|||||||
body {
|
body {
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
font-family: var(--font-inter-tight), sans-serif;
|
font-family: 'Playwrite Ireland', sans-serif;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
@@ -24,5 +24,5 @@ h3,
|
|||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
font-family: var(--font-inter-tight), sans-serif;
|
font-family: 'Playwrite Ireland', sans-serif;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user