aboutsummaryrefslogtreecommitdiff
path: root/src/components/ToolCard.vue
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2022-04-15 23:10:47 +0200
committerGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2022-04-15 23:10:47 +0200
commit6b58ec554a0de91139f16d67cec42536d093d5fb (patch)
tree3bebdbcf4fab37692397b57ff62440ad4e0f1a83 /src/components/ToolCard.vue
parent39746e07c53c22ac132ad2aaf25dd71bb6458cde (diff)
downloadit-tools-6b58ec554a0de91139f16d67cec42536d093d5fb.tar.gz
it-tools-6b58ec554a0de91139f16d67cec42536d093d5fb.tar.zst
it-tools-6b58ec554a0de91139f16d67cec42536d093d5fb.zip
refactor(style): updated linter config
Diffstat (limited to 'src/components/ToolCard.vue')
-rw-r--r--src/components/ToolCard.vue31
1 files changed, 20 insertions, 11 deletions
diff --git a/src/components/ToolCard.vue b/src/components/ToolCard.vue
index a5ef7b9..9575221 100644
--- a/src/components/ToolCard.vue
+++ b/src/components/ToolCard.vue
@@ -1,15 +1,24 @@
<template>
- <router-link :to="tool.path">
- <n-card class="tool-card">
- <n-icon class="icon" size="40" :component="tool.icon" />
- <n-h3 class="title">
- <n-ellipsis>{{ tool.name }}</n-ellipsis>
- </n-h3>
- <div class="description">
- <n-ellipsis :line-clamp="2" :tooltip="false">{{ tool.description }}</n-ellipsis>
- </div>
- </n-card>
- </router-link>
+ <router-link :to="tool.path">
+ <n-card class="tool-card">
+ <n-icon
+ class="icon"
+ size="40"
+ :component="tool.icon"
+ />
+ <n-h3 class="title">
+ <n-ellipsis>{{ tool.name }}</n-ellipsis>
+ </n-h3>
+ <div class="description">
+ <n-ellipsis
+ :line-clamp="2"
+ :tooltip="false"
+ >
+ {{ tool.description }}
+ </n-ellipsis>
+ </div>
+ </n-card>
+ </router-link>
</template>
<script setup lang="ts">