Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| eafcfdc800 | |||
| c95aa9ebab | |||
| b04375fdc0 | |||
| 248de42a44 |
@@ -1,12 +1,10 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Nunito } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||||
import Tag from "@/tag/Tag";
|
import Tag from "@/tag/Tag";
|
||||||
|
import { Inter } from "next/font/google";
|
||||||
|
import { Open_Sans } from "next/font/google";
|
||||||
|
|
||||||
const nunito = Nunito({
|
|
||||||
variable: "--font-nunito", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Artisan Bakery | Fresh Baked Goods Daily", description: "Handcrafted artisanal breads and pastries baked fresh daily with premium ingredients. Order online or visit our bakery for the finest baked goods in town.", keywords: "bakery, artisan bread, fresh pastries, sourdough, croissants, bagels, homemade baked goods", metadataBase: new URL("https://example.com"),
|
title: "Artisan Bakery | Fresh Baked Goods Daily", description: "Handcrafted artisanal breads and pastries baked fresh daily with premium ingredients. Order online or visit our bakery for the finest baked goods in town.", keywords: "bakery, artisan bread, fresh pastries, sourdough, croissants, bagels, homemade baked goods", metadataBase: new URL("https://example.com"),
|
||||||
@@ -29,6 +27,15 @@ export const metadata: Metadata = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const inter = Inter({
|
||||||
|
variable: "--font-inter",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
const openSans = Open_Sans({
|
||||||
|
variable: "--font-open-sans",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: Readonly<{
|
||||||
@@ -37,9 +44,7 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body
|
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
|
||||||
className={`${nunito.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
|
|
||||||
|
|||||||
@@ -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-serif;
|
font-family: var(--font-open-sans), 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-serif;
|
font-family: var(--font-inter), sans-serif;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,22 +3,22 @@
|
|||||||
/* --vw is set by ThemeProvider */
|
/* --vw is set by ThemeProvider */
|
||||||
|
|
||||||
/* --background: #f7f6f7;;
|
/* --background: #f7f6f7;;
|
||||||
--card: #ffffff;;
|
--card: #16213e;;
|
||||||
--foreground: #0c1325;;
|
--foreground: #e0e0e0;;
|
||||||
--primary-cta: #0798ff;;
|
--primary-cta: #0798ff;;
|
||||||
--secondary-cta: #ffffff;;
|
--secondary-cta: #1a1a2e;;
|
||||||
--accent: #93c7ff;;
|
--accent: #5a9fd4;;
|
||||||
--background-accent: #a8cde8;; */
|
--background-accent: #2d3e5f;; */
|
||||||
|
|
||||||
--background: #f7f6f7;;
|
--background: #1a1a2e;;
|
||||||
--card: #ffffff;;
|
--card: #16213e;;
|
||||||
--foreground: #0c1325;;
|
--foreground: #e0e0e0;;
|
||||||
--primary-cta: #0798ff;;
|
--primary-cta: #0798ff;;
|
||||||
--primary-cta-text: #f7f6f7;;
|
--primary-cta-text: #f7f6f7;;
|
||||||
--secondary-cta: #ffffff;;
|
--secondary-cta: #1a1a2e;;
|
||||||
--secondary-cta-text: #0c1325;;
|
--secondary-cta-text: #0c1325;;
|
||||||
--accent: #93c7ff;;
|
--accent: #5a9fd4;;
|
||||||
--background-accent: #a8cde8;;
|
--background-accent: #2d3e5f;;
|
||||||
|
|
||||||
/* 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);
|
||||||
|
|||||||
Reference in New Issue
Block a user