(fix) use v-if instead of v-show so that census banners don’t 404 on other locales

This commit is contained in:
Valentyne Stigloher 2024-02-17 13:58:41 +01:00
parent b6b2a8036d
commit 600b4b4788

View File

@ -144,7 +144,7 @@
<Icon v="exclamation-triangle" /> <Icon v="exclamation-triangle" />
This language version is still under construction! This language version is still under construction!
</div> </div>
<div v-show="showCensus" class="container position-relative"> <div v-if="showCensus" class="container position-relative">
<nuxt-link :to="`/${$config.census.route}`"> <nuxt-link :to="`/${$config.census.route}`">
<img <img
src="/img-local/census/census-banner-horizontal.png" src="/img-local/census/census-banner-horizontal.png"