16 Commits

Author SHA1 Message Date
d12e4b6989 Update src/app/layout.tsx 2026-03-09 15:25:25 +00:00
f4d430f675 Update src/app/styles/base.css 2026-03-09 15:24:25 +00:00
9e90ad755f Update src/app/page.tsx 2026-03-09 15:24:24 +00:00
45b1a16eb1 Update src/app/layout.tsx 2026-03-09 15:24:23 +00:00
52bd5c1e01 Merge version_2 into main
Merge version_2 into main
2026-03-09 15:22:35 +00:00
100f7b6ac3 Update theme fonts 2026-03-09 15:22:31 +00:00
7b5fd1e5c7 Update theme fonts 2026-03-09 15:22:30 +00:00
08e4b30497 Merge version_2 into main
Merge version_2 into main
2026-03-09 15:21:46 +00:00
88309cd736 Update theme fonts 2026-03-09 15:21:41 +00:00
0d42112c1d Update theme fonts 2026-03-09 15:21:41 +00:00
74efe16eb7 Merge version_2 into main
Merge version_2 into main
2026-03-09 15:19:56 +00:00
3987fd0133 Update src/app/styles/variables.css 2026-03-09 15:19:51 +00:00
4c14ee6b99 Merge version_1 into main
Merge version_1 into main
2026-03-09 15:17:34 +00:00
d31867e7fb Merge version_1 into main
Merge version_1 into main
2026-03-09 15:15:07 +00:00
30ba9591f1 Merge version_1 into main
Merge version_1 into main
2026-03-09 15:14:16 +00:00
1991a7ebf2 Merge version_1 into main
Merge version_1 into main
2026-03-09 15:13:05 +00:00
4 changed files with 39 additions and 44 deletions

View File

@@ -1,52 +1,47 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Halant } from "next/font/google"; import { Bitcount_Grid_Double_Ink } from "next/font/google";
import { Inter } from "next/font/google"; import "./styles/variables.css";
import { Nunito_Sans } from "next/font/google"; import "./styles/base.css";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
const halant = Halant({ const bitcountGridDoubleInk = Bitcount_Grid_Double_Ink({
variable: "--font-halant", subsets: ["latin"], variable: "--font-bitcount-grid-double-ink", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const nunitoSans = Nunito_Sans({
variable: "--font-nunito-sans", subsets: ["latin"],
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Brew Haven | Premium Specialty Coffee Shop", description: "Discover exceptional specialty coffee handcrafted by passionate baristas. Ethically sourced, expertly roasted, and served with care.", keywords: "coffee shop, specialty coffee, espresso, cold brew, artisan coffee, barista, sustainable coffee", robots: { title: "Brew Haven - Premium Specialty Coffee", description: "Experience the finest specialty coffee crafted by passionate baristas. From single-origin espresso to artisan cold brew."};
index: true,
follow: true,
},
};
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" suppressHydrationWarning>
<ServiceWrapper> <body className={`${bitcountGridDoubleInk.variable}`}>
<body <ServiceWrapper>
className={`${halant.variable} ${inter.variable} ${nunitoSans.variable} antialiased`}
>
<Tag /> <Tag />
{children} {children}
<script </ServiceWrapper>
dangerouslySetInnerHTML={{ <script
__html: `${getVisualEditScript()}` dangerouslySetInnerHTML={{
__html: `
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark');
} else {
document.documentElement.classList.remove('dark');
}
`,
}} }}
/> />
</body> </body>
</ServiceWrapper>
</html> </html>
); );
}
function ServiceWrapper({ children }: { children: React.ReactNode }) {
return <>{children}</>;
}
function Tag() {
return null;
} }

View File

@@ -193,4 +193,4 @@ export default function LandingPage() {
</div> </div>
</ThemeProvider> </ThemeProvider>
); );
} }

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-nunito-sans), sans-serif; font-family: var(--font-bitcount-grid-double-ink), 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-nunito-sans), sans-serif; font-family: var(--font-bitcount-grid-double-ink), sans-serif;
} }

View File

@@ -10,15 +10,15 @@
--accent: #ffffff; --accent: #ffffff;
--background-accent: #ffffff; */ --background-accent: #ffffff; */
--background: #ffffff; --background: #000000;
--card: #f9f9f9; --card: #0c0c0c;
--foreground: #120a00e6; --foreground: #ffffff;
--primary-cta: #FF7B05; --primary-cta: #10b981;
--primary-cta-text: #ffffff; --primary-cta-text: #ffffff;
--secondary-cta: #f9f9f9; --secondary-cta: #000000;
--secondary-cta-text: #120a00e6; --secondary-cta-text: #120a00e6;
--accent: #e2e2e2; --accent: #10b981;
--background-accent: #FF7B05; --background-accent: #10b981;
/* text sizing - set by ThemeProvider */ /* text sizing - set by ThemeProvider */
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem); /* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);