Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"date-fns": "^4.4.0",
"drizzle-orm": "^0.45.2",
"export-to-csv": "^1.5.0",
"geist": "^1.7.2",
"lucide-react": "^1.47.0",
"next": "^16.3.5",
"next-themes": "^0.4.6",
Expand Down
12 changes: 0 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 2 additions & 11 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { Metadata, Viewport } from "next";

import { cn } from "cn";
import { Inter } from "next/font/google";
import Script from "next/script";
import { Suspense } from "react";

Expand All @@ -14,8 +13,6 @@ import { siteConfig } from "@/lib/site";
import { Toaster } from "@/registry/bases/radix/ui/sonner";
import "@/styles/globals.css";

const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });

export const metadata: Metadata = {
metadataBase: new URL(siteConfig.url),
title: {
Expand Down Expand Up @@ -77,16 +74,10 @@ export default function RootLayout({ children }: React.PropsWithChildren) {
<html
lang="en"
suppressHydrationWarning
className={cn("font-sans", inter.variable)}
className={cn("font-sans", fontSans.variable, fontMono.variable)}
>
<head />
<body
className={cn(
"min-h-screen bg-background font-sans antialiased",
fontSans.variable,
fontMono.variable,
)}
>
<body className="min-h-screen bg-background font-sans antialiased">
<Suspense>
<UploadThingSSR />
</Suspense>
Expand Down
14 changes: 10 additions & 4 deletions src/lib/fonts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import { GeistMono } from "geist/font/mono";
import { GeistSans } from "geist/font/sans";
import { Geist, Geist_Mono } from "next/font/google";

export const fontSans = GeistSans;
export const fontMono = GeistMono;
export const fontSans = Geist({
subsets: ["latin"],
variable: "--font-sans",
});

export const fontMono = Geist_Mono({
subsets: ["latin"],
variable: "--font-mono",
});
Loading