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