feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
+24
View File
@@ -0,0 +1,24 @@
<script setup lang="ts">
import { computed } from 'vue'
import { handleBackground } from '../layoutHelper'
const props = defineProps({
background: {
// random image from a curated Unsplash collection by Anthony
default: 'https://source.unsplash.com/collection/94734566/1920x1080',
},
})
const style = computed(() => handleBackground(props.background, true))
</script>
<template>
<div
class="slidev-layout cover text-center"
:style="style"
>
<div class="my-auto w-full">
<slot />
</div>
</div>
</template>