Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m56s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m56s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 2m2s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 2m9s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 2m40s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 2m35s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 2m29s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 2m38s
CI / Build-Artefakte aktuell (pull_request) Successful in 55s
- Seiten-Plugin: Seitenbaum mit Adressen, Seitennavigation, Brotkrumen und optional Hauptnavigation; Sichtbarkeit vererbt sich auf Unterseiten - Pagebuilder (Block-Registry im Kern, Plugins tragen Blöcke bei): Abschnitt, Spalten, Tabs, Akkordeon, Box, Überschrift, Text (TipTap), Zitat, Schaltflächen, Symbolliste, Tabelle, Trennlinie, Abstand, Bild, Galerie, Video (erst nach Klick), Titelbild, Ansprechpartner, Downloads, Unterseiten, Neuigkeiten, Termine; Sichtbarkeit je Block; Bereinigung beim Speichern - Editor im Portal: Ziehen und Ablegen, Autospeichern als Entwurf, Rückgängig, Gerätevorschau, Versionen, Zeitsteuerung, Bearbeitungssperre, Freigabe anfordern - Rechte „inkl. Unterseiten“ werden im Rechte-Cache aufgelöst - Neuigkeiten: Schreiben im Portal, Freigabe-Workflow mit Benachrichtigungen - Bereich „Redaktion“, Benachrichtigungen im Portal - storage/.migrations-fingerprint nicht mehr ausliefern Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
21 lines
1.2 KiB
Vue
21 lines
1.2 KiB
Vue
<script setup>
|
|
import { Button } from '@/components/ui/button';
|
|
|
|
defineProps({ block: { type: Object, required: true } });
|
|
|
|
const heights = { small: 'min-h-48', medium: 'min-h-72', large: 'min-h-96' };
|
|
</script>
|
|
|
|
<template>
|
|
<section class="relative flex items-end overflow-hidden rounded-lg bg-brand text-white" :class="heights[block.data.height]">
|
|
<img v-if="block.props?.url" :src="block.props.url" alt="" class="absolute inset-0 size-full object-cover" />
|
|
<div class="absolute inset-0 bg-gradient-to-t from-black/70 via-black/30 to-transparent" />
|
|
<div class="relative max-w-2xl p-6 @3xl:p-10">
|
|
<h2 v-if="block.data.title" class="text-2xl font-semibold tracking-tight @3xl:text-3xl">{{ block.data.title }}</h2>
|
|
<p v-if="block.data.text" class="mt-2 text-[15px] leading-relaxed text-white/90 @3xl:text-base">{{ block.data.text }}</p>
|
|
<Button v-if="block.data.button_label && block.data.button_url" as-child class="mt-5 bg-white text-neutral-900 hover:bg-white/90">
|
|
<a :href="block.data.button_url">{{ block.data.button_label }}</a>
|
|
</Button>
|
|
</div>
|
|
</section>
|
|
</template>
|