Admin page

This commit is contained in:
2026-10-29 21:42:26 -03:00
parent 07e61d9dd1
commit f7f34e1a57
18 changed files with 369 additions and 13 deletions
+4
View File
@@ -1,4 +1,5 @@
import { define } from "@/utils.ts";
import AdminButton from "@/islands/AdminButton.tsx";
export default define.page(function ({ Component }) {
return (
@@ -11,6 +12,9 @@ export default define.page(function ({ Component }) {
<body class="flex min-h-screen flex-col items-center bg-white font-sans text-gray-900 md:bg-gray-100 dark:bg-black dark:text-gray-100">
<header class="flex h-16 w-full flex-none flex-row items-center px-6 md:h-24 md:px-8">
<a href="/" class="text-2xl font-bold md:text-3xl">vces</a>
<div class="ml-auto">
<AdminButton />
</div>
</header>
<main class="flex w-full max-w-5xl md:m-auto md:w-[calc(100%-3rem)] md:flex-1 md:items-center md:py-8">
<section class="w-full bg-white p-6 md:min-h-[42rem] md:rounded-xl md:p-8 md:shadow-big dark:bg-gray-900 md:dark:border md:dark:border-gray-800">