refactor(admin): migrate admin.ts to admin.tsx with JSX login and dashboard
Convert login page and dashboard GET routes from hono/html tagged template literals to typed JSX using the <Layout> component. Extracts reusable CopyIcon, CheckIcon, and CopyFieldInline components. Dashboard inline script (~650 lines) preserved exactly via dangerouslySetInnerHTML constant. All auth logic, CSRF middleware, and API routes are unchanged. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
c9ab3839e4
commit
9bfebf4aa4
2 files changed
+1505
-1618