bsd/app/layout.tsx

33 lines
732 B
TypeScript
Raw Normal View History

2024-12-13 19:46:49 +08:00
import './globals.css'
import { Inter } from 'next/font/google'
import Navbar from '@/components/Navbar'
2024-12-13 21:40:52 +08:00
import Footer from '@/components/footer'
2024-12-13 19:46:49 +08:00
const inter = Inter({ subsets: ['latin'] })
export const metadata = {
2024-12-13 21:40:52 +08:00
title: '影视星河',
2024-12-13 19:46:49 +08:00
description: '影视星河摄影社团官方网站',
2024-12-14 09:53:29 +08:00
keywords: ['影视星河,北京师范大学东营实验学校,摄影,社团'],
authors: [{ name: '影视星河' }],
creator: '影视星河',
publisher: '影视星河',
2024-12-13 19:46:49 +08:00
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
2024-12-14 09:53:29 +08:00
<html lang="zh-Hans">
2024-12-13 19:46:49 +08:00
<body className={inter.className}>
<Navbar />
{children}
2024-12-13 21:40:52 +08:00
<Footer />
2024-12-13 19:46:49 +08:00
</body>
</html>
)
}