-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathlayout.tsx
More file actions
75 lines (73 loc) · 2.15 KB
/
Copy pathlayout.tsx
File metadata and controls
75 lines (73 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import Layout from '@/app/(dashboard)/[environmentId]/layout-client';
import Content from '@/components/content';
import Processes from '@/components/processes';
import { SetAbility } from '@/lib/abilityStore';
import { FC, PropsWithChildren } from 'react';
import { AiOutlineFile, AiOutlineProfile } from 'react-icons/ai';
const SigninLayout: FC<PropsWithChildren> = ({ children }) => {
return (
<>
{children}
<SetAbility rules={[]} environmentId={''} />
<Layout
activeSpace={{ spaceId: '', isOrganization: false }}
loggedIn={true}
userEnvironments={[{ isOrganization: false, ownerId: '', id: '' }]}
layoutMenuItems={[
{
key: 'processes-group',
label: 'Processes',
children: [
{
key: 'processes',
label: 'Process List',
icon: <AiOutlineFile />,
},
{
key: 'templates',
label: 'Templates',
icon: <AiOutlineProfile />,
},
],
},
]}
>
<Content title="Processes">
<Processes
processes={[
{
id: '',
folderId: '',
environmentId: '',
creatorId: '',
name: 'How to PROCEED',
type: 'process',
versions: [],
createdOn: new Date(),
lastEditedOn: new Date(),
//variables: [],
//departments: [],
processIds: [],
description: 'How to PROCEED',
sharedAs: 'protected',
shareTimestamp: 0,
allowIframeTimestamp: 0,
},
]}
folder={{
id: '',
name: '',
parentId: null,
createdOn: new Date(),
createdBy: '',
lastEditedOn: new Date(),
environmentId: '',
category: 'process',
}}
/>
</Content>
</Layout>
</>
);
};
export default SigninLayout;