Dominik Milacher 85d080ab05
All checks were successful
Build and deploy updated apps / Build & deploy (push) Successful in 2m12s
Add panoramablick implementation
2025-06-13 23:11:04 +02:00

28 lines
528 B
Vue

<!-- components/TransBlock.vue -->
<template>
<div class="flex-1">
<!-- title -->
<h2 class="text-2xl font-bold mb-4">
{{ t(`${i18nKey}.title`) }}
</h2>
<!-- description (optional) -->
<p
v-if="true"
class="text-gray-700 text-lg pb-4">
{{ t(`${i18nKey}.description`) }}
</p>
<!-- anything the parent puts in here -->
<slot/>
</div>
</template>
<script setup lang="ts">
const props = defineProps<{
i18nKey: string
}>()
const {t, tm, rt} = useI18n()
</script>