From 4bb06d152a1cba7f8e7d7e30485fdc91abc0bafd Mon Sep 17 00:00:00 2001 From: mackt <1033530438@qq.com> Date: Thu, 18 Apr 2024 11:44:31 +0800 Subject: [PATCH] feat(Footer): new Footer --- public/img/download/footer_android.svg | 3 + public/img/download/footer_ios.svg | 3 + public/img/download/footer_mac.svg | 3 + public/img/download/footer_pad.svg | 3 + src/components/Footer/Copyright.tsx | 39 ++++++++ src/components/Footer/DownLoadItem.tsx | 19 ++++ src/components/Footer/Footer.tsx | 23 +++++ src/components/Footer/FooterDownload.tsx | 15 +++ src/components/Footer/FooterPlatform.tsx | 20 ++++ src/components/Footer/FooterSocial.tsx | 30 ++++++ .../{Footer.tsx => Footer/MiniFooter.tsx} | 21 +--- src/components/Footer/data.ts | 96 +++++++++++++++++++ src/components/index.ts | 3 +- 13 files changed, 258 insertions(+), 20 deletions(-) create mode 100644 public/img/download/footer_android.svg create mode 100644 public/img/download/footer_ios.svg create mode 100644 public/img/download/footer_mac.svg create mode 100644 public/img/download/footer_pad.svg create mode 100644 src/components/Footer/Copyright.tsx create mode 100644 src/components/Footer/DownLoadItem.tsx create mode 100644 src/components/Footer/Footer.tsx create mode 100644 src/components/Footer/FooterDownload.tsx create mode 100644 src/components/Footer/FooterPlatform.tsx create mode 100644 src/components/Footer/FooterSocial.tsx rename src/components/{Footer.tsx => Footer/MiniFooter.tsx} (67%) create mode 100644 src/components/Footer/data.ts diff --git a/public/img/download/footer_android.svg b/public/img/download/footer_android.svg new file mode 100644 index 0000000..b84c8b1 --- /dev/null +++ b/public/img/download/footer_android.svg @@ -0,0 +1,3 @@ + diff --git a/public/img/download/footer_ios.svg b/public/img/download/footer_ios.svg new file mode 100644 index 0000000..26b6b95 --- /dev/null +++ b/public/img/download/footer_ios.svg @@ -0,0 +1,3 @@ + diff --git a/public/img/download/footer_mac.svg b/public/img/download/footer_mac.svg new file mode 100644 index 0000000..3152ffb --- /dev/null +++ b/public/img/download/footer_mac.svg @@ -0,0 +1,3 @@ + diff --git a/public/img/download/footer_pad.svg b/public/img/download/footer_pad.svg new file mode 100644 index 0000000..b125679 --- /dev/null +++ b/public/img/download/footer_pad.svg @@ -0,0 +1,3 @@ + diff --git a/src/components/Footer/Copyright.tsx b/src/components/Footer/Copyright.tsx new file mode 100644 index 0000000..2066e33 --- /dev/null +++ b/src/components/Footer/Copyright.tsx @@ -0,0 +1,39 @@ +import Link from 'next/link'; + +import { agreementList } from './data'; + +export default function Copyright({ className }: { className?: string }) { + return ( +
+ + 粤ICP备2024190175号-1 + + + + 粤公网安备44030002002777号 + + + 深圳雀乐文化科技有限责任公司 Shenzhen QueYue Culture Technology Co., Ltd. +
+ + {/* 协议 */} ++ {agreementList.map(({ name, url }) => ( + + {name} + + ))} +
+