forked from UKSOURCE/hailearning.edu.vn
build ui header, footer, home page, about page
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
import type { Metadata } from "next";
|
||||
import "./globals.css";
|
||||
|
||||
import Header from "./components/Header";
|
||||
import Footer from "./components/Footer";
|
||||
import Script from "next/script";
|
||||
|
||||
// Import global styles locally if needed, but linking via head is safer for legacy assets
|
||||
// import "./globals.css";
|
||||
|
||||
import Header from "./components/layout/Header/Header";
|
||||
import Footer from "./components/layout/Footer/Footer";
|
||||
import Preloader from "./components/common/Preloader";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
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.",
|
||||
title: "Visaway – Immigration & Visa Consulting HTML Template",
|
||||
description: "Visaway – Immigration & Visa Consulting HTML Template",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -17,25 +19,50 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="vi">
|
||||
<html lang="en">
|
||||
<head>
|
||||
{/* Nhúng các file CSS template như news.html */}
|
||||
{/* Favicon */}
|
||||
<link rel="shortcut icon" href="/assets/img/favicon.png" />
|
||||
|
||||
{/* Bootstrap min.css */}
|
||||
<link rel="stylesheet" href="/assets/css/bootstrap.min.css" />
|
||||
{/* All Min Css */}
|
||||
<link rel="stylesheet" href="/assets/css/all.min.css" />
|
||||
{/* Animate.css */}
|
||||
<link rel="stylesheet" href="/assets/css/animate.css" />
|
||||
{/* Magnific Popup.css */}
|
||||
<link rel="stylesheet" href="/assets/css/magnific-popup.css" />
|
||||
{/* MeanMenu.css */}
|
||||
<link rel="stylesheet" href="/assets/css/meanmenu.css" />
|
||||
{/* Odometer.css */}
|
||||
<link rel="stylesheet" href="/assets/css/odometer.css" />
|
||||
{/* Swiper Bundle.css */}
|
||||
<link rel="stylesheet" href="/assets/css/swiper-bundle.min.css" />
|
||||
{/* Nice Select.css */}
|
||||
<link rel="stylesheet" href="/assets/css/nice-select.css" />
|
||||
{/* Main.css */}
|
||||
<link rel="stylesheet" href="/assets/css/main.css" />
|
||||
</head>
|
||||
<body className={`antialiased bg-gray-50`}>
|
||||
<body className="smooth-scroll-yes">
|
||||
|
||||
<Preloader />
|
||||
|
||||
{/* Mouse Cursor */}
|
||||
<div className="mouseCursor cursor-outer"></div>
|
||||
<div className="mouseCursor cursor-inner"></div>
|
||||
|
||||
{/* Back To Top */}
|
||||
<button id="back-top" className="back-to-top">
|
||||
<i className="fa-regular fa-arrow-up"></i>
|
||||
</button>
|
||||
|
||||
<Header />
|
||||
<main className="min-h-screen">{children}</main>
|
||||
|
||||
{children}
|
||||
|
||||
<Footer />
|
||||
{/* Nhúng các script JS giống news.html */}
|
||||
|
||||
{/* Scripts */}
|
||||
<Script src="/assets/js/jquery-3.7.1.min.js" strategy="beforeInteractive" />
|
||||
<Script src="/assets/js/viewport.jquery.js" strategy="afterInteractive" />
|
||||
<Script src="/assets/js/bootstrap.bundle.min.js" strategy="afterInteractive" />
|
||||
|
||||
Reference in New Issue
Block a user