website refactor

This commit is contained in:
2026-01-19 18:01:30 +01:00
parent 6154d54435
commit 61b5cf3b64
120 changed files with 2226 additions and 2021 deletions

View File

@@ -1,6 +1,7 @@
'use client';
import { Stack } from '@/ui/Stack';
import { Form } from '@/ui/Form';
import { Group } from '@/ui/Group';
import React from 'react';
interface AuthFormProps {
@@ -15,8 +16,10 @@ interface AuthFormProps {
*/
export function AuthForm({ children, onSubmit }: AuthFormProps) {
return (
<Stack as="form" {...({ onSubmit, noValidate: true } as any)} gap={6}>
{children}
</Stack>
<Form onSubmit={onSubmit}>
<Group direction="column" gap={6}>
{children}
</Group>
</Form>
);
}