Skip to content

Commit

Permalink
Merge pull request #1206 from AletheiaFact/feature-1167/footer-copyri…
Browse files Browse the repository at this point in the history
…ght-year

copyright year adjusted
  • Loading branch information
pepermao committed May 27, 2024
2 parents 825ff90 + 170d7a8 commit 857b161
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion public/locales/en/footer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"copyright": "AletheiaFact.org ©2021",
"copyright": "AletheiaFact.org ©{{date}}",
"creativeCommons": "All content in this platform is licensed under a ",
"socialMedia": "Follow our social media",
"contactEmail": "contact@aletheiafact.org",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/pt/footer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"copyright": "AletheiaFact.org ©2021",
"copyright": "AletheiaFact.org ©{{date}}",
"creativeCommons": "Todo conteúdo dessa plataforma é licenciado através da licença ",
"socialMedia": "Siga nossas redes sociais",
"contactEmail": "contato@aletheiafact.org",
Expand Down
4 changes: 3 additions & 1 deletion src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ const Footer = () => {
textAlign: "center",
}}
>
{t("footer:copyright")}
{t("footer:copyright", {
date: new Date().getFullYear(),
})}
</h3>
</Row>
</Col>
Expand Down

0 comments on commit 857b161

Please sign in to comment.