lint:fix all
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
<template>
|
||||
<UPageCard :title="title" :description="description" :spotlight="spotlight" :icon="icon" class="">
|
||||
<slot/>
|
||||
<NuxtImg
|
||||
v-if="img"
|
||||
:src="img"
|
||||
class="w-full"
|
||||
/>
|
||||
<span> {{ content }} </span>
|
||||
</UPageCard>
|
||||
|
||||
<UPageCard
|
||||
:title="title"
|
||||
:description="description"
|
||||
:spotlight="spotlight"
|
||||
:icon="icon"
|
||||
class=""
|
||||
>
|
||||
<slot />
|
||||
<NuxtImg
|
||||
v-if="img"
|
||||
:src="img"
|
||||
class="w-full"
|
||||
/>
|
||||
<span> {{ content }} </span>
|
||||
</UPageCard>
|
||||
</template>
|
||||
|
||||
<!-- ::card
|
||||
@@ -21,20 +26,18 @@ Image Card
|
||||
#content
|
||||
Beautifully designed **Nuxt Content** template with **shadcn-vue**. _Customizable. Compatible. Open Source._
|
||||
:: -->
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
const {
|
||||
content="",
|
||||
<script setup lang="ts">
|
||||
const {
|
||||
content = ''
|
||||
|
||||
} =defineProps<{
|
||||
title?: string;
|
||||
content?: string;
|
||||
img?: string;
|
||||
icon?: string;
|
||||
description?: string;
|
||||
spotlight?:boolean;
|
||||
slot?:string;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
} = defineProps<{
|
||||
title?: string
|
||||
content?: string
|
||||
img?: string
|
||||
icon?: string
|
||||
description?: string
|
||||
spotlight?: boolean
|
||||
slot?: string
|
||||
}>()
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user