remove font
This commit is contained in:
parent
ab95ce3de5
commit
b0e2e8b16c
@ -1,15 +1,8 @@
|
|||||||
import { Header } from "@/components/header";
|
import { Header } from "@/components/header";
|
||||||
import { Toaster } from "@/components/ui/toaster";
|
import { Toaster } from "@/components/ui/toaster";
|
||||||
import { cn } from "@/utils/styles";
|
|
||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
|
|
||||||
import "@/app/globals.css";
|
import "@/app/globals.css";
|
||||||
import { Inter as FontSans } from "next/font/google";
|
|
||||||
|
|
||||||
const fontSans = FontSans({
|
|
||||||
subsets: ["latin"],
|
|
||||||
variable: "--font-sans",
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: {
|
title: {
|
||||||
@ -31,7 +24,7 @@ export default function RootLayout(props: RootLayoutProps) {
|
|||||||
return (
|
return (
|
||||||
<html lang="de" suppressHydrationWarning>
|
<html lang="de" suppressHydrationWarning>
|
||||||
<head />
|
<head />
|
||||||
<body className={cn("min-h-dvh bg-muted font-sans antialiased", fontSans.variable)}>
|
<body className={"min-h-dvh bg-muted font-sans antialiased"}>
|
||||||
<Header />
|
<Header />
|
||||||
<main className="flex-grow max-w-screen-2xl w-full mx-auto flex flex-col p-8 gap-4 text-foreground">
|
<main className="flex-grow max-w-screen-2xl w-full mx-auto flex flex-col p-8 gap-4 text-foreground">
|
||||||
{children}
|
{children}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user