Add umami events
All checks were successful
/ build-artifacts (push) Successful in 1m13s

This commit is contained in:
Tobias Reisinger 2024-01-30 02:07:58 +01:00
parent 6f6c8981f9
commit cf15530d0f
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 6 additions and 6 deletions

View file

@ -43,7 +43,7 @@
<header class="p-2 bg-ro text-white"> <header class="p-2 bg-ro text-white">
<div class="container"> <div class="container">
<div class="row row-fixed-h mb-2"> <div class="row row-fixed-h mb-2">
<a href="/" class="col-12"> <a href="/" class="col-12" data-umami-event="Header-Logo button">
{% include 'partials/logo.html.twig' with {style: 'filter: invert(100%); margin-right: 0.5rem;'} %} {% include 'partials/logo.html.twig' with {style: 'filter: invert(100%); margin-right: 0.5rem;'} %}
{% for media_item in header_page.media.images %} {% for media_item in header_page.media.images %}
{% set aspect = media_item.width / media_item.height %} {% set aspect = media_item.width / media_item.height %}

View file

@ -7,7 +7,7 @@
<ul class="sidebar-nav"> <ul class="sidebar-nav">
<li class="sidebar-spacer"></li> <li class="sidebar-spacer"></li>
<li class="sidebar-brand"> <li class="sidebar-brand">
<a href="{{ home_url }}" class="navbar-brand mr-10"> <a href="{{ home_url }}" class="navbar-brand mr-10" data-umami-event="Sidebar-Logo button">
{% include 'partials/logo.html.twig' %} {% include 'partials/logo.html.twig' %}
</a> </a>
</li> </li>

View file

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

View file

@ -1,4 +1,4 @@
<a role="button" class="btn btn-primary btn-facebook" target="_blank" rel="noopener" href="https://www.facebook.com/Reitanlage-Oranienburg-Heike-Tischler-456154271116487/"> <a role="button" class="btn btn-primary btn-facebook" target="_blank" rel="noopener" href="https://www.facebook.com/Reitanlage-Oranienburg-Heike-Tischler-456154271116487/" data-umami-event="Facebook button">
<i class="fab fa-facebook-f"></i> <i class="fab fa-facebook-f"></i>
<span class="sr-only">zu unserer Facebook-Seite</span> <span class="sr-only">zu unserer Facebook-Seite</span>
</a> </a>