[dyad] Replaced incompatible font to fix build error - wrote 3 file(s)

This commit is contained in:
[dyad]
2026-01-30 09:52:38 +01:00
parent 3a459b73a1
commit 41e368dce5
3 changed files with 9 additions and 11 deletions

View File

@@ -1,16 +1,11 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { Header } from "@/components/header";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
const inter = Inter({
subsets: ["latin"],
variable: "--font-sans",
});
export const metadata: Metadata = {
@@ -27,7 +22,7 @@ export default function RootLayout({
return (
<html lang="en" className="dark">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
className={`${inter.variable} antialiased`}
>
<Header />
{children}

View File

@@ -40,7 +40,7 @@ export default function Home() {
}
return (
<div className="flex flex-col items-center justify-center min-h-screen bg-background p-4 sm:p-6 md:p-8 font-[family-name:var(--font-geist-sans)]">
<div className="flex flex-col items-center justify-center min-h-screen bg-background p-4 sm:p-6 md:p-8">
<main className="w-full max-w-4xl">
<VideoEditor />
</main>