Skip to content

Commit

Permalink
Merge pull request #1 from isd-sgcu/font
Browse files Browse the repository at this point in the history
feat: font
  • Loading branch information
punchanabu authored Mar 26, 2024
2 parents e113ba6 + 56c82b7 commit 435adfd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions apps/web/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

body {
color: rgb(var(--foreground-rgb));
font: 'Helvetica', sans-serif;
}

@layer utilities {
Expand Down
7 changes: 4 additions & 3 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { Anuphan } from "next/font/google";
import "./globals.css";

const inter = Inter({ subsets: ["latin"] });

const anuphan = Anuphan({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Create Next App",
Expand All @@ -16,7 +17,7 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
<body className={anuphan.className}>{children}</body>
</html>
);
}

0 comments on commit 435adfd

Please sign in to comment.