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
+42
View File
@@ -0,0 +1,42 @@
<!--
Usage:
```md
---
layout: two-cols
---
# Left
This shows on the left
::right::
# Right
This shows on the right
```
-->
<script setup lang="ts">
const props = defineProps({
class: {
type: String,
},
layoutClass: {
type: String,
},
})
</script>
<template>
<div class="slidev-layout two-columns w-full h-full grid grid-cols-2" :class="props.layoutClass">
<div class="col-left" :class="props.class">
<slot />
</div>
<div class="col-right" :class="props.class">
<slot name="right" />
</div>
</div>
</template>