{% set anchors = anker_brick_navigation_get(document) %}
{# Dekstop Navigation #}
{% if anchors %}
<div class="hidden w-full bg-neutral-50 sm:block">
<div class="container justify-end hidden w-full gap-4 py-4 sm:flex">
{% for anchor in anchors %}
<a target="_top" href="{{ '#' ~ anchor }}" class="btn-sm btn btn-neutral">
{{ anchor|trans }}
</a>
{% endfor %}
</div>
</div>
{# Mobile Scrollable Navigation #}
<div class="sticky w-full max-w-full bg-neutral-50 z-1500 sm:hidden top-20">
<div data-controller="section-navigation"
data-section-navigation-active-class="text-white bg-black"
data-section-navigation-inactive-class="text-black bg-neutral-200 "
id="profile-scroll-bar"
class="relative inline-flex w-screen gap-4 p-3 overflow-scroll sm:my-3 snap-x snap-mandatory sm:hidden">
{% for anchor in anchors %}
<a target="_top"
href="{{ '#' ~ anchor }}"
class="flex-none p-3 text-sm font-medium tracking-widest text-black uppercase bg-neutral-200 snap-center snap-always">
{{ anchor|trans }}
</a>
{% endfor %}
</div>
</div>
{% endif %}