From c441ed7026cfa6bc82f51d3094f2376746b8cce5 Mon Sep 17 00:00:00 2001 From: iye <1713042409@qq.com> Date: Tue, 12 May 2026 09:32:46 +0800 Subject: [PATCH] feat(layout): add Navigation, Footer and Logo components with root layout shell --- src/app/layout.tsx | 8 +- src/app/page.tsx | 154 +++++++++++++++++----------------- src/components/Footer.tsx | 57 +++++++++++++ src/components/Logo.tsx | 41 +++++++++ src/components/Navigation.tsx | 110 ++++++++++++++++++++++++ 5 files changed, 293 insertions(+), 77 deletions(-) create mode 100644 src/components/Footer.tsx create mode 100644 src/components/Logo.tsx create mode 100644 src/components/Navigation.tsx diff --git a/src/app/layout.tsx b/src/app/layout.tsx index a21e39e..d5ca1d7 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,5 +1,7 @@ import type { Metadata } from "next"; import { Megrim, Audiowide, Cinzel, Inter } from "next/font/google"; +import Navigation from "@/components/Navigation"; +import Footer from "@/components/Footer"; import "./globals.css"; const megrim = Megrim({ @@ -51,7 +53,11 @@ export default function RootLayout({ lang="zh-CN" className={`${megrim.variable} ${audiowide.variable} ${cinzel.variable} ${inter.variable} h-full antialiased`} > -
{children} + +