-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(frontend): create auth wrapper components bb-189 #201
Conversation
iqbalalayubbi
commented
Aug 26, 2024
•
edited
Loading
edited
- Make the auth wrapper component and render header, sidebar, and other content inside
- Pass the component into a protected route component as a prop
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…4-bebalance into 189-feat-create-auth-wrapper-components
<> | ||
<Header /> | ||
<Sidebar /> | ||
<QuizForm /> | ||
</> |
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.
Make sure to keep styling, add a screenshot to this PR
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.
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.
The layout is not correct. Sidebar should be on the left side
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.
<> | ||
<Header /> | ||
<Sidebar /> | ||
<QuizForm /> | ||
</> |
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.
The layout is not correct. Sidebar should be on the left side
apps/frontend/src/libs/components/protected-route/protected-route.tsx
Outdated
Show resolved
Hide resolved
…4-bebalance into 189-feat-create-auth-wrapper-components
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.
Add a screenshot with updated layout