feat: add authorization

This commit is contained in:
2026-08-13 15:03:59 +03:00
parent 1e13adabd3
commit 3448fea140
28 changed files with 4504 additions and 3707 deletions
+10 -5
View File
@@ -1,14 +1,19 @@
import { Stack, Title } from "@mantine/core";
import { Paper, Stack, Title } from "@mantine/core";
import { useTranslation } from "react-i18next";
import { RegisterForm } from "../../../features/auth";
import { StateView } from "../../../shared/ui/StateView";
export function RegisterPage() {
const { t } = useTranslation();
return (
<Stack>
<Title order={1}>{t("auth.register")}</Title>
<RegisterPageEmpty />
</Stack>
<main className="auth-page">
<Paper className="auth-card" p="xl" radius="lg" withBorder>
<Stack gap="lg">
<Title order={1}>{t("auth.register")}</Title>
<RegisterForm />
</Stack>
</Paper>
</main>
);
}