41 lines
1.7 KiB
TypeScript
41 lines
1.7 KiB
TypeScript
import type { Metadata } from 'next'
|
|
import { Inter, Noto_Sans_Myanmar } from 'next/font/google'
|
|
import './globals.css'
|
|
import Header from '@/components/Header'
|
|
import Footer from '@/components/Footer'
|
|
|
|
const inter = Inter({ subsets: ['latin'], variable: '--font-inter' })
|
|
const notoSansMyanmar = Noto_Sans_Myanmar({
|
|
weight: ['300', '400', '500', '600', '700'],
|
|
subsets: ['myanmar'],
|
|
variable: '--font-burmese',
|
|
display: 'swap',
|
|
})
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Burmddit - Myanmar AI သတင်းများ',
|
|
description: 'AI နှင့် နည်းပညာဆိုင်ရာ သတင်းများ၊ သင်ခန်းစာများနှင့် အကြံပြုချက်များကို မြန်မာဘာသာဖြင့် နေ့စဉ် ဖတ်ရှုနိုင်သော ပလက်ဖောင်း',
|
|
keywords: 'AI, Myanmar, Burmese, AI news, AI tutorials, machine learning, ChatGPT, မြန်မာ AI',
|
|
icons: {
|
|
icon: "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' rx='20' fill='%232563eb'/><text x='50' y='72' font-size='60' text-anchor='middle' fill='white' font-family='Arial' font-weight='bold'>B</text></svg>",
|
|
},
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="my" className={`${inter.variable} ${notoSansMyanmar.variable}`}>
|
|
<body className={`${inter.className} bg-gray-50 antialiased`}>
|
|
<Header />
|
|
<main className="min-h-screen">
|
|
{children}
|
|
</main>
|
|
<Footer />
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|