Update src/app/layout.tsx

This commit is contained in:
2026-03-05 04:15:55 +00:00
parent 7166cd6894
commit a804ecbc37

View File

@@ -1,10 +1,18 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { Playfair_Display, Lato } from "next/font/google";
import "./globals.css";
import "./styles/variables.css";
import "./styles/base.css";
const inter = Inter({ subsets: ["latin"] });
const playfairDisplay = Playfair_Display({
variable: "--font-playfair-display", subsets: ["latin"],
weight: ["400", "500", "600", "700", "800", "900"],
});
const lato = Lato({
variable: "--font-lato", subsets: ["latin"],
weight: ["100", "300", "400", "700", "900"],
});
export const metadata: Metadata = {
title: "Casa Della Mozzarella - Best Mozzarella in NYC", description: "Zagat-rated Italian deli on Arthur Avenue in the Bronx. Premium mozzarella, imported meats, and artisanal Italian specialties since 1987."};
@@ -16,7 +24,7 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={inter.className}>{children}
<body className={`${playfairDisplay.variable} ${lato.variable}`}>{children}
<script
dangerouslySetInnerHTML={{
__html: `