Update font and Metadata

This commit is contained in:
sirin 2024-08-29 08:45:32 +07:00
parent e09bd55f83
commit bfc6879a53

View File

@ -1,9 +1,18 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Montserrat } from "next/font/google";
import "@/app/globals.css"; import "@/app/globals.css";
const montserrat = Montserrat({
subsets: ["latin"],
display: "swap",
});
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Create Next App", title: {
description: "Generated by create next app", template: "%s | B2DVentures",
default: "B2DVentures",
},
description: "B2DVentures is a financial services company.",
}; };
export default function RootLayout({ export default function RootLayout({
@ -13,7 +22,7 @@ export default function RootLayout({
}>) { }>) {
return ( return (
<html lang="en"> <html lang="en">
<body>{children}</body> <body className={`${montserrat.className}`}>{children}</body>
</html> </html>
); );
} }