From ad6454c8fdb193ef8d1da3a4d3ccf0ab70fea45c Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Sat, 27 Jul 2024 14:15:45 +0800 Subject: [PATCH] feat: add copyright footer --- app/(main)/footer.tsx | 22 ++++++++++++++++++++++ app/(main)/layout.tsx | 4 +++- app/(main)/page.tsx | 1 - 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 app/(main)/footer.tsx diff --git a/app/(main)/footer.tsx b/app/(main)/footer.tsx new file mode 100644 index 0000000..a14f070 --- /dev/null +++ b/app/(main)/footer.tsx @@ -0,0 +1,22 @@ +export default function Footer() { + return ( + + ) +} diff --git a/app/(main)/layout.tsx b/app/(main)/layout.tsx index 19b2d6a..dcb0983 100644 --- a/app/(main)/layout.tsx +++ b/app/(main)/layout.tsx @@ -2,6 +2,7 @@ import React from "react"; import Header from "@/app/(main)/header"; import BlurLayers from "@/components/BlurLayer"; +import Footer from "./footer"; type DashboardProps = { children: React.ReactNode; @@ -12,9 +13,10 @@ export default function MainLayout({ children }: DashboardProps) {
- + {/* */} {/*
); diff --git a/app/(main)/page.tsx b/app/(main)/page.tsx index a03186d..26e7e08 100644 --- a/app/(main)/page.tsx +++ b/app/(main)/page.tsx @@ -9,7 +9,6 @@ export default function Home() {
-
); }