fix(web): add missing routes

This commit is contained in:
isra el
2025-04-14 07:16:03 +03:00
parent 543507abd5
commit fe63728387
3 changed files with 12 additions and 6 deletions

View File

@@ -74,7 +74,7 @@ export default function LoginForm() {
<Input
placeholder='m@example.com'
{...field}
className='bg-white'
className='dark:text-white dark:bg-gray-800'
/>
</FormControl>
<FormMessage />
@@ -88,7 +88,11 @@ export default function LoginForm() {
<FormItem>
<FormLabel>Password</FormLabel>
<FormControl>
<Input type='password' {...field} className='bg-white' />
<Input
type='password'
{...field}
className='dark:text-white dark:bg-gray-800'
/>
</FormControl>
<FormMessage />
</FormItem>

View File

@@ -88,7 +88,7 @@ export default function RegisterForm() {
<FormItem>
<FormLabel>Full Name</FormLabel>
<FormControl>
<Input placeholder='John Doe' {...field} />
<Input placeholder='John Doe' {...field} className='dark:text-white dark:bg-gray-800' />
</FormControl>
<FormMessage />
</FormItem>
@@ -101,7 +101,7 @@ export default function RegisterForm() {
<FormItem>
<FormLabel>Email</FormLabel>
<FormControl>
<Input placeholder='m@example.com' {...field} />
<Input placeholder='m@example.com' {...field} className='dark:text-white dark:bg-gray-800' />
</FormControl>
<FormMessage />
</FormItem>
@@ -114,7 +114,7 @@ export default function RegisterForm() {
<FormItem>
<FormLabel>Password</FormLabel>
<FormControl>
<Input type='password' {...field} />
<Input type='password' {...field} className='dark:text-white dark:bg-gray-800' />
</FormControl>
<FormMessage />
</FormItem>
@@ -127,7 +127,7 @@ export default function RegisterForm() {
<FormItem>
<FormLabel>Phone (optional)</FormLabel>
<FormControl>
<Input placeholder='+1 (555) 000-0000' {...field} />
<Input placeholder='+1 (555) 000-0000' {...field} className='dark:text-white dark:bg-gray-800' />
</FormControl>
<FormMessage />
</FormItem>

View File

@@ -1,6 +1,8 @@
export const Routes = {
landingPage: '/',
contribute: '/contribute',
useCases: '/use-cases',
quickstart: '/quickstart',
login: '/login',
register: '/register',
logout: '/logout',