From df221fa145184de05fddc28e6f70468cf07251f5 Mon Sep 17 00:00:00 2001 From: yezian Date: Tue, 23 Jan 2024 18:29:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9footer=EF=BC=8C=E5=8F=AA?= =?UTF-8?q?=E5=9C=A8=E6=A0=B9=E7=9B=AE=E5=BD=95=E5=87=BA=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/[user_id]/page.jsx | 2 +- app/auth/login/layout.jsx | 2 +- app/layout.jsx | 30 ------------------------------ app/page.jsx | 2 ++ components/Footer/index.jsx | 36 ++++++++++++++++++++++++++++++++++++ 5 files changed, 40 insertions(+), 32 deletions(-) create mode 100644 components/Footer/index.jsx diff --git a/app/[user_id]/page.jsx b/app/[user_id]/page.jsx index 0d75dfa..7792e95 100644 --- a/app/[user_id]/page.jsx +++ b/app/[user_id]/page.jsx @@ -77,7 +77,7 @@ export default function StreamerDetail({ params }) {
-
+
diff --git a/app/auth/login/layout.jsx b/app/auth/login/layout.jsx index 19b527b..d4a3f68 100644 --- a/app/auth/login/layout.jsx +++ b/app/auth/login/layout.jsx @@ -9,7 +9,7 @@ export default function LoginLayout({ children }) { const pathname = usePathname(); return (
- +
{children}
- ); diff --git a/app/page.jsx b/app/page.jsx index 4ef2e46..e1f84d9 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -11,6 +11,7 @@ import download_leftbottom from "@/public/images/download_leftbottom.png"; import download_rightbottom from "@/public/images/download_rightbottom.png"; import slogan from "@/public/images/slogan.png"; import qrcode from "@/public/images/qrcode.png"; +import Footer from "@/components/Footer"; export default function Home() { const [deviceType, setDeviceType] = useState(""); @@ -130,6 +131,7 @@ export default function Home() { )}
+
); } diff --git a/components/Footer/index.jsx b/components/Footer/index.jsx new file mode 100644 index 0000000..f63e1d4 --- /dev/null +++ b/components/Footer/index.jsx @@ -0,0 +1,36 @@ +import React from "react"; +import beian from "@/public/images/beian.png"; +import Image from "next/image"; + +export default function Footer() { + return ( + + ); +}