初步建设主页和新闻页面

This commit is contained in:
2026-08-22 22:23:38 +08:00
parent 4238b81205
commit de9982c9eb
75 changed files with 2913 additions and 427 deletions
+6 -1
View File
@@ -1,9 +1,14 @@
import type { Metadata } from "next";
import "./globals.css";
import { SiteFooter } from "@/components/layout/site-footer";
import { SiteHeader } from "@/components/layout/site-header";
export const metadata: Metadata = {
title: "Kivotos Railway",
description: "Kivotos Railway website",
icons: {
icon: "/icon.svg",
},
};
export default function RootLayout({
@@ -11,7 +16,7 @@ export default function RootLayout({
}: Readonly<{ children: React.ReactNode }>) {
return (
<html lang="zh-CN">
<body>{children}</body>
<body><SiteHeader />{children}<SiteFooter /></body>
</html>
);
}