feat: setup frontend Next.js project structure

This commit is contained in:
nguyenvanbao
2026-01-31 12:35:43 +07:00
parent 3c9a113721
commit 5b62149051
28 changed files with 3195 additions and 23 deletions

View File

@@ -1,6 +1,8 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import Header from "./components/Header";
import Footer from "./components/Footer";
const geistSans = Geist({
variable: "--font-geist-sans",
@@ -13,8 +15,9 @@ const geistMono = Geist_Mono({
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "VisaService - Dịch vụ visa uy tín",
description:
"Dịch vụ visa chuyên nghiệp với tỷ lệ thành công 99%. Hỗ trợ visa cho hơn 50 quốc gia.",
};
export default function RootLayout({
@@ -23,11 +26,13 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en">
<html lang="vi">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
className={`${geistSans.variable} ${geistMono.variable} antialiased bg-gray-50`}
>
{children}
<Header />
<main className="min-h-screen">{children}</main>
<Footer />
</body>
</html>
);