feat: Add index page in bulma

This commit is contained in:
moanos [he/him] 2025-05-09 20:12:12 +02:00
parent 2106a3423f
commit 45a534a042

View File

@ -0,0 +1,37 @@
{% extends "fellchensammlung/base_bulma.html" %}
{% load i18n %}
{% load custom_tags %}
{% block title %}<title>{% translate "Notfellchen - Farbratten aus dem Tierschutz adoptieren" %}</title>{% endblock %}
{% block content %}
{% for announcement in announcements %}
{% include "fellchensammlung/partials/partial-announcement.html" %}
{% endfor %}
{% if introduction %}
<h1>{{ introduction.title }}</h1>
{{ introduction.content | render_markdown }}
{% endif %}
<h2>{% translate "Aktuelle Vermittlungen" %}</h2>
<div class="container-cards">
{% include "fellchensammlung/lists/list-adoption-notices.html" %}
<a class="btn2" href="{% url 'search' %}">{% translate "Mehr Vermittlungen" %}</a>
</div>
<div class="map-in-content">
<div class="card">
<h1>{% translate 'Karte' %}</h1>
{% include "fellchensammlung/partials/partial-map.html" %}
</div>
</div>
{% if how_to %}
<div class="card">
<h1>{{ how_to.title }}</h1>
{{ how_to.content | render_markdown }}
</div>
{% endif %}
{% endblock %}