/
CreateCampaign.tsx
57 lines (55 loc) · 2.26 KB
/
CreateCampaign.tsx
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
import * as React from 'react'
import { CampaignsIcon } from '../../icons'
import { Link } from '../../../../../../shared/src/components/Link'
interface Props {
className?: string
}
/**
* Overview page over the different types of campaigns
*/
export const CreateCampaign: React.FunctionComponent<Props> = ({ className }) => (
<div className={className}>
<h1>
Create a new campaign{' '}
<sup>
<span className="badge badge-info text-uppercase">Beta</span>
</sup>
</h1>
<ul className="list-group">
<li className="list-group-item p-3">
<Link to="cli" className="text-decoration-none">
<div className="d-flex">
<h3>
<CampaignsIcon className="mr-3" />
</h3>
<div>
<h3>Create and track changesets</h3>
<p className="mb-0">
Change code in multiple repositories. Turn the resulting set of patches into changesets
(pull requests) on code hosts by creating a campaign. Track the progress of the
changesets in the newly created campaign.
</p>
</div>
</div>
</Link>
</li>
<li className="list-group-item p-3">
<Link to="new" className="text-decoration-none">
<div className="d-flex">
<h3>
<CampaignsIcon className="mr-3" />
</h3>
<div>
<h3>Track existing changesets</h3>
<p className="mb-0">
Track a collection of already created changesets by collecting them in a campaign. The
burndown chart provides an overview of progress, and filters help surface which
changesets need action.
</p>
</div>
</div>
</Link>
</li>
</ul>
</div>
)