Fix lint issues

And disable eslint when building in prod mode

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-11-30 10:24:11 +01:00
parent da42522073
commit 2d541f2e32
161 changed files with 3869 additions and 1236 deletions

View File

@@ -2,13 +2,26 @@
<section class="section container has-text-centered not-found">
<div class="columns is-vertical is-centered">
<div class="column is-half">
<img src="/img/pics/2020-10-06-mobilizon-illustration-E_realisation.jpg" alt="" />
<h1 class="title">{{ $t("The page you're looking for doesn't exist.") }}</h1>
<img
src="/img/pics/2020-10-06-mobilizon-illustration-E_realisation.jpg"
alt=""
/>
<h1 class="title">
{{ $t("The page you're looking for doesn't exist.") }}
</h1>
<p>
{{ $t("Please make sure the address is correct and that the page hasn't been moved.") }}
{{
$t(
"Please make sure the address is correct and that the page hasn't been moved."
)
}}
</p>
<p>
{{ $t("Please contact this instance's Mobilizon admin if you think this is a mistake.") }}
{{
$t(
"Please contact this instance's Mobilizon admin if you think this is a mistake."
)
}}
</p>
<!-- The following should just be replaced with the SearchField component but it fails for some reason -->
<form @submit="enter">
@@ -21,7 +34,9 @@
v-model="searchText"
/>
<p class="control">
<button type="submit" class="button is-primary">{{ $t("Search") }}</button>
<button type="submit" class="button is-primary">
{{ $t("Search") }}
</button>
</p>
</b-field>
</form>