2 Commits

Author SHA1 Message Date
f08f3e6f57 Merge version_4 into main
Merge version_4 into main
2026-03-31 13:20:22 +00:00
vitalijmulika
c56c807122 Bob AI: Update the global font family to 'Playwrite Ireland' in the 2026-03-31 16:19:53 +03:00
2 changed files with 12 additions and 43 deletions

View File

@@ -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>
); );
} }

View File

@@ -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;
} }