Style !
This commit is contained in:
+9
-2
@@ -8,8 +8,15 @@ export default define.page(function ({ Component }) {
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>vces</title>
|
||||
</head>
|
||||
<body>
|
||||
<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>
|
||||
</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">
|
||||
<Component />
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
+1
-5
@@ -2,9 +2,5 @@ import { define } from "@/utils.ts";
|
||||
import MainIsland from "@/islands/MainIsland.tsx";
|
||||
|
||||
export default define.page(function () {
|
||||
return (
|
||||
<div>
|
||||
<MainIsland />
|
||||
</div>
|
||||
);
|
||||
return <MainIsland />;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user