File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
frontend/src/components/blocks Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export const LoginForm = observer(() => {
14
14
} , [ ] ) ;
15
15
16
16
return (
17
- < Card className = 'bg-primary-foreground mx-auto flex min- h-[650px] min-w-[400px] max-w-sm flex-col justify-center' >
17
+ < Card className = 'bg-primary-foreground mx-auto flex h-[650px] max-h-[90% ] min-w-[400px] max-w-sm flex-col justify-center' >
18
18
< div >
19
19
< CardHeader className = 'flex items-center pb-10' >
20
20
< CardTitle className = 'text-3xl' > Welcome Back To</ CardTitle >
Original file line number Diff line number Diff line change 1
- import { SunIcon , MoonIcon } from '@radix-ui/react-icons' ;
1
+ import { SunIcon , MoonIcon , PersonIcon } from '@radix-ui/react-icons' ;
2
2
import { observer } from 'mobx-react' ;
3
3
4
4
import { Tabs , TabsList , TabsTrigger } from '../ui/tabs' ;
@@ -52,6 +52,11 @@ const NavBar = observer(() => {
52
52
< a href = { ROUTES . LOGIN } > Log In</ a >
53
53
</ Button >
54
54
) }
55
+ { ! isSignUp && ! isLogin && (
56
+ < Button variant = 'outline' size = 'icon' className = 'overflow-hidden rounded-full' >
57
+ < PersonIcon />
58
+ </ Button >
59
+ ) }
55
60
</ div >
56
61
</ nav >
57
62
</ header >
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ interface PrivateRouteProps {
7
7
8
8
export function PrivateRoute ( { children } : PrivateRouteProps ) {
9
9
//const isAuthenticated = checkUserAuthentication();
10
- const isAuthenticated = false ;
10
+ const isAuthenticated = true ;
11
11
return isAuthenticated ? children : < Navigate to = '/login' /> ;
12
12
}
You can’t perform that action at this time.
0 commit comments