Skip to content

Commit

Permalink
changes footer copyright text
Browse files Browse the repository at this point in the history
  • Loading branch information
BonomoAlessandro committed Nov 15, 2024
1 parent 599cdf7 commit 20be8ff
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
35 changes: 19 additions & 16 deletions src/frontend/src/lib/components/core/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,26 @@
class:md:translate-x-full={$authSignedIn}
class:1.5md:translate-x-0={$authSignedIn}
>
<ExternalLink
href="https://dfinity.org"
ariaLabel={replaceOisyPlaceholders($i18n.footer.alt.dfinity)}
iconVisible={false}
>
<div class="flex flex-row items-center gap-2">
<IconDfinity />
<span
class:md:hidden={$authSignedIn}
class:xl:flex={$authSignedIn}
class:md:h-md:hidden={$authNotSignedIn}
class:1.5md:h-md:flex={$authNotSignedIn}
<div class="flex flex-row items-center gap-2">
<IconDfinity />
<span
class:md:hidden={$authSignedIn}
class:xl:flex={$authSignedIn}
class:md:h-md:hidden={$authNotSignedIn}
class:1.5md:h-md:flex={$authNotSignedIn}
>
{replaceOisyPlaceholders($i18n.footer.text.incubated_with)}
<ExternalLink
href="https://dfinity.org"
ariaLabel={replaceOisyPlaceholders($i18n.footer.alt.dfinity)}
iconVisible={false}
color="blue"
>
{replaceOisyPlaceholders($i18n.footer.text.developed_with)}
</span>
</div>
</ExternalLink>
{replaceOisyPlaceholders($i18n.footer.text.dfinity_foundation)}
</ExternalLink>
{replaceOisyPlaceholders($i18n.footer.text.copyright)}
</span>
</div>
</div>
</div>
</footer>
4 changes: 3 additions & 1 deletion src/frontend/src/lib/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@
},
"footer": {
"text": {
"developed_with": "© 2024 Developed with ❤\uFE0F at DFINITY"
"incubated_with": "Incubated with ❤\uFE0F by \uFE0F",
"dfinity_foundation": "DFINITY Foundation \uFE0F",
"copyright": "© 2024"
},
"alt": {
"dfinity": "Go to DFINITY Foundation website",
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/lib/types/i18n.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ interface I18nDapps {
}

interface I18nFooter {
text: { developed_with: string };
text: { incubated_with: string, dfinity_foundation: string, copyright: string };
alt: { dfinity: string; status: string };
}

Expand Down

0 comments on commit 20be8ff

Please sign in to comment.