-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Navbar username/sign out display on login, code cleanup #8
Conversation
Luberski
commented
Apr 7, 2022
- Adjust fonts to figma design
- [Login page] Redirect user to Home page on succesful log in
- Add logout button to navbar
- Display username in navbar when user is logged in
<Link to={'/'} className="flex items-center text-zinc-600"> | ||
<div className="heart mr-4"></div> | ||
<Link to={'/'} className="flex items-center text-zinc-600 font-serif text-2xl"> | ||
{/* <div className="heart mr-4"></div> */} |
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.
|
||
useEffect(() => { | ||
if (user) { | ||
console.log('user', user); | ||
navigate('/'); |
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.
👍
@@ -1,4 +1,4 @@ | |||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800;900&display=fallback'); | |||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Pacifico&display=swap'); |
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.
💯
} | ||
body { | ||
@apply text-zinc-900; | ||
@apply text-zinc-900 bg-zinc-100; |
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.
💪
Navbar username/sign out display on login, code cleanup