mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-21 18:23:24 +01:00
# Conflicts: # app/components/AppHeader.vue # app/components/content/Quote.vue # app/components/home/Map.vue # app/pages/index.vue # content/home/en.md # content/home/fr.md # nuxt.config.ts # package.json # pnpm-lock.yaml # tailwind.config.ts
25 lines
527 B
Vue
25 lines
527 B
Vue
<script lang="ts" setup>
|
|
import type { UsesItem } from '#components'
|
|
import type { PropType } from 'vue'
|
|
|
|
defineProps({
|
|
item: {
|
|
type: Object as PropType<typeof UsesItem>,
|
|
required: true,
|
|
},
|
|
})
|
|
|
|
const { locale } = useI18n()
|
|
</script>
|
|
|
|
<template>
|
|
<li>
|
|
<p class="text-base font-semibold text-black dark:text-white">
|
|
{{ item.name }}
|
|
</p>
|
|
<p class="text-sm">
|
|
{{ locale === 'en' ? item.description.en : locale === 'es' ? item.description.es : item.description.fr }}
|
|
</p>
|
|
</li>
|
|
</template>
|