Update theme fonts

This commit is contained in:
2026-03-09 01:41:47 +00:00
parent 94d5ecc949
commit def0212d90

View File

@@ -1,12 +1,22 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { Libre_Baskerville } from "next/font/google";
import "./globals.css";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "NextHire - Elite Sales Talent Recruitment", description: "NextHire connects ambitious sales companies with elite talent. Fast placement, guaranteed performance, and long-term success."};
const libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville",
subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: {
@@ -14,7 +24,7 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={inter.className}>{children}
<body className={`${libreBaskerville.variable} ${inter.variable} antialiased`}>{children}
<script
dangerouslySetInnerHTML={{
__html: `