Skip to content

Commit

Permalink
data event location attributes added
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartek Musiał committed Jan 10, 2025
1 parent 766e494 commit f87cbf1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions theme/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
class="md-header__button md-logo desktop"
aria-label="{{ config.site_name }}"
data-md-component="logo"
data-event-location="docs_nav_top_logo_home"
>
<img src="{{ 'API/images/flotiq-logo-wt.svg' | url }}" alt="Flotiq">
</a>
Expand All @@ -46,6 +47,7 @@
class="md-header__button md-logo docs-badge desktop"
aria-label="{{ config.site_name }}"
data-md-component="logo"
data-event-location="docs_nav_top_logo_docs"
>
<img src="{{ 'API/images/docs-badge.svg' | url }}" alt="Flotiq">
</a>
Expand All @@ -57,6 +59,7 @@
class="md-header__button md-logo mobile"
aria-label="{{ config.site_name }}"
data-md-component="logo"
data-event-location="docs_nav_top_logo_home"
>
<img src="{{ 'API/images/flotiq-badge-logo.svg' | url }}" alt="Flotiq">
</a>
Expand All @@ -66,6 +69,7 @@
class="md-header__button md-logo docs-badge mobile"
aria-label="{{ config.site_name }}"
data-md-component="logo"
data-event-location="docs_nav_top_logo_docs"
>
<img src="{{ 'API/images/docs-badge.svg' | url }}" alt="Flotiq">
</a>
Expand Down Expand Up @@ -98,6 +102,7 @@
class="md-header__button md-icon"
title="{{ option.toggle.name }}"
for="__palette_{{ loop.index0 or loop.length }}"
data-event-location="docs_nav_top_dark_mode"
hidden
>
{% include ".icons/" ~ option.toggle.icon ~ ".svg" %}
Expand Down Expand Up @@ -157,9 +162,9 @@
<label class="md-header__button md-icon" for="__drawer">
{% include ".icons/material/menu" ~ ".svg" %}
</label>
<a href="https://flotiq.com/request-a-demo/" target="_blank" class="nav-additional-element">Request a demo</a>
<a href="https://editor.flotiq.com/login" target="_blank" class="nav-additional-element">Log in</a>
<a href="https://editor.flotiq.com/register" target="_blank" class="nav-additional-element nav-button">Try Flotiq for free</a>
<a href="https://flotiq.com/request-a-demo/" target="_blank" class="nav-additional-element" data-event-location="docs_nav_top_demo">Request a demo</a>
<a href="https://editor.flotiq.com/login" target="_blank" class="nav-additional-element" data-event-location="docs_nav_top_login">Log in</a>
<a href="https://editor.flotiq.com/register" target="_blank" class="nav-additional-element nav-button" data-event-location="docs_nav_top_signup">Try Flotiq for free</a>
</div>
</nav>

Expand Down

0 comments on commit f87cbf1

Please sign in to comment.