mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-23 00:06:15 -04:00
refactor(ui): replaced naive ui cards with custom ones
This commit is contained in:
parent
bb32513bd3
commit
f080933d2a
40 changed files with 351 additions and 303 deletions
|
@ -20,14 +20,12 @@
|
|||
<div v-for="{ codes, category } of codesByCategoryFiltered" :key="category" mb-8>
|
||||
<n-h2> {{ category }} </n-h2>
|
||||
|
||||
<n-space vertical :size="20">
|
||||
<n-card v-for="{ code, description, name, type } of codes" :key="code">
|
||||
<n-space align="center">
|
||||
<n-text strong text-lg> {{ code }} {{ name }} </n-text>
|
||||
</n-space>
|
||||
<n-text depth="3">{{ description }} {{ type !== 'HTTP' ? `For ${type}.` : '' }}</n-text>
|
||||
</n-card>
|
||||
</n-space>
|
||||
<c-card v-for="{ code, description, name, type } of codes" :key="code" mb-2>
|
||||
<n-space align="center">
|
||||
<n-text strong text-lg> {{ code }} {{ name }} </n-text>
|
||||
</n-space>
|
||||
<n-text depth="3">{{ description }} {{ type !== 'HTTP' ? `For ${type}.` : '' }}</n-text>
|
||||
</c-card>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue