Skip to content

Commit

Permalink
menu vers Fedivers
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhamel committed Dec 5, 2024
1 parent 02e9d06 commit 0d0832f
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions templates/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@
<img src="/pub/menu.png" id="menu-icon" class="h-8 w-8 z-30 cursor-pointer" hx-get="/menu/closed"
hx-target="#menu" hx-swap="outerHTML" />
<div class="flex flex-col bg-white p-2 rounded-md z-30">
<hr class="m-2">
<a href="https://mobiliteactive.org/@veloinfo" target="_blank" class="flex">
<div class="flex" hx-get="/menu/closed" hx-target="#menu" hx-swap="outerHTML">
<img src="/pub/logo-big.png" alt="osm" class="h-6 mr-2">
<div class="text-lg">
Infos et nouvelles
</div>
</div>
</a>
</div>
<div class="flex flex-col bg-white p-2 rounded-md z-30">
<a href="https://www.openstreetmap.org/#map={{zoom}}/{{lat}}/{{lng}}&layers=Y" target="_blank" class="flex">
<div class="flex" hx-get="/menu/closed" hx-target="#menu" hx-swap="outerHTML">
<img src="/pub/osm.svg" alt="osm" class="h-6 mr-2">
Expand All @@ -15,10 +24,10 @@
</div>
</div>
</a>
{% else %}
<img src="/pub/menu.png" id="menu-icon" class="h-8 w-8 cursor-pointer" hx-on:click="menuOpen()" />
{% endif %}
</div>
{% else %}
<img src="/pub/menu.png" id="menu-icon" class="h-8 w-8 cursor-pointer" hx-on:click="menuOpen()" />
{% endif %}
</div>
</div>

Expand Down

0 comments on commit 0d0832f

Please sign in to comment.