mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 10:10:30 +08:00
Make icon filling optional
We give the option to fill icons when needed, otherwise the SVG is rendered "as-is". Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
@@ -142,7 +142,7 @@
|
||||
<div class="links">
|
||||
{#if profile.url}
|
||||
<a class="url mobile" href={profile.url}>
|
||||
<Icon name="url" inline />
|
||||
<Icon name="url" fill inline />
|
||||
</a>
|
||||
<a class="url desktop" href={profile.url}>
|
||||
{profile.url}
|
||||
@@ -150,12 +150,12 @@
|
||||
{/if}
|
||||
{#if profile.twitter}
|
||||
<a class="url" href="https://twitter.com/{profile.twitter}">
|
||||
<Icon name="twitter" inline />
|
||||
<Icon name="twitter" fill inline />
|
||||
</a>
|
||||
{/if}
|
||||
{#if profile.github}
|
||||
<a class="url" href="https://github.com/{profile.github}">
|
||||
<Icon name="github" inline />
|
||||
<Icon name="github" fill inline />
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user