mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-25 07:38:17 +03:00
add viewport options, remove font settings
This commit is contained in:
+10
-12
@@ -1,26 +1,24 @@
|
||||
import type {Metadata} from "next";
|
||||
import {Inter as FontSans} from "next/font/google";
|
||||
import {cn} from "@/lib/utils";
|
||||
import "./globals.css";
|
||||
import type {Metadata, Viewport} from "next";
|
||||
import {ThemeProvider} from "@/components/theme-provider";
|
||||
import {Toaster} from "@/components/ui/toaster";
|
||||
|
||||
const fontSans = FontSans({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-sans",
|
||||
})
|
||||
import "./globals.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "AimeNet"
|
||||
title: "AimeNet",
|
||||
};
|
||||
|
||||
export const viewport: Viewport = {
|
||||
initialScale: 1,
|
||||
width: 'device-width',
|
||||
themeColor: '#d2005b',
|
||||
}
|
||||
|
||||
export default function RootLayout({children}: Readonly<{ children: React.ReactNode; }>) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<head>
|
||||
<title>AimeNet</title>
|
||||
</head>
|
||||
<body className={cn("min-h-screen bg-background font-sans antialiased", fontSans.variable)}>
|
||||
<body className="min-h-screen bg-background">
|
||||
<ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>
|
||||
{children}
|
||||
</ThemeProvider>
|
||||
|
||||
Reference in New Issue
Block a user