Skip to content

Commit

Permalink
refactor(web): use poppins
Browse files Browse the repository at this point in the history
  • Loading branch information
krystxf committed Nov 20, 2024
1 parent 9d90442 commit ba9e6a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
11 changes: 3 additions & 8 deletions apps/web/src/app/fonts.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { Noto_Sans, Noto_Sans_Mono } from "next/font/google";
import { Poppins } from "next/font/google";

export const notoSans = Noto_Sans({
display: "auto",
preload: true,
subsets: ["latin"],
});

export const notoSansMono = Noto_Sans_Mono({
export const poppins = Poppins({
display: "auto",
preload: true,
subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
4 changes: 2 additions & 2 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Metadata } from "next";
import "./globals.css";
import { notoSans } from "./fonts";
import { poppins } from "./fonts";

const WEB_URL = new URL("https://metronow.dev");

Expand Down Expand Up @@ -46,7 +46,7 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<body className={notoSans.className}>{children}</body>
<body className={poppins.className}>{children}</body>
</html>
);
}

0 comments on commit ba9e6a8

Please sign in to comment.