dramaling-vocab-learning/frontend/app/layout.tsx

27 lines
641 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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>
)
}