Skip to content

Commit 08dd305

Browse files
committed
fix: onboarding
1 parent afe0912 commit 08dd305

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

packages/prime-ui/src/routes/onboarding/Onboarding.tsx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button, Form, Input, message } from 'antd';
1+
import { Button, Form, Input, message, Modal } from 'antd';
22
import { FormComponentProps } from 'antd/lib/form';
33
import React from 'react';
44
import { Auth } from '../../stores/auth';
@@ -22,6 +22,20 @@ export class OnboardingBase extends React.Component<FormComponentProps> {
2222
});
2323
if (Auth.isLoggedIn) {
2424
(this.props as any).history.push('/');
25+
Modal.info({
26+
title: 'Welcome to Prime CMS',
27+
content: (
28+
<div>
29+
<p>To get started, create your first Schema.</p>
30+
<p>
31+
<a href="https://docs.primecms.app" target="_blank">
32+
Read the documentation
33+
</a>
34+
</p>
35+
</div>
36+
),
37+
onOk() {},
38+
});
2539
return;
2640
}
2741
} catch (err) {

0 commit comments

Comments
 (0)