import{j as e,L as i,$ as r}from"./app-Ba0W75t8.js";import{A as l}from"./app-layout-CQ3rupMj.js";import"./createLucideIcon-B8lpabTL.js";import"./index-KiD9fq9D.js";import"./index-avNvMDmS.js";import"./app-logo-icon-Ew5bYuZS.js";import"./index-CZsJ6L7B.js";function p({users:a}){return e.jsxs(l,{children:[e.jsx(i,{title:"Pengunjung yang Mengisi Kuisioner"}),e.jsxs("div",{className:"p-4",children:[e.jsx("h2",{className:"text-2xl font-semibold text-gray-800",children:"Daftar Pengunjung yang Mengisi Kuisioner"}),e.jsxs("table",{className:"mt-6 min-w-full table-auto border-collapse overflow-hidden rounded-lg bg-white shadow-md",children:[e.jsx("thead",{className:"bg-blue-600 text-white",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-3 text-left text-sm font-semibold",children:"No"}),e.jsx("th",{className:"px-6 py-3 text-left text-sm font-semibold",children:"Nomor Telepon"}),e.jsx("th",{className:"px-6 py-3 text-left text-sm font-semibold",children:"Aksi"})," "]})}),e.jsx("tbody",{className:"divide-y divide-gray-200",children:a.map((t,s)=>e.jsxs("tr",{className:"transition-colors duration-200 ease-in-out hover:bg-gray-50",children:[e.jsx("td",{className:"px-6 py-4 text-sm font-medium text-gray-700",children:s+1}),e.jsx("td",{className:"px-6 py-4 text-sm text-gray-600",children:t.phone_number}),e.jsx("td",{className:"px-6 py-4 text-sm text-gray-600",children:e.jsx(r,{href:`/jawaban/${t.phone_number}`,className:"text-blue-600 hover:underline",children:"Lihat Jawaban"})})]},s))})]})]})]})}export{p as default};
