Update src/app/layout.tsx
This commit is contained in:
@@ -1,14 +1,20 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Montserrat } from "next/font/google";
|
import { Playfair_Display, Roboto } 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";
|
||||||
|
|
||||||
const montserrat = Montserrat({
|
const playfairDisplay = Playfair_Display({
|
||||||
variable: "--font-montserrat",
|
variable: "--font-playfair-display",
|
||||||
subsets: ["latin"],
|
subsets: ["latin"],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const roboto = Roboto({
|
||||||
|
variable: "--font-roboto",
|
||||||
|
subsets: ["latin"],
|
||||||
|
weight: ["100", "300", "400", "500", "700", "900"],
|
||||||
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Prestige Motors | Luxury & Performance Vehicles",
|
title: "Prestige Motors | Luxury & Performance Vehicles",
|
||||||
description: "Discover premium vehicles at Prestige Motors. Expert selection, transparent pricing, and exceptional service. Browse our luxury inventory today.",
|
description: "Discover premium vehicles at Prestige Motors. Expert selection, transparent pricing, and exceptional service. Browse our luxury inventory today.",
|
||||||
@@ -51,7 +57,7 @@ export default function RootLayout({
|
|||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body
|
<body
|
||||||
className={montserrat.variable}
|
className={`${playfairDisplay.variable} ${roboto.variable}`}
|
||||||
>
|
>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
@@ -1277,4 +1283,4 @@ export default function RootLayout({
|
|||||||
</ServiceWrapper>
|
</ServiceWrapper>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user