v0.9.2
This commit is contained in:
commit
8f8513f802
278 files changed
+18400
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<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-gallery', classes(style)]">
|
||||
<div class="mb-inner">
|
||||
<h2 v-if="data.title">{{ data.title }}</h2>
|
||||
<div class="mb-grid">
|
||||
<img v-for="(photo, index) in data.photos || []" :key="index" :src="safeUrl(photo)" alt="" loading="lazy" />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
Reference in new issue
Block a user