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 <noreply@anthropic.com>
This commit is contained in:
Julien Herr
2026-05-22 13:17:46 +02:00
parent c9ab3839e4
commit 9bfebf4aa4
2 changed files with 1505 additions and 1618 deletions
-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