-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): add a link to learn more about ERC20 ICP on Ethereum (#…
…383)
- Loading branch information
1 parent
42db866
commit e2a4c6f
Showing
5 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<script lang="ts"> | ||
import { ERC20_ICP_REPO_URL } from '$lib/constants/erc20-icp.constants'; | ||
import { IconInfo } from '@dfinity/gix-components'; | ||
</script> | ||
|
||
<a | ||
href={ERC20_ICP_REPO_URL} | ||
rel="external noopener noreferrer" | ||
target="_blank" | ||
class="no-underline inline-block text-center pt-1 pb-3 font-bold text-xs md:text-base" | ||
> | ||
<IconInfo /> | ||
<span class="pl-1">Learn more about ERC20 ICP on Ethereum.</span> | ||
</a> | ||
|
||
<style lang="scss"> | ||
a { | ||
color: var(--alpha-color, var(--color-misty-rose)); | ||
margin: 0 auto; | ||
:global(svg) { | ||
vertical-align: bottom; | ||
@include media.min-width(medium) { | ||
vertical-align: sub; | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters