using rocket instead of astro

This commit is contained in:
Philippe Loctaux 2023-12-01 10:54:31 +01:00
parent eb72400722
commit e61ef1d4c3
79 changed files with 4406 additions and 8501 deletions

View file

@ -0,0 +1,39 @@
<div class="grid grid-cols-3 lg:grid-cols-6 gap-4 place-content-center">
{% for network in networks %}
<div class="w-full h-auto md:w-auto">
<div class="text-center">
<a
target="_blank"
href="{{ network.uri }}"
class="inline-flex bg-sky-900 hover:bg-sky-700 transition-all duration-200 text-white font-bold py-2 px-4 rounded-xl items-center"
>
{% match network.icon %}
{% when Icon::Email %}
{% include "icons/email.html" %}
{% when Icon::Github %}
{% include "icons/github.html" %}
{% when Icon::Linkedin %}
{% include "icons/linkedin.html" %}
{% when Icon::Mastodon %}
{% include "icons/mastodon.html" %}
{% when Icon::Telegram %}
{% include "icons/telegram.html" %}
{% when Icon::Twitter %}
{% include "icons/twitter.html" %}
{% endmatch %}
<div class="inline-flex items-center">
<span class="hidden sm:inline">{{ network.name }}</span>
</div>
</a>
</div>
</div>
{% endfor %}
</div>