Files
2026-05-28 22:28:08 +07:00

42 lines
1.1 KiB
TypeScript

import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import { Noto_Sans_JP } from 'next/font/google'
import './globals.css'
import Navbar from '@/components/layout/Navbar'
import Footer from '@/components/layout/Footer'
import SearchOverlay from '@/components/search/SearchOverlay'
const inter = Inter({
subsets: ['latin'],
variable: '--font-inter',
display: 'swap',
})
const notoSansJP = Noto_Sans_JP({
subsets: ['latin'],
variable: '--font-noto-sans-jp',
display: 'swap',
weight: ['400', '500', '600', '700'],
})
export const metadata: Metadata = {
title: {
template: '%s — Kotobane',
default: 'Kotobane — Japanese Pop-Culture News',
},
description: 'VTubers, Anime, Manga, Games, Music, and Japanese culture news.',
}
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en" className={`${inter.variable} ${notoSansJP.variable}`}>
<body>
<Navbar />
<main>{children}</main>
<Footer />
<SearchOverlay />
</body>
</html>
)
}