-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathHomepageFeatures.js
More file actions
64 lines (61 loc) · 1.85 KB
/
HomepageFeatures.js
File metadata and controls
64 lines (61 loc) · 1.85 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
import React from 'react';
import clsx from 'clsx';
import styles from './HomepageFeatures.module.css';
const FeatureList = [
{
title: 'Powered By GitHub',
Svg: require('../../static/img/features/github.svg').default,
description: (
<>
Build the deployment system around <strong>GitHub deployment API</strong>.
It enables an organization builds loosely coupled deployment system, without worrying about the implementation details of delivering different types of applications.
</>
),
},
{
title: 'Configuration as code',
Svg: require('../../static/img/features/file.svg').default,
description: (
<>
<strong>Pipeline is configured with a simple, easy-to-read file</strong> that you commit to your git repository.
It configures a deployment pipeline for each runtime environment in minutes.
</>
),
},
{
title: 'Deployment safety',
Svg: require('../../static/img/features/deployment.svg').default,
description: (
<>
Deployment can be more dangerous than others and might need to be treated with extra care.
Gitploy has <strong>powerful features to deploy safely.</strong>
</>
),
},
];
function Feature({Svg, Png, title, description}) {
return (
<div className={clsx('col col--4')}>
<div className="text--center">
<Svg className={styles.featureSvg} alt={title} />
</div>
<div className="text--center padding-horiz--md">
<h3>{title}</h3>
<p>{description}</p>
</div>
</div>
);
}
export default function HomepageFeatures() {
return (
<section className={styles.features}>
<div className="container">
<div className="row">
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
</div>
</div>
</section>
);
}