cooked/templates/index.html

26 lines
919 B
HTML
Raw Normal View History

2024-10-22 15:18:20 +02:00
{% extends "base.html" %}
2024-10-22 11:18:39 +02:00
2024-10-22 15:18:20 +02:00
{% block content %}
2024-10-25 17:13:01 +02:00
<main class="md:col-span-3 flex flex-col gap-4 m-4">
2024-10-22 15:18:20 +02:00
<div class="flex justify-center md:justify-end">
<a href="/sign-in" class="btn text-primary border-primary md:border-2 hover:shadow-lg transition ease-out duration-300">Login</a>
</div>
2024-10-25 17:13:01 +02:00
<header class="flex flex-col gap-2">
<h2 class="text-gray-600 text-6xl font-semibold text-center">Recipes</h2>
2024-10-22 15:18:20 +02:00
</header>
2024-10-25 17:13:01 +02:00
<div class="flex flex-col gap-8">
<div class="flex flex-wrap gap-8 justify-center">
2024-10-22 15:18:20 +02:00
{% for recipe in recipies %}
{{ recipe|safe }}
{% endfor %}
</div>
2024-10-25 17:13:01 +02:00
<div class="flex justify-center">
2024-10-22 15:18:20 +02:00
<div class="btn bg-secondary-100 text-secondary-200 hover:shadow-inner transform hover:scale-110 hover:bg-opacity-60 transition ease-out duration-300">Load More</div>
2024-10-22 11:18:39 +02:00
</div>
</div>
2024-10-22 15:18:20 +02:00
</main>
{% endblock %}