v0.9.1
This commit is contained in:
commit
5b230c75aa
278 files changed
+18390
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<script setup lang="ts">
|
||||
import { classes, safeUrl } from './support';
|
||||
|
||||
defineProps<{ data: Record<string, any>; style?: Record<string, string> }>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section :class="['mb-block mb-image', classes(style)]">
|
||||
<figure class="mb-inner">
|
||||
<img :src="safeUrl(data.photo)" :alt="data.caption || ''" loading="lazy" />
|
||||
<figcaption v-if="data.caption">{{ data.caption }}</figcaption>
|
||||
</figure>
|
||||
</section>
|
||||
</template>
|
||||
Reference in new issue
Block a user