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
+22
View File
@@ -0,0 +1,22 @@
<script setup lang="ts">
import { computed } from 'vue'
import { handleBackground } from '../layoutHelper'
const props = defineProps({
image: {
type: String,
},
backgroundSize: {
type: String,
default: 'cover',
},
})
const style = computed(() => handleBackground(props.image, false, props.backgroundSize))
</script>
<template>
<div class="slidev-layout w-full h-full" :style="style">
<slot />
</div>
</template>