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:
Julien HerrandClaude Sonnet 4.6 committed 2026-05-22 13:17:46 +02:00
1 parent c9ab3839e4
commit 9bfebf4aa4
2 files changed
+1505 -1618

No files matched your search

-1618
View File
File diff suppressed because it is too large. Load diff
+1505
View File
File diff suppressed because it is too large. Load diff