-
Notifications
You must be signed in to change notification settings - Fork 5
Add Onboarding page and redirect from login via auth-redirect #82
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
Merged
MainlyColors
merged 12 commits into
main
from
#76-Create-OnBoarding-Page-and-Skip-Functionality
Apr 6, 2023
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
5c90058
Add OnBoarding page and redirect from home page
MainlyColors 5403234
revert jsx from single quote to double quote
MainlyColors 9bab224
remove all onboarding logic from index.tsx as it was in the wrong place
MainlyColors 5ece939
change redirect to be to /onboarding route instead of /
MainlyColors 656dd2f
change onDismiss to onSkip and redirect to /
MainlyColors eb9ba64
replace dismiss with skip on onboarding page
MainlyColors 33e0658
remove formatting change on pages/index.tsx
MainlyColors 74ad301
remove formatting changes on auth-redirect.tsx
MainlyColors eee68de
Rename directory from pages/onBoarding -> pages/onboarding
MainlyColors 9be1ef3
change last remaining OnBoarding to Onboarding in typography component
MainlyColors 8bd91e9
removed onClick handler to use Link component instead
MainlyColors 36208b8
rename Index Component to Onboarding
MainlyColors File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| import { Box, Button, Container, Typography } from '@mui/material'; | ||
| import { NextPage } from 'next'; | ||
| import Link from 'next/link'; | ||
|
|
||
| const Onboarding: NextPage = () => { | ||
| return ( | ||
| <Container maxWidth="lg" className="flex justify-between pt-4"> | ||
| <Typography variant="h1" className="text-3xl"> | ||
| Onboarding | ||
| </Typography> | ||
| <Box className="flex items-center gap-4"> | ||
| <Link href="/" passHref> | ||
| <Button variant="contained" color="secondary"> | ||
| Skip | ||
| </Button> | ||
| </Link> | ||
| </Box> | ||
| </Container> | ||
| ); | ||
| }; | ||
|
|
||
| export default Onboarding; | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.