1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- /* eslint-disable @next/next/no-page-custom-font */
- import "./styles/globals.scss";
- import "./styles/markdown.scss";
- import "./styles/highlight.scss";
- import { getBuildConfig } from "./config/build";
- const buildConfig = getBuildConfig();
- export const metadata = {
- title: "AI.DW",
- description: "",
- appleWebApp: {
- title: "AI.DW",
- statusBarStyle: "default",
- },
- viewport: "width=device-width, initial-scale=1, maximum-scale=1",
- };
- export default function RootLayout({
- children,
- }: {
- children: React.ReactNode;
- }) {
- return (
- <html lang="en">
- <head>
- <meta
- name="theme-color"
- content="#fafafa"
- media="(prefers-color-scheme: light)"
- />
- <meta
- name="theme-color"
- content="#151515"
- media="(prefers-color-scheme: dark)"
- />
- <meta name="version" content={buildConfig.commitId} />
- <link rel="manifest" href="/site.webmanifest"></link>
- <script src="/serviceWorkerRegister.js" defer></script>
- </head>
- <body>{children}</body>
- </html>
- );
- }
|