feat: layout gốc dùng Noto Sans tiếng Việt, metadata Như Quỳnh

This commit is contained in:
tuyenio
2026-06-23 10:57:03 +07:00
parent 1f79c8b37d
commit af51ee4447
+15 -16
View File
@@ -1,20 +1,22 @@
import type { Metadata } from "next"; import type { Metadata, Viewport } from "next";
import { Geist, Geist_Mono } from "next/font/google"; import { Noto_Sans } from "next/font/google";
import "./globals.css"; import "./globals.css";
const geistSans = Geist({ const notoSans = Noto_Sans({
variable: "--font-geist-sans", subsets: ["latin", "vietnamese"],
subsets: ["latin"], variable: "--font-noto-sans",
}); weight: ["400", "500", "600", "700", "800"],
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Create Next App", title: "VR360 Di sản Xã Như Quỳnh",
description: "Generated by create next app", description:
"Cổng số hóa di tích, không gian văn hóa và giá trị truyền thống của Xã Như Quỳnh, tỉnh Hưng Yên bằng công nghệ tham quan thực tế ảo VR360.",
};
export const viewport: Viewport = {
width: "device-width",
initialScale: 1,
}; };
export default function RootLayout({ export default function RootLayout({
@@ -23,10 +25,7 @@ export default function RootLayout({
children: React.ReactNode; children: React.ReactNode;
}>) { }>) {
return ( return (
<html <html lang="vi" className={`${notoSans.variable} h-full antialiased`}>
lang="en"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col">{children}</body> <body className="min-h-full flex flex-col">{children}</body>
</html> </html>
); );