Globale Fußzeile mit Baukasten (0.38.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 10m3s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 9m26s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 10m59s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 11m24s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 10m26s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 10m54s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 8m8s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 8m26s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 49s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m6s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 10m3s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 9m26s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 10m59s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 11m24s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 10m26s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 10m54s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 8m8s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 8m26s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 49s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m6s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6f59caa880
commit
8eb5d4a475
189 changed files with 1011 additions and 571 deletions
|
|
@ -20,6 +20,7 @@ import PersonAvatar from '@/components/PersonAvatar.vue';
|
|||
import NavLink from '@/components/nav/NavLink.vue';
|
||||
import AppIcon from '@/components/AppIcon.vue';
|
||||
import GlobalSearchBox from '@/components/GlobalSearchBox.vue';
|
||||
import PageContent from '@/pagebuilder/PageContent.vue';
|
||||
import { useThemePreference } from '@/composables/useThemePreference';
|
||||
|
||||
defineProps({
|
||||
|
|
@ -29,6 +30,8 @@ defineProps({
|
|||
const page = usePage();
|
||||
const user = computed(() => page.props.auth.user);
|
||||
const branding = computed(() => page.props.branding);
|
||||
// Frei gestaltete Fußzeile (Backend → Startseite & Menü → Fußzeile gestalten)
|
||||
const footerContent = computed(() => (page.props.footerContent?.blocks?.length ? page.props.footerContent : null));
|
||||
const headerStyle = computed(() => branding.value.header_style ?? 'light');
|
||||
const navigation = computed(() => page.props.navigation);
|
||||
|
||||
|
|
@ -308,8 +311,11 @@ const themeOptions = [
|
|||
<slot />
|
||||
</main>
|
||||
|
||||
<footer v-if="branding.footer.text || branding.footer.links.length" class="border-t">
|
||||
<div class="mx-auto flex max-w-[1440px] flex-wrap items-center justify-between gap-x-6 gap-y-2 px-4 py-5 text-[13px] text-muted-foreground lg:px-6">
|
||||
<footer v-if="footerContent || branding.footer.text || branding.footer.links.length" class="border-t" :class="{ 'bg-card': footerContent }">
|
||||
<div v-if="footerContent" class="@container mx-auto max-w-[1440px] px-4 pt-10 pb-6 lg:px-6">
|
||||
<PageContent :content="footerContent" />
|
||||
</div>
|
||||
<div v-if="branding.footer.text || branding.footer.links.length" class="mx-auto flex max-w-[1440px] flex-wrap items-center justify-between gap-x-6 gap-y-2 px-4 py-5 text-[13px] text-muted-foreground lg:px-6" :class="{ 'border-t': footerContent }">
|
||||
<p v-if="branding.footer.text">{{ branding.footer.text }}</p>
|
||||
<nav v-if="branding.footer.links.length" class="flex flex-wrap gap-x-5 gap-y-1" aria-label="Fußzeile">
|
||||
<a v-for="link in branding.footer.links" :key="link.url" :href="link.url" class="hover:text-foreground hover:underline">{{ link.label }}</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue