fix font family
This commit is contained in:
@@ -132,8 +132,8 @@
|
||||
--spacing-container-max: 1440px;
|
||||
|
||||
/* Fonts */
|
||||
--font-display: var(--font-manrope), sans-serif;
|
||||
--font-body: var(--font-manrope), sans-serif;
|
||||
--font-display: var(--font-lato), sans-serif;
|
||||
--font-body: var(--font-lato), sans-serif;
|
||||
|
||||
|
||||
/* Border radius */
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import type { Metadata, Viewport } from "next";
|
||||
import { Manrope } from "next/font/google";
|
||||
import { Lato } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { MotionProvider } from "@/components/layout/MotionProvider";
|
||||
import { PremiumNavbar } from "@/components/layout/PremiumNavbar";
|
||||
import { PremiumFooter } from "@/components/layout/PremiumFooter";
|
||||
|
||||
const manrope = Manrope({
|
||||
const lato = Lato({
|
||||
subsets: ["latin"],
|
||||
weight: ["400", "600", "700", "800"],
|
||||
variable: "--font-manrope",
|
||||
weight: ["100", "300", "400", "700", "900"],
|
||||
variable: "--font-lato",
|
||||
display: "swap",
|
||||
preload: true,
|
||||
});
|
||||
@@ -78,7 +78,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html
|
||||
lang="en"
|
||||
className={manrope.variable}
|
||||
className={lato.variable}
|
||||
data-scroll-behavior="smooth"
|
||||
suppressHydrationWarning
|
||||
>
|
||||
|
||||
@@ -85,7 +85,7 @@ export function PremiumNavbar() {
|
||||
alt="Nearle"
|
||||
width={190}
|
||||
height={48}
|
||||
className="h-7 w-auto object-contain md:h-9 lg:h-8 min-[1440px]:h-10"
|
||||
className="h-10 w-auto object-contain md:h-12 lg:h-11 min-[1440px]:h-14"
|
||||
priority
|
||||
/>
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user