-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add login page #367
Add login page #367
Conversation
Need to swap in a better logo and a better image. Not super well-tested for smaller screen sizes but hoping that our fixed min-width addition will help with how the login screen may appear. Also threw in placeholder logic for the login state.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Please don't merge.
app/src/App.tsx
Outdated
return ( | ||
<ThemeProvider defaultTheme="dark" storageKey="vite-ui-theme"> | ||
<TooltipProvider> | ||
<AppBar /> | ||
{routeManager.route !== Route.LOGIN && <AppBar />} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No App Bar means no drag... Could make it black for the occasion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No drag? For the rest of the app or what do you mean? I don't quite understand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try dragging the window without the AppBar. You won't be able to drag it if its disabled. So instead, we can make it transparent or black when route is Login. You don't have to do this, I can update it once we agree on an implementation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I updated with what I mean
app/src/assets/Dunes_Login.png
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would reuse the other asset or replace it. Also needs to be compressed. Should be 200kb instead of 2 MB
app/src/routes/login/index.tsx
Outdated
|
||
useEffect(() => { | ||
// Retrieve the last login method from localStorage | ||
const storedMethod = localStorage.getItem('lastLoginMethod'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice stuff but this is not what we do. I'll update it before merge.
Description
What is the purpose of this pull request?