This commit is contained in:
Milo Schwartz
2024-10-06 18:09:12 -04:00
57 changed files with 2604 additions and 2104 deletions

View File

@@ -2,11 +2,7 @@ import LoginForm from "@app/components/LoginForm";
import { verifySession } from "@app/lib/verifySession";
import { redirect } from "next/navigation";
export async function Page({
searchParams,
}: {
searchParams: { [key: string]: string | string[] | undefined };
}) {
export async function Page() {
const { user } = await verifySession();
if (user) {
@@ -15,9 +11,10 @@ export async function Page({
return (
<>
<LoginForm redirect={searchParams.redirect as string} />
<LoginForm redirect={"test"} />
</>
);
}
export default Page;

View File

@@ -1,6 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 37 100% 100%;
@@ -24,6 +25,7 @@
--ring: 37 8% 51%;
--radius: 0rem;
}
.dark {
--background: 37 50% 10%;
--foreground: 37 5% 100%;
@@ -47,11 +49,13 @@
--radius: 0rem;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
}