mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-08-05 09:04:16 +00:00
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:
co-authored by
Claude Sonnet 4.6
parent
c9ab3839e4
commit
9bfebf4aa4