Loheide-eu-mitarbeiterplatt.../public/build/assets/Show-D1dapTEF.js
Friederich Loheide 5a3f1f34c7
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Failing after 1m3s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m7s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Failing after 1m16s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Failing after 1m20s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m29s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m33s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 1m28s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m33s
CI / Build-Artefakte aktuell (pull_request) Failing after 52s
Neues Design: Tailwind + shadcn-vue statt Vuetify/Material 3
- Nüchterne, professionelle Optik: neutrale Flächen, Markenfarbe nur als Akzent, Inter-Schrift (lokal)
- Zweizeiliger Header mit Suche, Hauptnavigation und Avatar-Menü
- Startseite mit Begrüßungskarte, Schnellzugriffen und „Neu im Team“
- Personenverzeichnis mit Suche, Abteilungsfilter und Seitenaufteilung
- Markenfarbe exakt übernommen, Abstufungen serverseitig in OKLCH (ColorPalette) –
  gemeinsam für Portal und Admin, keine Farbberechnung im Browser
- Schnellzugriffe im Admin pflegbar
- Filament-Avatare lokal statt über ui-avatars.com (DSGVO)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 20:51:53 +00:00

1 line
No EOL
3.1 KiB
JavaScript

import{$t as e,F as t,G as n,J as r,K as i,Sn as a,Ut as o,Y as s,Yt as c,lr as l,n as u,nt as d,q as f,rr as p,tt as m}from"./app-B8oig5Tj.js";import{E as h}from"./BrandLogo-U6lK0jUc.js";import{n as g,t as _}from"./map-pin-CvpNerqq.js";import{i as v,r as y,t as b}from"./AppLayout-w1APcrJk.js";import{n as x,t as S}from"./phone-CzGeM1mJ.js";import{t as C}from"./button-D9r8plCs.js";import{t as w}from"./Panel-C_rZ9c8S.js";var T=h({name:`smartphone`,size:24,node:[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]}),E={class:`overflow-hidden rounded-lg border bg-card`},D={class:`flex flex-col gap-4 px-6 pb-6 sm:flex-row sm:items-end sm:justify-between`},O={class:`flex flex-col gap-4 sm:flex-row sm:items-end`},k={class:`sm:pb-1`},A={class:`text-2xl font-semibold tracking-tight`},j={key:0,class:`mt-0.5 text-[15px] text-muted-foreground`},M={class:`flex gap-2 sm:pb-1`},N=[`href`],P={class:`mt-6 grid gap-6 lg:grid-cols-12`},F={class:`grid gap-4`},I={class:`min-w-0`},L={class:`text-xs text-muted-foreground`},R={class:`truncate text-sm`},z=[`href`],B={key:0,class:`text-sm leading-relaxed whitespace-pre-line`},V={key:1,class:`text-sm text-muted-foreground`},H={__name:`Show`,props:{person:{type:Object,required:!0},isOwnProfile:{type:Boolean,default:!1}},setup(h){let H=h,U=n(()=>[{icon:x,label:`E-Mail`,value:H.person.email,href:`mailto:${H.person.email}`},{icon:S,label:`Telefon`,value:H.person.phone,href:H.person.phone&&`tel:${H.person.phone}`},{icon:T,label:`Mobil`,value:H.person.mobile,href:H.person.mobile&&`tel:${H.person.mobile}`},{icon:g,label:`Abteilung`,value:H.person.department},{icon:_,label:`Standort`,value:H.person.location}].filter(e=>e.value));return(n,g)=>(o(),f(b,{title:h.person.name},{default:a(()=>[i(`section`,E,[g[2]||=i(`div`,{class:`h-28 bg-brand sm:h-32`,style:{"background-image":`linear-gradient(120deg, transparent 40%, rgb(255 255 255 / 0.08))`}},null,-1),i(`div`,D,[i(`div`,O,[d(y,{person:h.person,class:`-mt-14 size-28 text-2xl ring-4 ring-card`},null,8,[`person`]),i(`div`,k,[i(`h1`,A,l(h.person.name),1),h.person.job_title?(o(),s(`p`,j,l(h.person.job_title),1)):r(``,!0)])]),i(`div`,M,[h.isOwnProfile?(o(),f(p(C),{key:0,variant:`outline`,"as-child":``},{default:a(()=>[d(p(u),{href:`/profil/bearbeiten`},{default:a(()=>[d(p(v)),g[0]||=m(` Profil bearbeiten`,-1)]),_:1})]),_:1})):(o(),f(p(C),{key:1,"as-child":``},{default:a(()=>[i(`a`,{href:`mailto:${h.person.email}`},[d(p(x)),g[1]||=m(` E-Mail schreiben`,-1)],8,N)]),_:1}))])])]),i(`div`,P,[d(w,{title:`Kontakt`,class:`lg:col-span-5`},{default:a(()=>[i(`dl`,F,[(o(!0),s(t,null,c(U.value,n=>(o(),s(`div`,{key:n.label,class:`flex items-start gap-3`},[(o(),f(e(n.icon),{class:`mt-0.5 size-4 shrink-0 text-muted-foreground`})),i(`div`,I,[i(`dt`,L,l(n.label),1),i(`dd`,R,[n.href?(o(),s(`a`,{key:0,href:n.href,class:`text-brand-text hover:underline`},l(n.value),9,z)):(o(),s(t,{key:1},[m(l(n.value),1)],64))])])]))),128))])]),_:1}),d(w,{title:`Über mich`,class:`lg:col-span-7`},{default:a(()=>[h.person.about?(o(),s(`p`,B,l(h.person.about),1)):(o(),s(`p`,V,`Noch keine Angaben.`))]),_:1})])]),_:1},8,[`title`]))}};export{H as default};