1import{c as n,E as i,a as o,j as e,bT as c,N as d,L as t,aQ as l,B as m,O as x}from"./index-C4ajyBlC.js";import{U as h}from"./users-DVhjwCLm.js";/** 2 * @license lucide-react v0.344.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const p=n("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]),j=()=>{const{status:s,user:r}=i(),a=o();return s==="loading"?e.jsx("div",{className:"mx-auto max-w-7xl px-4 pb-10 pt-6",children:e.jsx("div",{className:"flex items-center justify-center min-h-[400px]",children:e.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-orange-500"})})}):c(r)?e.jsxs("div",{className:"mx-auto max-w-7xl px-4 pb-10 pt-6",children:[e.jsx("div",{className:"mb-4",children:e.jsxs(t,{to:"/teacher-dashboard",className:"inline-flex items-center gap-1 text-xs text-slate-500 hover:text-slate-800",children:[e.jsx(l,{className:"h-4 w-4"}),"Back to Teacher Dashboard"]})}),e.jsxs("header",{className:"mb-6",children:[e.jsx("h1",{className:"text-2xl font-semibold text-slate-900",children:"Teacher Admin / æå¸«ç®¡çå¾å°"}),e.jsx("p",{className:"mt-2 text-sm text-slate-600",children:"Manage teachers and certification requests."})]}),e.jsx("div",{className:"mb-6 border-b border-slate-200",children:e.jsxs("nav",{className:"flex gap-4",children:[e.jsx(t,{to:"/teacher-admin/teachers",className:`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${a.pathname.includes("/teacher-admin/teachers")||a.pathname==="/teacher-admin"?"text-orange-600 border-orange-500":"text-slate-600 border-transparent hover:text-orange-600 hover:border-orange-500"}`,children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(h,{className:"h-4 w-4"}),"Teachers / è師åå®"]})}),e.jsx(t,{to:"/teacher-admin/certification-requests",className:`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${a.pathname.includes("/teacher-admin/certification-requests")?"text-orange-600 border-orange-500":"text-slate-600 border-transparent hover:text-orange-600 hover:border-orange-500"}`,children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(p,{className:"h-4 w-4"}),"Certification Requests / èªèç³è«"]})}),e.jsx(t,{to:"/teacher-admin/dictionary-contributions",className:`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${a.pathname.includes("/teacher-admin/dictionary-contributions")?"text-orange-600 border-orange-500":"text-slate-600 border-transparent hover:text-orange-600 hover:border-orange-500"}`,children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4"}),"Dictionary Contributions / è©å ¸è²¢ç»"]})})]})}),e.jsx(x,{})]}):e.jsx(d,{to:"/course-outline",replace:!0})};export{j as TeacherAdminDashboardPage}; 7//# sourceMappingURL=TeacherAdminDashboardPage-C2D_5cLk.js.map
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.