Layout nach Intranet-Vorbild: einzeiliger Header, Begrüßungskarte, Schnellzugriff-Leiste
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 58s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m4s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m3s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m10s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m8s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m5s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m4s
CI / Build-Artefakte aktuell (pull_request) Failing after 41s
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 58s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m4s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m3s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m10s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m8s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m5s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m4s
CI / Build-Artefakte aktuell (pull_request) Failing after 41s
- Header einzeilig mit Navigation neben dem Logo, Suche rechts, mobil als Menü (Sheet) - Begrüßungskarte mit Foto rechts und Aktionsleiste darunter - Schnellzugriffe als blätterbare Kachelreihe - Raster auf Mobilgeräten repariert (Spalten wuchsen mit breitem Inhalt mit) - Telefonnummern im Admin: übliche deutsche Schreibweisen wie „+49 (0) 30 …“ werden akzeptiert Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5a3f1f34c7
commit
f813a0fff3
48 changed files with 518 additions and 165 deletions
|
|
@ -3,10 +3,10 @@ import { computed } from 'vue';
|
|||
import { Link, usePage } from '@inertiajs/vue3';
|
||||
import { ArrowRight, Search, UserRoundPen } from '@lucide/vue';
|
||||
import GreetingCard from '@/components/GreetingCard.vue';
|
||||
import QuickLinksRow from '@/components/QuickLinksRow.vue';
|
||||
import Panel from '@/components/Panel.vue';
|
||||
import PersonAvatar from '@/components/PersonAvatar.vue';
|
||||
import AppLayout from '@/layouts/AppLayout.vue';
|
||||
import { quickLinkIcons } from '@/lib/icons';
|
||||
|
||||
const props = defineProps({
|
||||
profile: { type: Object, required: true },
|
||||
|
|
@ -33,26 +33,11 @@ const profileIncomplete = computed(() => !props.profile.avatar_url || !props.pro
|
|||
|
||||
<template>
|
||||
<AppLayout title="Startseite">
|
||||
<div class="grid gap-6 lg:grid-cols-12">
|
||||
<div class="grid content-start gap-6 lg:col-span-8">
|
||||
<div class="grid grid-cols-1 gap-6 lg:grid-cols-12">
|
||||
<div class="grid min-w-0 grid-cols-1 content-start gap-6 lg:col-span-8">
|
||||
<GreetingCard :user="me" :profile="profile" :greeting="greeting" class="lg:hidden" />
|
||||
|
||||
<Panel title="Schnellzugriffe">
|
||||
<div class="grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4 xl:grid-cols-6">
|
||||
<component
|
||||
:is="link.url.startsWith('/') && !link.new_tab ? Link : 'a'"
|
||||
v-for="link in quickLinks"
|
||||
:key="link.label + link.url"
|
||||
:href="link.url"
|
||||
:target="link.new_tab ? '_blank' : undefined"
|
||||
:rel="link.new_tab ? 'noopener' : undefined"
|
||||
class="group flex flex-col items-center gap-2.5 rounded-lg border bg-card px-3 py-4 text-center transition-colors hover:border-brand-200 hover:bg-brand-soft"
|
||||
>
|
||||
<component :is="quickLinkIcons[link.icon] ?? quickLinkIcons.link" class="size-6 text-brand-text" :stroke-width="1.75" />
|
||||
<span class="text-[13px] leading-tight font-medium">{{ link.label }}</span>
|
||||
</component>
|
||||
</div>
|
||||
</Panel>
|
||||
<QuickLinksRow :links="quickLinks" />
|
||||
|
||||
<Panel v-if="newColleagues.data.length" title="Neu im Team" action-label="Alle Personen" action-href="/personen">
|
||||
<ul class="grid gap-3 sm:grid-cols-2 xl:grid-cols-3">
|
||||
|
|
@ -69,7 +54,7 @@ const profileIncomplete = computed(() => !props.profile.avatar_url || !props.pro
|
|||
</Panel>
|
||||
</div>
|
||||
|
||||
<aside class="grid content-start gap-6 lg:col-span-4">
|
||||
<aside class="grid min-w-0 grid-cols-1 content-start gap-6 lg:col-span-4">
|
||||
<GreetingCard :user="me" :profile="profile" :greeting="greeting" class="hidden lg:block" />
|
||||
|
||||
<Link
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue