1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-08-06 22:33:08 +02:00

Remove macros

This commit is contained in:
mo8it
2025-05-17 19:53:30 +02:00
parent b4a6b87e24
commit 2f700991f3
6 changed files with 40 additions and 54 deletions

View File

@ -52,7 +52,7 @@
<a class="transition duration-500 hover:scale-110"
href="{{ get_url(path='/') | safe }}"
aria-hidden="true">
<img class="m-0 w-12 h-12"
<img class="w-12 h-12"
src="{{ get_url(path=config.extra.logo_path) | safe }}"
alt="">
</a>
@ -68,17 +68,17 @@
{% block content %}{% endblock %}
</main>
<footer class="pt-2 pb-1 mt-auto text-center">
<div class="mx-auto inline-flex gap-x-1.5 items-center">
<footer class="pt-2 pb-1 mt-auto text-center text-sm">
<div class="mt-2 mx-auto inline-flex gap-x-1.5 items-center">
<img class="w-8 h-8"
src="{{ get_url(path='images/rust_logo.svg') | safe }}"
alt="">
<div class="text-sm italic">Rustlings is an official Rust project</div>
<div class="italic">Rustlings is an official Rust project</div>
</div>
<nav class="flex flex-col gap-y-3 justify-around py-3 bg-black/30 rounded-sm sm:flex-row sm:rounded-full">
<nav class="mt-3 flex flex-col gap-y-3 justify-around py-3 bg-black/30 rounded-sm sm:flex-row sm:rounded-full">
{% for footer_item in config.extra.footer_items %}
<a class="text-sm no-underline" href="{{ footer_item.url | safe }}">{{ footer_item.name }}</a>
<a class="no-underline" href="{{ footer_item.url | safe }}">{{ footer_item.name }}</a>
{% endfor %}
</nav>
</footer>