added theme switcher, fixed themes
This commit is contained in:
parent
99f6df1a3b
commit
027deba422
6 changed files with 109 additions and 55 deletions
|
|
@ -1,10 +1,11 @@
|
|||
import { Heading, Input, Stack } from '@chakra-ui/react';
|
||||
import { Heading, Input, Stack, Text } from '@chakra-ui/react';
|
||||
import { Button } from '@client/components/ui/button';
|
||||
import { Field } from '@client/components/ui/field';
|
||||
import { valibotResolver } from '@hookform/resolvers/valibot';
|
||||
import { createFileRoute, redirect } from '@tanstack/react-router';
|
||||
import { useForm } from 'react-hook-form';
|
||||
import * as v from 'valibot';
|
||||
import { Link } from '../components/ui/link';
|
||||
import { PasswordInput } from '../components/ui/password-input';
|
||||
import { useAuth } from '../hooks/auth';
|
||||
|
||||
|
|
@ -20,6 +21,12 @@ function LoginComponent() {
|
|||
<Stack flexDirection={'column'} justifyContent={'center'} alignItems={'center'}>
|
||||
<Heading>Login</Heading>
|
||||
<LoginForm />
|
||||
<Text>
|
||||
Don't have an account?{' '}
|
||||
<Link to="/register" textDecoration="none">
|
||||
Sign up
|
||||
</Link>
|
||||
</Text>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue