chore: update footer
This commit is contained in:
parent
efe0b21753
commit
23397634f1
4 changed files with 4 additions and 4 deletions
|
@ -124,7 +124,7 @@
|
||||||
"system": "System"
|
"system": "System"
|
||||||
},
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"copyright": " 2024 STARSET Mirror."
|
"copyright": " 2020-{{currentYear}} STARSET Mirror."
|
||||||
},
|
},
|
||||||
"social": {
|
"social": {
|
||||||
"links": [
|
"links": [
|
||||||
|
|
|
@ -124,7 +124,7 @@
|
||||||
"system": "跟随系统"
|
"system": "跟随系统"
|
||||||
},
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"copyright": " 2024 STARSET Mirror."
|
"copyright": " 2020-{{currentYear}} STARSET Mirror."
|
||||||
},
|
},
|
||||||
"social": {
|
"social": {
|
||||||
"links": [
|
"links": [
|
||||||
|
|
|
@ -108,7 +108,7 @@
|
||||||
"system": "跟隨系統"
|
"system": "跟隨系統"
|
||||||
},
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"copyright": " 2024 STARSET Mirror."
|
"copyright": " 2020-{{currentYear}} STARSET Mirror."
|
||||||
},
|
},
|
||||||
"social": {
|
"social": {
|
||||||
"links": [
|
"links": [
|
||||||
|
|
|
@ -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];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue