From 0fd83976e7b0522d8bba5181dc534e068bf18321 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Thu, 14 Nov 2024 12:02:42 +0800 Subject: [PATCH] =?UTF-8?q?HEO=E4=B8=BB=E9=A2=98=E9=A1=B5=E8=84=9A?= =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/heo/components/Footer.js | 25 +++++++++---------------- themes/heo/index.js | 6 ++++-- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/themes/heo/components/Footer.js b/themes/heo/components/Footer.js index 81bf7951..2d189ee7 100644 --- a/themes/heo/components/Footer.js +++ b/themes/heo/components/Footer.js @@ -1,14 +1,13 @@ import { BeiAnGongAn } from '@/components/BeiAnGongAn' +import CopyRightDate from '@/components/CopyRightDate' +import PoweredBy from '@/components/PoweredBy' import { siteConfig } from '@/lib/config' import SocialButton from './SocialButton' - -const Footer = ({ title }) => { - const d = new Date() - const currentYear = d.getFullYear() - const since = siteConfig('SINCE') - const copyrightDate = - parseInt(since) < currentYear ? since + '-' + currentYear : currentYear - +/** + * 页脚 + * @returns + */ +const Footer = () => { return (