feat(client): add profile bio markdown editor

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2026-01-20 13:28:10 +08:00
parent 8e792ced68
commit b8a2e24bd0
9 changed files with 249 additions and 13 deletions

View File

@@ -6,7 +6,6 @@ import NixOSLogo from '@/assets/nixos.svg?react';
const paramsSchema = z.object({
email: z.string().optional(),
});
export const Route = createFileRoute('/magicLinkSent')({
component: RouteComponent,
validateSearch: zodValidator(paramsSchema),
@@ -16,7 +15,8 @@ function RouteComponent() {
const { email } = Route.useSearch();
return email !== undefined
? (
<div className="
<div
className="
bg-background flex min-h-svh flex-row items-center justify-center gap-6 p-6 md:p-10"
>
<NixOSLogo className="size-12" />
@@ -29,5 +29,7 @@ function RouteComponent() {
{email}
</div>
)
: <Navigate to="/login" />;
: (
<Navigate to="/authorize" />
);
}