mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-21 23:36:15 -04:00
refactor: better icon
This commit is contained in:
parent
d4e226e09f
commit
0af7d81abd
1 changed files with 1 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue