-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
280 lines (270 loc) · 10 KB
/
index.js
File metadata and controls
280 lines (270 loc) · 10 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
import React from 'react';
import clsx from 'clsx';
import styles from './styles.module.css';
import { useColorMode } from '@docusaurus/theme-common';
const FeatureList = [
{
title: 'Seamless workflow from planning to commanding',
Img: require('@site/static/img/cards/plandev-feature-planning-commanding-light.png').default,
ImgDark: require('@site/static/img/cards/plandev-feature-planning-commanding-dark.png').default,
size: 'col--8',
description: (
<>
Build sequences and commands that execute on-board a spacecraft directly from activities in your plans. Author
and refine sequences derived from your command dictionary.
</>
),
},
{
title: 'Extensible mission modeling and simulation',
Img: require('@site/static/img/cards/plandev-feature-mission-modeling-light.png').default,
ImgDark: require('@site/static/img/cards/plandev-feature-mission-modeling-dark.png').default,
size: 'col--4',
description: (
<>
Model your system with access to the entire Java ecosystem. Validate plans against your models using PlanDev's
discrete event simulator through the user interface or PlanDev API.
</>
),
},
{
title: 'Real-time collaboration and versioning',
Img: require('@site/static/img/cards/plandev-feature-collaboration-light.png').default,
ImgDark: require('@site/static/img/cards/plandev-feature-collaboration-dark.png').default,
size: 'col--4',
description: (
<>
Create, modify, and test out plans together in real time from across the world. Or make branches, edit them
asynchronously, and merge them together when you're ready.
</>
),
},
{
title: 'Flexible scheduling and rule checking',
Img: require('@site/static/img/cards/plandev-feature-rule-checking-light.png').default,
ImgDark: require('@site/static/img/cards/plandev-feature-rule-checking-dark.png').default,
size: 'col--8',
description: (
<>
Automate plan creation with prioritized scheduling goals. Author constraints, evaluate them against a simulation
of your plan, and visualize violations on the plan timeline.
</>
),
},
];
const GetStartedList = [
{
title: 'For Mission Planners',
Img: require('@site/static/img/cards/plandev-getstarted-mission-planners-light.png').default,
ImgDark: require('@site/static/img/cards/plandev-getstarted-mission-planners-dark.png').default,
size: 'col--4',
link: '/plandev-docs/category/planning/',
linkTitle: 'Planning docs',
description: (
<>
Create a viable plan that meets mission objectives while adhering to all constraints throughout the project
lifecycle.
</>
),
},
{
title: 'For Systems Engineers',
Img: require('@site/static/img/cards/plandev-getstarted-systems-engineers-light.png').default,
ImgDark: require('@site/static/img/cards/plandev-getstarted-systems-engineers-dark.png').default,
size: 'col--4',
// link: '/plandev-docs/category/planning/',
// linkTitle: 'Planning docs',
description: <>Analyze and inform spacecraft design and architecture during development.</>,
},
{
title: 'For Spacecraft Operators',
Img: require('@site/static/img/cards/plandev-getstarted-spacecraftops-light.png').default,
ImgDark: require('@site/static/img/cards/plandev-getstarted-spacecraftops-dark.png').default,
size: 'col--4',
// link: '/plandev-docs/category/planning/',
// linkTitle: 'Planning docs',
description: (
<>
Build and collaboratively iterate on an integrated plan and set of commands that meets plan goals and
constraints.
</>
),
},
{
title: 'Open source and zero cost',
Img: require('@site/static/img/cards/plandev-getstarted-opensource-light.png').default,
ImgDark: require('@site/static/img/cards/plandev-getstarted-opensource-dark.png').default,
size: 'col--4',
link: 'https://opensource.org/license/mit/',
linkTitle: 'MIT License',
description: (
<>Community driven flexible workspace designed to support flagship missions to exploratory proposals.</>
),
},
{
title: 'Quick set up and customization',
Img: require('@site/static/img/cards/plandev-getstarted-customize-light.png').default,
ImgDark: require('@site/static/img/cards/plandev-getstarted-customize-dark.png').default,
size: 'col--8',
link: '/plandev-docs/introduction/#fast-track',
linkTitle: 'PlanDev quick start',
description: (
<>
PlanDev was designed from the ground up to be easily installed and used to get your mission up and running
quickly. PlanDev lets you focus on your mission, and we'll do the chores.
</>
),
},
];
const LearnMoreList = [
{
title: 'Ask a question on Slack',
Img: require('@site/static/img/cards/plandev-learn-slack.png').default,
ImgDark: require('@site/static/img/cards/plandev-learn-slack-dark.png').default,
size: 'col--4',
link: 'https://join.slack.com/t/nasa-ammos/shared_invite/zt-1mlgmk5c2-MgqVSyKzVRUWrXy87FNqPw',
linkTitle: 'Join Slack',
description: (
<>Say hi or get help by joining our Slack conversations or posting a question in our GitHub discussions.</>
),
},
{
title: 'Discuss or contribute on Github',
Img: require('@site/static/img/cards/plandev-learn-github.png').default,
ImgDark: require('@site/static/img/cards/plandev-learn-github-dark.png').default,
size: 'col--4',
link: 'https://github.com/NASA-AMMOS/aerie',
linkTitle: 'PlanDev on Github',
description: (
<>Post a question in GitHub discussions, or contribute back and help make PlanDev even better than it is today.</>
),
},
{
title: 'Sign up for news and updates',
Img: require('@site/static/img/cards/plandev-learn-googlegroup-light.png').default,
ImgDark: require('@site/static/img/cards/plandev-learn-googlegroup-dark.png').default,
size: 'col--4',
link: 'https://groups.google.com/u/3/g/plandev-users',
linkTitle: 'PlanDev Users Group',
description: <>Stay up-to-date on the latest news and releases by joining the PlanDev Users Google Group.</>,
},
{
title: 'Dive into the docs',
size: 'col--4',
links: [
{ url: '/plandev-docs/overview/concept-of-operations/', text: 'Concept of Operations' },
{ url: '/plandev-docs/overview/software-design-document/', text: 'Software Design Document' },
{ url: '/plandev-docs/mission-modeling/introduction/', text: 'Mission Modeling' },
{ url: '/plandev-docs/category/planning/', text: 'Planning' },
{ url: '/plandev-docs/constraints/introduction/', text: 'Constraints' },
{ url: '/plandev-docs/java-docs/introduction/', text: 'Java Docs' },
],
description: <>See the details of how different components work in PlanDev.</>,
},
{
title: 'Explore a universe of extensions',
Img: require('@site/static/img/cards/plandev-learn-extensions-light.png').default,
ImgDark: require('@site/static/img/cards/plandev-learn-extensions-dark.png').default,
size: 'col--4',
link: '/plandev-docs/introduction/#fast-track',
linkTitle: 'Coming soon',
description: (
<>
Project and community members have begun to build a marketplace of extensions you can use to jump start your
modeling and ground system integration efforts.
</>
),
},
{
title: 'Something else?',
size: 'col--4',
link: 'mailto:plandev-support@googlegroups.com',
linkTitle: 'plandev-support@googlegroups.com',
description: (
<>
NASA Missions: Have a specific quesion that you'd like help with? Curious to speak with someone directly? Send
us an email and we are happy to help you with PlanDev.
</>
),
},
];
function Feature({ Img, ImgDark, title, description, size, link, linkTitle, links }) {
const { colorMode } = useColorMode();
return (
<div className={clsx(`col ${styles.featureSection}`, size)}>
<div className={styles.card}>
<div className="card__header">
<h3>{title}</h3>
</div>
<div className={clsx(`card__body ${styles.cardBody}`)}>
<div className={styles.cardDescription}>
<p>{description}</p>
{links && (
<ul className={styles.linksList}>
{links.map((linkItem, index) => (
<li key={index}>
<a href={linkItem.url} target={linkItem.newTab ? '_blank' : '_self'} rel="noopener noreferrer">
{linkItem.text}
</a>
</li>
))}
</ul>
)}
</div>
{Img && <img src={colorMode === 'light' ? Img : ImgDark} className={styles.cardImg} alt={title} />}
{link && (
<div className={styles.cardFooter}>
{linkTitle === 'Coming soon' ? (
<p style={{ marginBottom: 0 }}>Coming soon</p>
) : (
<a href={link}>
{linkTitle}
<span className={styles.linkArrow}>→</span>
</a>
)}
</div>
)}
</div>
</div>
</div>
);
}
export function HomepageFeatures() {
return (
<section className={styles.cardSection}>
<div className="container">
<div className="row">
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
</div>
</div>
</section>
);
}
export function HomepageGetStarted() {
return (
<section className={styles.cardSection}>
<div className="container">
<div className="row">
{GetStartedList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
</div>
</div>
</section>
);
}
export function HomepageLearnMore() {
return (
<section className={styles.cardSection}>
<div className="container">
<div className="row">
{LearnMoreList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
</div>
</div>
</section>
);
}