mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-30 13:28:38 +01:00
Add uses page
This commit is contained in:
22
app/components/uses/Item.vue
Normal file
22
app/components/uses/Item.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<script lang="ts" setup>
|
||||
import type { PropType } from 'vue'
|
||||
import type { UsesItem } from '#components'
|
||||
|
||||
defineProps({
|
||||
item: {
|
||||
type: Object as PropType<typeof UsesItem>,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<li>
|
||||
<p class="text-base font-semibold text-black dark:text-white">
|
||||
{{ item.name }}
|
||||
</p>
|
||||
<p class="text-sm text-gray-600 dark:text-gray-400">
|
||||
{{ item.description }}
|
||||
</p>
|
||||
</li>
|
||||
</template>
|
||||
Reference in New Issue
Block a user