update font

This commit is contained in:
2026-06-20 17:19:29 +05:30
parent b71b740263
commit fe15137a97
2 changed files with 8 additions and 7 deletions

View File

@@ -123,8 +123,9 @@
--spacing-container-max: 1280px; --spacing-container-max: 1280px;
/* Fonts */ /* Fonts */
--font-display: "Hanken Grotesk", sans-serif; --font-display: "Jost", sans-serif;
--font-body: "Inter", sans-serif; --font-body: "Jost", sans-serif;
/* Border radius */ /* Border radius */
--radius-sm: 0.25rem; --radius-sm: 0.25rem;

View File

@@ -1,17 +1,17 @@
import type { Metadata, Viewport } from "next"; import type { Metadata, Viewport } from "next";
import { Hanken_Grotesk, Inter } from "next/font/google"; import { Jost } from "next/font/google";
import "./globals.css"; import "./globals.css";
import { Navbar } from "@/components/layout/Navbar"; import { Navbar } from "@/components/layout/Navbar";
import { Footer } from "@/components/layout/Footer"; import { Footer } from "@/components/layout/Footer";
const hankenGrotesk = Hanken_Grotesk({ const jost = Jost({
subsets: ["latin"], subsets: ["latin"],
weight: ["600", "700", "800"], weight: ["400", "600", "700", "800"],
variable: "--font-display", variable: "--font-display",
display: "swap", display: "swap",
}); });
const inter = Inter({ const jostBody = Jost({
subsets: ["latin"], subsets: ["latin"],
weight: ["400", "600", "700"], weight: ["400", "600", "700"],
variable: "--font-body", variable: "--font-body",
@@ -83,7 +83,7 @@ export default function RootLayout({
return ( return (
<html <html
lang="en" lang="en"
className={`${hankenGrotesk.variable} ${inter.variable}`} className={`${jost.variable} ${jostBody.variable}`}
suppressHydrationWarning suppressHydrationWarning
> >
<head> <head>