v0.9.2
This commit is contained in:
commit
8f8513f802
278 files changed
+18400
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<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-before-after', classes(style)]">
|
||||
<div class="mb-inner mb-split">
|
||||
<figure>
|
||||
<img :src="safeUrl(data.before)" alt="Before" loading="lazy" />
|
||||
<figcaption>Before</figcaption>
|
||||
</figure>
|
||||
<figure>
|
||||
<img :src="safeUrl(data.after)" alt="After" loading="lazy" />
|
||||
<figcaption>After</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
Reference in new issue
Block a user