feat: Include map on main page

This commit is contained in:
moanos [he/him] 2024-09-27 15:56:22 +02:00
parent 7d1a07227d
commit e0763da4e0
2 changed files with 13 additions and 0 deletions

View File

@ -585,4 +585,9 @@ textarea {
.maplibregl-popup-content { .maplibregl-popup-content {
background-color: var(--background-three) !important; background-color: var(--background-three) !important;
border-radius: 8px !important; border-radius: 8px !important;
}
.map-in-content #map {
height: 500px;
width: 90%;
} }

View File

@ -17,6 +17,14 @@
{% include "fellchensammlung/lists/list-adoption-notices.html" %} {% include "fellchensammlung/lists/list-adoption-notices.html" %}
<a class="btn2" href="{% url 'search' %}">{% translate "Mehr Vermittlungen" %}</a> <a class="btn2" href="{% url 'search' %}">{% translate "Mehr Vermittlungen" %}</a>
</div> </div>
<div class="map-in-content">
<div class="card">
<h1>{% translate 'Karte' %}</h1>
{% include "fellchensammlung/partials/partial-map.html" %}
</div>
</div>
{% if how_to %} {% if how_to %}
<div class="card"> <div class="card">
<h1>{{ how_to.title }}</h1> <h1>{{ how_to.title }}</h1>