chore: tweak nav

This commit is contained in:
Cory Dransfeldt 2023-11-28 08:55:23 -08:00
parent 747e886076
commit cc42c51987
No known key found for this signature in database
3 changed files with 6 additions and 4 deletions

View file

@ -7,7 +7,8 @@ module.exports = async function () {
{ name: 'Tags', icon: 'tags' }, { name: 'Tags', icon: 'tags' },
{ name: 'Search', icon: 'search' }, { name: 'Search', icon: 'search' },
{ name: 'Feeds', icon: 'rss' }, { name: 'Feeds', icon: 'rss' },
{ name: 'Webrings', icon: 'heart-handshake' }, { name: 'Mastodon', url: 'https://social.lol/@cory', icon: 'brand-mastodon' },
{ name: 'Buy Me a Coffee', url: 'https://www.buymeacoffee.com/cory', icon: 'cup' },
], ],
social: [ social: [
{ name: 'Email', url: 'mailto:cory.dransfeldt@gmail.com', icon: 'brand-gmail' }, { name: 'Email', url: 'mailto:cory.dransfeldt@gmail.com', icon: 'brand-gmail' },
@ -17,6 +18,7 @@ module.exports = async function () {
{ name: 'Trakt', url: 'https://trakt.tv/users/cdransf', icon: 'device-tv' }, { name: 'Trakt', url: 'https://trakt.tv/users/cdransf', icon: 'device-tv' },
{ name: 'The StoryGraph', url: 'https://app.thestorygraph.com/profile/coryd', icon: 'books' }, { name: 'The StoryGraph', url: 'https://app.thestorygraph.com/profile/coryd', icon: 'books' },
{ name: 'Buy Me a Coffee', url: 'https://www.buymeacoffee.com/cory', icon: 'cup' }, { name: 'Buy Me a Coffee', url: 'https://www.buymeacoffee.com/cory', icon: 'cup' },
{ name: 'Webrings', icon: 'heart-handshake' },
], ],
} }
} }

View file

@ -1,7 +1,7 @@
<nav> <nav>
<ul class="flex"> <ul class="flex">
{% for link in nav.menu %} {% for link in nav.menu %}
<li{% if not forloop.last %} class="mr-6"{% endif %}> <li{% if not forloop.last %} class="mr-4"{% endif %}>
{% render "partials/nav/link.liquid", page: page, link: link.name, icon: link.icon %} {% render "partials/nav/link.liquid", page: page, link: link.name, icon: link.icon %}
</li> </li>
{% endfor %} {% endfor %}

View file

@ -1201,8 +1201,8 @@ video {
margin-right: 0.5rem; margin-right: 0.5rem;
} }
.mr-6 { .mr-4 {
margin-right: 1.5rem; margin-right: 1rem;
} }
.mt-0 { .mt-0 {