-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use iconify-icon web component for icons
- Loading branch information
Showing
22 changed files
with
97 additions
and
435 deletions.
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 |
---|---|---|
@@ -1,33 +1,55 @@ | ||
{%- if theme_readthedocs_url %} | ||
<a href="{{ theme_readthedocs_url }}" aria-label="Readthedocs"><i class="i-simpleicons readthedocs"></i></a> | ||
<a href="{{ theme_readthedocs_url }}" aria-label="Readthedocs"> | ||
<iconify-icon icon="simple-icons:readthedocs"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_github_url %} | ||
<a href="{{ theme_github_url }}" aria-label="GitHub"><i class="i-simpleicons github"></i></a> | ||
<a href="{{ theme_github_url }}" aria-label="GitHub"> | ||
<iconify-icon icon="simple-icons:github"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_gitlab_url %} | ||
<a href="{{ theme_gitlab_url }}" aria-label="Gitlab"><i class="i-simpleicons gitlab"></i></a> | ||
<a href="{{ theme_gitlab_url }}" aria-label="Gitlab"> | ||
<iconify-icon icon="simple-icons:github"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_bitbucket_url %} | ||
<a href="{{ theme_bitbucket_url }}" aria-label="Bitbucket"><i class="i-simpleicons bitbucket"></i></a> | ||
<a href="{{ theme_bitbucket_url }}" aria-label="Bitbucket"> | ||
<iconify-icon icon="simple-icons:bitbucket"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_twitter_url %} | ||
<a href="{{ theme_twitter_url }}" aria-label="X (Twitter)"><i class="i-simpleicons x-twitter"></i></a> | ||
<a href="{{ theme_twitter_url }}" aria-label="X (Twitter)"> | ||
<iconify-icon icon="prime:twitter"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_mastodon_url %} | ||
<a href="{{ theme_mastodon_url }}" aria-label="Mastodon"><i class="i-simpleicons mastodon"></i></a> | ||
<a href="{{ theme_mastodon_url }}" aria-label="Mastodon"> | ||
<iconify-icon icon="simple-icons:mastodon"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_slack_url %} | ||
<a href="{{ theme_slack_url }}" aria-label="Slack"><i class="i-simpleicons slack"></i></a> | ||
<a href="{{ theme_slack_url }}" aria-label="Slack"> | ||
<iconify-icon icon="simple-icons:slack"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_discord_url %} | ||
<a href="{{ theme_discord_url }}" aria-label="Discord"><i class="i-simpleicons discord"></i></a> | ||
<a href="{{ theme_discord_url }}" aria-label="Discord"> | ||
<iconify-icon icon="simple-icons:discord"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_youtube_url %} | ||
<a href="{{ theme_youtube_url }}" aria-label="YouTube"><i class="i-simpleicons youtube"></i></a> | ||
<a href="{{ theme_youtube_url }}" aria-label="YouTube"> | ||
<iconify-icon icon="simple-icons:youtube"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_reddit_url %} | ||
<a href="{{ theme_reddit_url }}" aria-label="Reddit"><i class="i-simpleicons reddit"></i></a> | ||
<a href="{{ theme_reddit_url }}" aria-label="Reddit"> | ||
<iconify-icon icon="simple-icons:reddit"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_linkedin_url %} | ||
<a href="{{ theme_linkedin_url }}" aria-label="LinkedIn"><i class="i-simpleicons linkedin"></i></a> | ||
<a href="{{ theme_linkedin_url }}" aria-label="LinkedIn"> | ||
<iconify-icon icon="simple-icons:linkedin"></iconify-icon> | ||
</a> | ||
{%- endif %} |
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 |
---|---|---|
@@ -1,27 +1,27 @@ | ||
{%- if theme_github_url %} | ||
<a href="{{ theme_github_url }}" aria-label="GitHub"> | ||
<i class="i-simpleicons github"></i> | ||
<iconify-icon icon="simple-icons:github"></iconify-icon> | ||
</a> | ||
{%- elif theme_gitlab_url %} | ||
<a href="{{ theme_gitlab_url }}" aria-label="Gitlab"> | ||
<i class="i-simpleicons gitlab"></i> | ||
<iconify-icon icon="simple-icons:gitlab"></iconify-icon> | ||
</a> | ||
{%- elif theme_bitbucket_url %} | ||
<a href="{{ theme_bitbucket_url }}" aria-label="Bitbucket"> | ||
<i class="i-simpleicons bitbucket"></i> | ||
<iconify-icon icon="simple-icons:bitbucket"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_twitter_url %} | ||
<a href="{{ theme_twitter_url }}" aria-label="X (Twitter)"> | ||
<i class="i-simpleicons x-twitter"></i> | ||
<iconify-icon icon="prime:twitter"></iconify-icon> | ||
</a> | ||
{%- endif %} | ||
{%- if theme_discord_url %} | ||
<a href="{{ theme_discord_url }}" aria-label="Discord"> | ||
<i class="i-simpleicons discord"></i> | ||
<iconify-icon icon="simple-icons:discord"></iconify-icon> | ||
</a> | ||
{%- elif theme_slack_url %} | ||
<a href="{{ theme_slack_url }}" aria-label="Slack"> | ||
<i class="i-simpleicons slack"></i> | ||
<iconify-icon icon="simple-icons:slack"></iconify-icon> | ||
</a> | ||
{%- endif %} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import "iconify-icon" | ||
import "./js/menu" | ||
import "./js/banner" | ||
import "./js/theme" | ||
|
Oops, something went wrong.