Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a403e27f05 | |||
| 9389aade2d | |||
| b8fdfd50a5 | |||
| 92605dd0cf | |||
| 203296db08 | |||
| 1260a5d823 | |||
| e4f7a2d3ea |
@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Public_Sans } from "next/font/google";
|
||||
import { Montserrat } from "next/font/google";
|
||||
|
||||
|
||||
|
||||
@@ -21,13 +22,9 @@ export const metadata: Metadata = {
|
||||
},
|
||||
};
|
||||
|
||||
const publicSans = Public_Sans({
|
||||
variable: "--font-public-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
|
||||
const montserrat = Montserrat({
|
||||
variable: "--font-montserrat", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -38,7 +35,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${publicSans.variable} ${inter.variable} antialiased`}>
|
||||
<body className={`${montserrat.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
|
||||
@@ -86,6 +86,7 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={true}
|
||||
buttons={[{ text: "Reserve Now", href: "/reservation" }, { text: "View Full Menu", href: "/menu" }]}
|
||||
products={[
|
||||
{ id: "p1", brand: "Starter", name: "Handmade Dim Sum", price: "$12.99", rating: 5, reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/filter-steamer-vintage-china-hongkong_1203-3924.jpg" },
|
||||
{ id: "p2", brand: "Main", name: "Sweet & Sour Pork", price: "$18.50", rating: 4, reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/healthy-bowl-with-tomato-soup_1220-7125.jpg" },
|
||||
|
||||
@@ -11,7 +11,7 @@ html {
|
||||
body {
|
||||
background-color: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: var(--font-inter), sans-serif;
|
||||
font-family: var(--font-montserrat), sans-serif;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
overscroll-behavior: none;
|
||||
@@ -24,5 +24,5 @@ h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-public-sans), sans-serif;
|
||||
font-family: var(--font-montserrat), sans-serif;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user