-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.js
102 lines (99 loc) · 2.62 KB
/
index.js
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
import React from 'react';
import KickoffDevopsSvg from '@site/static/img/kickoff-devops.svg';
import ExtendToolchainSvg from '@site/static/img/extend-toolchain.svg';
import InnovationSvg from '@site/static/img/innovation.svg';
const FeatureList = [
{
title: 'Kickoff DevOps in 5 Minutes',
Svg: KickoffDevopsSvg,
description: (
<>
Tired of investigating and integrating all the DevOps tools?
<br />
Get your toolchain up and running with one command line.
</>
),
},
{
title: 'Compose or Extend Your Toolchain like Lego',
Svg: ExtendToolchainSvg,
description: (
<>
Boost team productivity by plugging in or upgrading any DevOps tool you
need, with minimal overhead.
<br />
Unleash the full potential of your toolchain with best practices.
</>
),
},
{
title: 'Embrace New Opportunities',
Svg: InnovationSvg,
description: (
<>
Say goodbye to vendor lock-in. Never let your toolchain become your
bottleneck.
<br />
Feel the pulse of new DevOps tools and new practices.
</>
),
},
];
function Feature({ Svg, title, description }) {
return (
<div className="flex flex-col items-center space-y-3 lg:space-y-6">
<div
className="w-[150px] h-[122px]
lg:w-[200px] lg:h-[150px]
2xl:w-[358px] 2xl:h-[290px]
"
>
<Svg role="img" />
</div>
<div
className="text-center lg:text-start
sm2:w-[550px]
lg:w-[300px]
2xl:w-[380px]
"
>
<span
className="block text-[16px] leading-[1.25] text-neutral-600 font-semibold
lg:text-heading2stream dark:text-neutral-invert
"
>
{title}
</span>
<p
className="mt-1 text-label14stream text-neutral-400
lg:text-label18stream dark:text-neutral-300
"
>
{description}
</p>
</div>
</div>
);
}
export default function HomepageFeatures() {
return (
<section className="bg-white flex flex-col flex-nowrap py-6 items-stretch dark:bg-primary-dark">
<span
className="section-title text-center dark:text-primary
"
>
What You Can Do with DevStream
</span>
<div
className="flex flex-nowrap flex-col items-center mt-5 space-y-5 px-4
lg:flex-row lg:justify-evenly lg:items-start lg:space-y-[0px] lg:mt-6
2xl:justify-center 2xl:space-x-[166px]
"
>
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
</div>
</section>
);
}