mirror of
https://github.com/nuxt/ui.git
synced 2026-09-14 19:51:10 +08:00
23 lines
544 B
Vue
23 lines
544 B
Vue
<script setup lang="ts">
|
|
const testimonial = ref({
|
|
user: {
|
|
name: 'Evan You',
|
|
description: 'Author of Vue.js and Vite',
|
|
avatar: {
|
|
src: 'https://avatars.githubusercontent.com/u/499550?v=4',
|
|
alt: 'Evan You',
|
|
loading: 'lazy' as const
|
|
}
|
|
},
|
|
quote: '“Nuxt on Cloudflare infra with minimal effort - this is huge!”'
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<UPageCard :description="testimonial.quote" class="w-60">
|
|
<template #footer>
|
|
<UUser v-bind="testimonial.user" />
|
|
</template>
|
|
</UPageCard>
|
|
</template>
|