mirror of
https://github.com/tuna2134/cecilia.git
synced 2026-02-06 14:42:40 +00:00
43 lines
1.1 KiB
TypeScript
43 lines
1.1 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono, Noto_Sans_JP } from "next/font/google";
|
|
import "./globals.css";
|
|
import Script from "next/script";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const notoSansJP = Noto_Sans_JP({
|
|
variable: "--font-noto-sans-jp",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "tuna2134",
|
|
description: "tuna2134 official website",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="ja">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} ${notoSansJP.variable} antialiased`}
|
|
>
|
|
{children}
|
|
<Script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8715826596324259"
|
|
crossOrigin="anonymous"></Script>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|