Skip to content

Commit 7317fd3

Browse files
committed
Merge branch 'main' into add-logo-to-header
2 parents 98f1a1c + 025daa5 commit 7317fd3

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

src/app/globals.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
}
4747

4848
@theme inline {
49-
--font-sans: var(--font-geist-sans);
50-
--font-mono: var(--font-geist-mono);
49+
--font-sans: var(--font-inter);
5150

5251
--color-background: hsl(var(--background));
5352
--color-foreground: hsl(var(--foreground));
@@ -77,4 +76,5 @@
7776
body {
7877
background: hsl(var(--background));
7978
color: hsl(var(--foreground));
79+
font-family: var(--font-inter), sans-serif;
8080
}

src/app/layout.tsx

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
import type { Metadata } from "next";
2-
import { Geist, Geist_Mono } from "next/font/google";
2+
import { Inter } from "next/font/google";
33
import { headers } from "next/headers";
44
import { Toaster } from "sonner";
55
import { Navbar } from "@/components/navbar";
66
import { auth } from "@/lib/auth/auth";
77
import "@/lib/api-client";
88
import "./globals.css";
99

10-
const geistSans = Geist({
11-
variable: "--font-geist-sans",
12-
subsets: ["latin"],
13-
});
14-
15-
const geistMono = Geist_Mono({
16-
variable: "--font-geist-mono",
10+
const inter = Inter({
11+
variable: "--font-inter",
1712
subsets: ["latin"],
1813
});
1914

@@ -33,9 +28,7 @@ export default async function RootLayout({
3328

3429
return (
3530
<html lang="en">
36-
<body
37-
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
38-
>
31+
<body className={`${inter.variable} antialiased`}>
3932
{session && <Navbar />}
4033
{children}
4134
<Toaster

0 commit comments

Comments
 (0)