FIX: some fixes for rollout
schooling link, small issues with burger menu
This commit is contained in:
parent
65ebc71431
commit
d24115c865
7 changed files with 25 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="Burger" :class="{ open }">
|
||||
<nav class="z-4" ref="nav">
|
||||
<nav class="z-4" ref="navElement">
|
||||
<ul>
|
||||
<li v-for="({label, to, aria, icon}) in navigation" :key="label">
|
||||
<NuxtLink :to="to" :aria-label="aria" active-class="active" class="inline-flex-row big-gap" @click="close">
|
||||
|
@ -16,7 +16,7 @@
|
|||
<script setup lang="ts">
|
||||
import { navigation } from '../utils/navigation'
|
||||
|
||||
const navElement = useTemplateRef('nav')
|
||||
const navElement = useTemplateRef('navElement')
|
||||
|
||||
const nav = useNavigation()
|
||||
const close = () => nav.hideNavigation()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue