1import{N as t,O as l,j as e,B as a,L as i,Q as o,U as d,V as m}from"./main-DmywkP8t.js";import{B as c,H as x}from"./badge-D_Lo2RMD.js";import{G as u}from"./GenericPage-yJM-r2T1.js";function p(){const r=t.useParams(),s=l(r.user_slug);if(!s)return e.jsxs("div",{className:"h-screen flex flex-col justify-center items-center text-center gap-4",children:[e.jsxs("h1",{className:"text-lg",children:["No member with id"," ",e.jsx(c,{variant:"outline",className:"font-mono text-base font-semibold rounded-md",children:r.user_slug})]}),e.jsx(a,{asChild:!0,variant:"outline",children:e.jsxs(i,{to:"/",className:"flex flex-row items-center",children:[e.jsx(x,{}),"Return home"]})})]});const n=o(s.linkedin);return e.jsx(u,{title:s.name,headerContent:e.jsxs("div",{className:"flex flex-col items-center gap-1 text-foreground/80",children:[s.role&&e.jsx("span",{className:"font-medium text-foreground",children:s.role}),e.jsx("span",{className:"text-sm",children:s.teams.join(" · ")})]}),children:e.jsxs("div",{className:"px-[4rem] py-8 flex flex-col md:flex-row gap-8 items-start",children:[e.jsx(d,{member:s,size:"size-48 md:size-56",rounded:"md",className:"border-2"}),e.jsxs("div",{className:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-6",children:[s.role&&e.jsxs("div",{children:[e.jsx("p",{className:"font-mono text-xs uppercase text-foreground/60",children:"Role"}),e.jsx("p",{children:s.role})]}),e.jsxs("div",{children:[e.jsx("p",{className:"font-mono text-xs uppercase text-foreground/60",children:"Teams"}),e.jsx("p",{children:s.teams.join(", ")})]}),s.email&&e.jsxs("div",{children:[e.jsx("p",{className:"font-mono text-xs uppercase text-foreground/60",children:"Email"}),e.jsx("a",{href:`mailto:${s.email}`,className:"hover:underline underline-offset-2",children:s.email})]}),s.gradYear&&e.jsxs("div",{children:[e.jsx("p",{className:"font-mono text-xs uppercase text-foreground/60",children:"Graduation Year"}),e.jsx("p",{children:s.gradYear})]}),n&&e.jsxs("div",{children:[e.jsx("p",{className:"font-mono text-xs uppercase text-foreground/60",children:"LinkedIn"}),e.jsx(a,{asChild:!0,variant:"outline",className:"mt-1",children:e.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",children:[e.jsx(m,{className:"w-4 h-4 mr-2"}),"View profile"]})})]})]})]})})}export{p as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.