Skip to content

Commit

Permalink
chore: change onboarding flow. From landing → login → home
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvink96 committed Apr 2, 2024
1 parent f78f217 commit 9710a8e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/constants/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const PATH_DOCS = {
help: 'https://github.com/design-sparx/antd-multipurpose-dashboard/blob/main/README.md',
components: 'https://6546507b657a74164abf2db6-oniqlpqtfs.chromatic.com/',
productRoadmap:
'https://kelvink96.notion.site/Antd-multipurpose-dashboard-Product-roadmap-92163e05b8ea444a8f87b7f834933069?pvs=74',
'https://kelvink96.notion.site/1af2c000eb4f4b1688684cb2d88d5ee4?v=eb14f3050b7d4357821dbcb4bb61b636&p=752cacbf390f4d1cbc0e625550391d9b&pm=s',
};

export const PATH_CHANGELOG = {
Expand Down
3 changes: 2 additions & 1 deletion src/layouts/guest/Guest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {
import { useMediaQuery } from 'react-responsive';
import { Logo, Nprogress } from '../../components';
import {
PATH_AUTH,
PATH_DASHBOARD,
PATH_DOCS,
PATH_GITHUB,
Expand Down Expand Up @@ -108,7 +109,7 @@ const GuestLayout = () => {
Give us a star
</Button>
</Link>
<Link to={PATH_DASHBOARD.default}>
<Link to={PATH_AUTH.signin}>
<Button icon={<LoginOutlined />} type="primary">
Live Preview
</Button>
Expand Down
6 changes: 5 additions & 1 deletion src/pages/authentication/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ const SignInPage = () => {
layout="vertical"
labelCol={{ span: 24 }}
wrapperCol={{ span: 24 }}
initialValues={{ remember: true }}
initialValues={{
email: '[email protected]',
password: 'demo123',
remember: true,
}}
onFinish={onFinish}
onFinishFailed={onFinishFailed}
autoComplete="off"
Expand Down

0 comments on commit 9710a8e

Please sign in to comment.