Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/auth-redirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const AuthRedirect: React.FC = () => {

const useAuthCode = async (code: string) => {
await axios.post('/api/auth/login', { code });
router.push('/');
router.push('/onboarding');
};

React.useEffect(() => {
Expand Down
22 changes: 22 additions & 0 deletions pages/onboarding/index.tsx
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>
Comment thread
MainlyColors marked this conversation as resolved.
<Button variant="contained" color="secondary">
Skip
</Button>
</Link>
</Box>
</Container>
);
};

export default Onboarding;