Skip to content

Commit 0f4aca3

Browse files
authored
docs: make year update dynamically on website and docs (#945)
* docs: make year update dynamically on website and docs * docs(docs): make year update dynamically
1 parent 6e2ef75 commit 0f4aca3

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

apps/docs/i18n/en/code.json

-3
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,5 @@
390390
},
391391
"footer.right.connect.link2": {
392392
"message": "X (Twitter)"
393-
},
394-
"footer.copyright": {
395-
"message": "Copyright © 2024 Ethereum Foundation"
396393
}
397394
}

apps/docs/i18n/es/code.json

-3
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,5 @@
390390
},
391391
"footer.right.connect.link2": {
392392
"message": "X (Twitter)"
393-
},
394-
"footer.copyright": {
395-
"message": "Copyright © 2024 Ethereum Foundation"
396393
}
397394
}

apps/docs/src/theme/Footer/index.tsx

+1-5
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@ function Footer() {
5454
<hr />
5555

5656
<div>
57-
<p>
58-
{translate({
59-
id: "footer.copyright"
60-
})}
61-
</p>
57+
<p>Copyright © {new Date().getFullYear()} Ethereum Foundation</p>
6258

6359
<Logo
6460
style={{ marginRight: -8 }}

apps/website/src/components/Footer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default function Footer() {
8888
</Link>
8989

9090
<Text fontSize={{ base: "12px", md: "14px" }} color="text.500" pt="2">
91-
Copyright © 2024 Ethereum Foundation
91+
Copyright © {new Date().getFullYear()} Ethereum Foundation
9292
</Text>
9393
</VStack>
9494
</VStack>

0 commit comments

Comments
 (0)