mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-27 00:50:06 +03:00
39 lines
998 B
TypeScript
39 lines
998 B
TypeScript
import type {Metadata, Viewport} from "next";
|
|
import {ThemeProvider} from "@/components/theme-provider";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "AimeNet",
|
|
applicationName: "AimeNet",
|
|
authors: [
|
|
{
|
|
name: "ppc",
|
|
}
|
|
],
|
|
openGraph: {
|
|
type: 'website',
|
|
locale: 'en_US',
|
|
siteName: 'AimeNet',
|
|
description: 'Browser-local Aime/Amusement IC Card Switcher'
|
|
}
|
|
};
|
|
|
|
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></head>
|
|
<body className="min-h-screen bg-background">
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>
|
|
{children}
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|