Collection of handy online tools for developers, with great UX.
TypeScript converterdeveloper-productivitydeveloper-toolsfrontendjavascriptproductivitytooltoolstypescriptvuejswebsite
refactor: better icon
Corentin Thomasset0af7d81abd98
diff --git a/src/components/ToolCard.vue b/src/components/ToolCard.vueindex 895af6d4..a5ef7b96 100644--- a/src/components/ToolCard.vue+++ b/src/components/ToolCard.vue@@ -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>