refactor: better icon

This commit is contained in:
Corentin Thomasset 2022-04-14 23:27:33 +02:00
parent d4e226e09f
commit 0af7d81abd
No known key found for this signature in database
GPG key ID: DBD997E935996158

View file

@ -1,9 +1,7 @@
<template>
<router-link :to="tool.path">
<n-card class="tool-card">
<n-icon class="icon" size="40">
<component :is="tool.icon" />
</n-icon>
<n-icon class="icon" size="40" :component="tool.icon" />
<n-h3 class="title">
<n-ellipsis>{{ tool.name }}</n-ellipsis>
</n-h3>