-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style(frontend): changes footer copyright text #3588
Changes from 16 commits
20be8ff
850e3a7
b765ff8
e8b4169
d2581b6
a38bd29
22fedda
97f0b7a
413c4cb
779bb41
2eb83cb
fb0b408
8e5e7a9
10fb707
6767d91
bf0a7b7
0834cc6
b29c3eb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,35 +53,44 @@ | |
</div> | ||
|
||
<div | ||
class="item pointer-events-auto flex flex-row items-center justify-end gap-2 text-sm lg:max-w-48 xl:max-w-none" | ||
class="item pointer-events-auto px-6 text-sm md:pl-0 md:pr-0 lg:max-w-48" | ||
class:sm:max-w-none={$authNotSignedIn} | ||
class:lg:max-w-none={$authNotSignedIn} | ||
class:xl:max-w-none={$authNotSignedIn} | ||
class:xl:max-w-80={$authSignedIn} | ||
class:1.5xl:max-w-none={$authSignedIn} | ||
class:md:h-md:pr-4={$authNotSignedIn} | ||
class:md:transition-all={$authSignedIn} | ||
class:md:duration-200={$authSignedIn} | ||
class:md:ease-in-out={$authSignedIn} | ||
class:md:invisible={$authSignedIn} | ||
class:1.5md:visible={$authSignedIn} | ||
class:md:translate-x-full={$authSignedIn} | ||
class:1.5md:translate-x-0={$authSignedIn} | ||
class:1.5md:visible={$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-col items-center pt-2 sm:flex-row sm:items-start sm:gap-2"> | ||
<span class="-mt-[0.35rem]"><IconDfinity size="30" /></span> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's the reason for negative margin? To align in some custom way the icon with the text? Maybe some line-height for the text could do the job? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes exactly, this is used to aligne the icon with the text. The line-height for the text did not work as needed so i had to use this. |
||
<span | ||
class:md:hidden={$authSignedIn} | ||
class:xl:block={$authSignedIn} | ||
class:md:h-md:hidden={$authNotSignedIn} | ||
class:1.5md:h-md:block={$authNotSignedIn} | ||
class="text-center md:text-left" | ||
> | ||
{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.dfinity_foundation)} | ||
</ExternalLink> | ||
<span class="whitespace-nowrap" | ||
>{replaceOisyPlaceholders($i18n.footer.text.copyright)}</span | ||
> | ||
{replaceOisyPlaceholders($i18n.footer.text.developed_with)} | ||
</span> | ||
</div> | ||
</ExternalLink> | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Padding can be shortened for md too: md:px-0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DenysKarmazynDFINITY
You are right. I just fixed it.