Skip to content

Commit

Permalink
add link baromètre FUB
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitdemaegdt committed Oct 26, 2024
1 parent 33714f9 commit 09c33a7
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions components/app/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@
>
Plan officiel
</NuxtLink>
<NuxtLink
to="https://barometre.parlons-velo.fr/2021/carte/#11.88/45.74926/4.84739"
target="_blank"
class="flex align-center space-x-2 text-base font-medium text-gray-500 hover:text-lvv-blue-600"
@click="close()"
>
<span>Baromètre FUB Lyon</span>
<div class="flex items-center">
<Icon name="mdi:launch" class="h-4 w-4" aria-hidden="true" />
</div>
</NuxtLink>
<!-- <NuxtLink
to="/services"
class="text-base font-medium text-gray-500 hover:text-lvv-blue-600"
Expand Down Expand Up @@ -201,12 +212,13 @@
</div>
</div>
<div class="mt-6">
<nav class="grid gap-y-8">
<nav class="grid gap-y-6">
<!-- Cartes -->
<NuxtLink
v-for="navItem in navItems"
:key="navItem.name"
:to="navItem.path"
:target="navItem.target"
class="-m-3 p-3 flex items-center rounded-md hover:bg-gray-50"
@click="close()"
>
Expand Down Expand Up @@ -300,9 +312,10 @@ const { getVoieCyclablePath } = useUrl();
const { getAssoName } = useConfig();
const navItems = [
{ name: 'Carte interactive', path: '/carte-interactive' },
{ name: 'Plan officiel', path: '/plan-officiel' },
{ name: 'Évolution du réseau', path: '/evolution' }
{ name: 'Carte interactive', path: '/carte-interactive', target: '_self' },
{ name: 'Plan officiel', path: '/plan-officiel', target: '_self' },
{ name: 'Évolution du réseau', path: '/evolution', target: '_self' },
{ name: 'Baromètre FUB Lyon', path: 'https://barometre.parlons-velo.fr/2021/carte/#11.88/45.74926/4.84739', target: '_blank' }
// { name: 'Services', path: '/services' },
];
Expand Down

0 comments on commit 09c33a7

Please sign in to comment.