Add icon to explore link in navbar
This commit is contained in:
parent
5eaf053f7a
commit
4751eba366
@ -145,7 +145,12 @@ function getTodayEvent() {
|
||||
<a {{ if entry.url == currentUrl }} aria-current="page"{{ /if }} href="{{ entry.url }}">{{ entry.title }}</a>
|
||||
</li>
|
||||
{{ /for }}
|
||||
<li><a {{ if currentUrl.includes("/explore") }} aria-current="page"{{ /if }} href="/explore/">Explore</a></li>
|
||||
<li>
|
||||
<a {{ if currentUrl.includes("/explore") }} aria-current="page"{{ /if }} href="/explore/">
|
||||
<svg class="inline-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm50.7-186.9L162.4 380.6c-19.4 7.5-38.5-11.6-31-31l55.5-144.3c3.3-8.5 9.9-15.1 18.4-18.4l144.3-55.5c19.4-7.5 38.5 11.6 31 31L325.1 306.7c-3.2 8.5-9.9 15.1-18.4 18.4zM288 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/></svg>
|
||||
Explore
|
||||
</a>
|
||||
</li>
|
||||
{{ /set }}
|
||||
|
||||
{{ content }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user