27 lines
641 B
TypeScript
27 lines
641 B
TypeScript
import type { Metadata } from 'next'
|
||
import { Inter } from 'next/font/google'
|
||
import './globals.css'
|
||
import { AuthProvider } from '@/contexts/AuthContext'
|
||
|
||
const inter = Inter({ subsets: ['latin'] })
|
||
|
||
export const metadata: Metadata = {
|
||
title: 'DramaLing - 從影劇學英文',
|
||
description: 'AI驅動的英文詞彙學習平台,透過影劇對話生成個性化詞卡',
|
||
}
|
||
|
||
export default function RootLayout({
|
||
children,
|
||
}: {
|
||
children: React.ReactNode
|
||
}) {
|
||
return (
|
||
<html lang="zh-TW">
|
||
<body className={inter.className}>
|
||
<AuthProvider>
|
||
{children}
|
||
</AuthProvider>
|
||
</body>
|
||
</html>
|
||
)
|
||
} |