chore: update footer

This commit is contained in:
CDN 2025-02-03 20:30:56 +08:00
parent efe0b21753
commit 23397634f1
Signed by: CDN
GPG key ID: 0C656827F9F80080
4 changed files with 4 additions and 4 deletions

View file

@ -124,7 +124,7 @@
"system": "System" "system": "System"
}, },
"footer": { "footer": {
"copyright": " 2024 STARSET Mirror." "copyright": " 2020-{{currentYear}} STARSET Mirror."
}, },
"social": { "social": {
"links": [ "links": [

View file

@ -124,7 +124,7 @@
"system": "跟随系统" "system": "跟随系统"
}, },
"footer": { "footer": {
"copyright": " 2024 STARSET Mirror." "copyright": " 2020-{{currentYear}} STARSET Mirror."
}, },
"social": { "social": {
"links": [ "links": [

View file

@ -108,7 +108,7 @@
"system": "跟隨系統" "system": "跟隨系統"
}, },
"footer": { "footer": {
"copyright": " 2024 STARSET Mirror." "copyright": " 2020-{{currentYear}} STARSET Mirror."
}, },
"social": { "social": {
"links": [ "links": [

View file

@ -78,7 +78,7 @@ function App() {
<footer className="bg-gray-900 dark:bg-gray-950 text-white py-6" role="contentinfo"> <footer className="bg-gray-900 dark:bg-gray-950 text-white py-6" role="contentinfo">
<div className="container mx-auto px-4"> <div className="container mx-auto px-4">
<div className="flex flex-col items-center"> <div className="flex flex-col items-center">
<p className="text-gray-400 mb-4"> {t('footer.copyright')}</p> <p className="text-gray-400 mb-4"> {t('footer.copyright', { currentYear: new Date().getFullYear() })}</p>
<div className="flex space-x-6"> <div className="flex space-x-6">
{socialLinks.map((link: any) => { {socialLinks.map((link: any) => {
const Icon = iconMap[link.icon as keyof typeof iconMap]; const Icon = iconMap[link.icon as keyof typeof iconMap];