refactor(style): updated linter config

This commit is contained in:
Corentin Thomasset 2022-04-15 23:10:47 +02:00
parent 39746e07c5
commit 6b58ec554a
No known key found for this signature in database
GPG key ID: DBD997E935996158
27 changed files with 1144 additions and 571 deletions

View file

@ -3,25 +3,31 @@
</script>
<template>
<div class="e404-wrapper">
<n-result
status="404"
title="404 Not Found"
description="Sorry, this page does not seem to extist"
<div class="e404-wrapper">
<n-result
status="404"
title="404 Not Found"
description="Sorry, this page does not seem to extist"
>
<template #footer>
<router-link
to="/"
#="{ navigate, href }"
custom
>
<template #footer>
<router-link to="/" #="{ navigate, href }" custom>
<n-button
tag="a"
:href="href"
secondary
@click="navigate"
type="success"
>Back home</n-button>
</router-link>
</template>
</n-result>
</div>
<n-button
tag="a"
:href="href"
secondary
type="success"
@click="navigate"
>
Back home
</n-button>
</router-link>
</template>
</n-result>
</div>
</template>

View file

@ -4,13 +4,20 @@ import ToolCard from '../components/ToolCard.vue';
</script>
<template>
<div class="home-page">
<n-grid x-gap="12" y-gap="12" cols="1 400:2 800:3 1200:4 2000:8">
<n-gi v-for="tool in toolsWithCategory" :key="tool.name">
<tool-card :tool="tool" />
</n-gi>
</n-grid>
</div>
<div class="home-page">
<n-grid
x-gap="12"
y-gap="12"
cols="1 400:2 800:3 1200:4 2000:8"
>
<n-gi
v-for="tool in toolsWithCategory"
:key="tool.name"
>
<tool-card :tool="tool" />
</n-gi>
</n-grid>
</div>
</template>