Improve links for map

This commit is contained in:
Tobias Reisinger 2023-04-25 22:22:18 +02:00
parent 97ee74f2df
commit ca71386501
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 11 additions and 12 deletions

View file

@ -1,5 +1,5 @@
name: Reitanlage Oranienburg
version: 1.4.3
version: 1.4.4
description: Design der Reitanlage Oranienburg
icon: rebel
author:

View file

@ -1,6 +1,6 @@
{
"name": "reitanlage-oranienburg",
"version": "1.4.3",
"version": "1.4.4",
"description": "The Reitanlage Oranienburg Theme for Grav CMS.",
"main": "index.js",
"scripts": {

View file

@ -1,7 +1,14 @@
<div class="w-100 h-100 d-flex flex-column">
<div class="w-100 h-100 d-flex flex-column pb-2">
<div class="flex-grow-1">
<div class="position-relative w-100">
<img class="w-100" alt="Diese Karte zeigt unseren Hof" src="{{ url('theme://images/map.webp') }}">
<a target="_blank" rel="noopener" href="https://www.openstreetmap.org/way/203340031">
<img class="w-100" alt="Diese Karte zeigt unseren Hof" src="{{ url('theme://images/map.webp') }}">
</a>
<small class="d-block position-absolute bottom-0 start-0">
<a class="bg-white text-black p-1" target="_blank" rel="noopener" href="https://goo.gl/maps/WFYcPCQVA5u2vegy8">
Auf Google Maps öffnen
</a>
</small>
<small class="d-block position-absolute bottom-0 end-0">
<a class="bg-white text-black p-1" target="_blank" rel="noopener" href="https://www.openstreetmap.org/copyright">
&#169; OpenStreetMap contributors
@ -9,12 +16,4 @@
</small>
</div>
</div>
<small class="py-2 row">
<a class="py-2 py-md-0 col-12 col-md-6" target="_blank" rel="noopener" href="https://www.openstreetmap.org/way/203340031">
Auf OpenStreetMaps öffnen
</a>
<a class="py-2 py-md-0 col-12 col-md-6 text-md-end" target="_blank" rel="noopener" href="https://goo.gl/maps/WFYcPCQVA5u2vegy8">
Auf Google Maps öffnen
</a>
</small>
</div>