PageSourceSearch

https://kconect.vercel.app/assets/AttendeeSearch-BBpXnim9.js

js kconect.vercel.app collected 2026-10-03 07:11:45 UTC 8,422 bytes, 1 lines download raw bytes

1import{r as n,u as D,j as e,B as a,I as F,a8 as I,C as L,f as M,m as g,U}from"./index-IxvR3ybE.js";import z from"./AppLayout-DKObEqik.js";import{A as E,a as V,b as B}from"./avatar-BaQ7HthH.js";import{u as T}from"./use-mobile-DuMQ0aYp.js";import{S as p,a as u,b,c as f,d as y}from"./select-C66k4zpo.js";import{F as R}from"./funnel-DIbAa5sp.js";import{S as W}from"./search-DJbhdKSj.js";import{U as j}from"./user-plus-DKb_O1Pc.js";import"./theme-toggle-DVo5SyOB.js";import"./useAttendeeNotifications-D_uPrmP4.js";import"./sun-DqGVY2dX.js";import"./bell-XbQ4oIpl.js";import"./index-zx_GWOLj.js";import"./FloatingDidYouKnow-CupRzAB-.js";import"./useLiveStream-C4-Z6ZH6.js";import"./PiPContext-9tZQJrvz.js";import"./tickets-CawznlQU.js";import"./index-Cm6HJhbV.js";import"./loader-circle-Dv3Jv63Q.js";import"./video-xqbAqm0Z.js";import"./menu-D12hOg-z.js";import"./chevron-right-f_PxsSL8.js";import"./message-square-D78-i2rO.js";import"./chart-no-axes-column-increasing-CHT02Edo.js";import"./megaphone-DiANqzpJ.js";import"./settings-C-Q7RH7S.js";import"./lightbulb-SYqac5W0.js";import"./book-open-CTBfL7a9.js";import"./gamepad-2-C0cQUrII.js";import"./index-BdQq_4o_.js";import"./index-PCA-xeVB.js";import"./chevron-up-Kie37_ZB.js";const k=[{id:"1",name:"Alex Johnson",role:"Frontend Developer",photoUrl:"",niche:"Web Development",networkingPreferences:["Investors","Designers"],bio:"Building beautiful interfaces for 5+ years. Looking to connect with designers and potential investors."},{id:"2",name:"Sarah Williams",role:"UX Designer",photoUrl:"",niche:"Product Design",networkingPreferences:["Developers","Product Managers"],bio:"Passionate about creating intuitive user experiences. Always looking to collaborate with developers."},{id:"3",name:"Michael Rodriguez",role:"Startup Founder",photoUrl:"",niche:"EdTech",networkingPreferences:["Investors","Developers","Marketers"],bio:"Building the future of education technology. Looking for tech talent and potential investors."},{id:"4",name:"Priya Patel",role:"Product Manager",photoUrl:"",niche:"SaaS",networkingPreferences:["Developers","Designers","Marketers"],bio:"PM with 6+ years experience in SaaS. Looking to connect with talented developers and designers."},{id:"5",name:"David Chen",role:"Investor",photoUrl:"",niche:"Venture Capital",networkingPreferences:["Founders","Entrepreneurs"],bio:"Early-stage investor focusing on AI and blockchain startups. Always looking for the next big idea."}],X=["All","Web Development","Product Design","EdTech","SaaS","Venture Capital","Marketing","Data Science","AI","Blockchain"],J=["All","Developers","Designers","Investors","Founders","Product Managers","Marketers","Students","Mentors"],ve=()=>{const[s,o]=n.useState(""),[i,c]=n.useState("All"),[l,d]=n.useState("All"),[m,v]=n.useState(k),[x,w]=n.useState(!1),N=D(),S=T();n.useEffect(()=>{const r=k.filter(t=>{const h=s===""||t.name.toLowerCase().includes(s.toLowerCase())||t.bio.toLowerCase().includes(s.toLowerCase())||t.role.toLowerCase().includes(s.toLowerCase()),C=i==="All"||t.niche===i,P=l==="All"||t.networkingPreferences.includes(l);return h&&C&&P});v(r)},[s,i,l]);const A=r=>{N(`/attendee/profile/${r}`)};return e.jsx(z,{children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsxs("div",{className:"flex justify-between items-center mb-6",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:"Find Connections"}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:"Discover and connect with other event attendees"})]}),e.jsx(a,{variant:"outline",size:"icon",onClick:()=>w(!x),className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 text-gray-700 dark:text-gray-300",children:e.jsx(R,{className:"h-4 w-4"})})]}),e.jsx("div",{className:"mb-6",children:e.jsxs("div",{className:"relative",children:[e.jsx(W,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400",size:18}),e.jsx(F,{className:"pl-10 pr-4 py-2 bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",placeholder:"Search by name, role, or keywords...",value:s,onChange:r=>o(r.target.value)}),s&&e.jsx(a,{variant:"ghost",size:"icon",className:"absolute right-2 top-1/2 transform -translate-y-1/2 h-7 w-7",onClick:()=>o(""),children:e.jsx(I,{className:"h-4 w-4"})})]})}),x&&e.jsxs("div",{className:"bg-white dark:bg-gray-800 p-4 rounded-lg shadow-sm mb-6 animate-fade-in border border-gray-200 dark:border-gray-700",children:[e.jsxs("div",{className:"flex justify-between items-center mb-3",children:[e.jsx("h2",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:"Filter by:"}),e.jsx(a,{variant:"ghost",size:"sm",onClick:()=>{c("All"),d("All"),o("")}
1,className:"text-connect-600 dark:text-connect-400 hover:text-connect-700 dark:hover:text-connect-300 h-7 px-2",children:"Reset All"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-sm text-gray-500 dark:text-gray-400 mb-1 block",children:"Industry/Niche"}),e.jsxs(p,{value:i,onValueChange:c,children:[e.jsx(u,{className:"w-full bg-gray-50 dark:bg-gray-700 border-gray-200 dark:border-gray-600",children:e.jsx(b,{placeholder:"Select niche"})}),e.jsx(f,{children:X.map(r=>e.jsx(y,{value:r,children:r},r))})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-sm text-gray-500 dark:text-gray-400 mb-1 block",children:"Looking For"}),e.jsxs(p,{value:l,onValueChange:d,children:[e.jsx(u,{className:"w-full bg-gray-50 dark:bg-gray-700 border-gray-200 dark:border-gray-600",children:e.jsx(b,{placeholder:"Select preference"})}),e.jsx(f,{children:J.map(r=>e.jsx(y,{value:r,children:r},r))})]})]})]})]}),e.jsx("div",{className:"space-y-4",children:m.length>0?m.map(r=>e.jsx(L,{className:"overflow-hidden hover:shadow-md transition-all duration-300 border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800",children:e.jsx(M,{className:"p-0",children:e.jsxs("div",{className:"p-4 flex items-start space-x-4",children:[e.jsx(E,{className:"h-12 w-12 flex-shrink-0 border-2 border-connect-100 dark:border-connect-900",children:r.photoUrl?e.jsx(V,{src:r.photoUrl,alt:r.name}):e.jsx(B,{className:"bg-connect-100 text-connect-600 dark:bg-connect-900 dark:text-connect-400 font-medium",children:r.name.split(" ").map(t=>t[0]).join("")})}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:justify-between sm:items-start",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium text-lg text-gray-900 dark:text-white",children:r.name}),e.jsx("p",{className:"text-sm text-muted-foreground",children:r.role})]}),e.jsx(g,{variant:"outline",className:"bg-connect-50 text-connect-800 dark:bg-connect-900/50 dark:text-connect-300 mt-1 sm:mt-0 self-start",children:r.niche})]}),e.jsx("p",{className:"text-sm mt-2 text-gray-600 dark:text-gray-400 line-clamp-2",children:r.bio}),e.jsxs("div",{className:"mt-3 flex flex-wrap gap-1",children:[e.jsx("span",{className:"text-xs text-muted-foreground mr-1",children:"Looking for:"}),r.networkingPreferences.map((t,h)=>e.jsx(g,{variant:"secondary",className:"text-xs bg-gray-100 dark:bg-gray-700 text-gray-800 dark:text-gray-200",children:t},h))]}),e.jsxs("div",{className:"mt-4 flex justify-between items-center",children:[e.jsx(a,{size:"sm",variant:"outline",className:"text-xs",onClick:()=>A(r.id),children:"View Profile"}),e.jsxs(a,{size:"sm",className:"text-xs bg-connect-600 hover:bg-connect-700 text-white",children:[e.jsx(j,{className:"h-3 w-3 mr-1"}),"Connect"]})]})]})]})})},r.id)):e.jsxs("div",{className:"text-center py-12 bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 shadow-sm",children:[e.jsx(U,{className:"mx-auto h-12 w-12 text-gray-300 dark:text-gray-600"}),e.jsx("h3",{className:"mt-4 text-lg font-medium text-gray-900 dark:text-white",children:"No attendees found"}),e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:"Try adjusting your search or filters"}),e.jsx(a,{variant:"outline",className:"mt-4",onClick:()=>{c("All"),d("All"),o("")},children:"Clear Filters"})]})}),S&&m.length>0&&e.jsx(a,{className:"fixed bottom-20 right-4 rounded-full w-12 h-12 flex items-center justify-center bg-connect-600 hover:bg-connect-700 shadow-lg",children:e.jsx(j,{className:"h-5 w-5"})})]})})};export{ve as default};

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.