-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathindex.tsx
More file actions
76 lines (72 loc) · 2.09 KB
/
Copy pathindex.tsx
File metadata and controls
76 lines (72 loc) · 2.09 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
import type {ReactNode} from 'react';
import clsx from 'clsx';
import Heading from '@theme/Heading';
import styles from './styles.module.css';
type FeatureItem = {
title: string;
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
description: ReactNode;
};
const FeatureList: FeatureItem[] = [
{
title: 'Coding Guidelines',
Svg: require('@site/static/img/coding_guidelines.svg').default,
description: (
<>
Develops and maintains coding guidelines focused on safety-critical
applications in Rust.
</>
),
},
{
title: 'Tooling',
Svg: require('@site/static/img/tooling.svg').default,
description: (
<>
Aims to define and maintain a minimal, community-identified set of tools suggested for certifying Rust
in safety-critical applications. It maintains documentation on these tools and their development status,
helping guide adoption and compliance efforts.
</>
),
},
{
title: 'Liaison',
Svg: require('@site/static/img/liaison.svg').default,
description: (
<>
Collaborates with other consortium subcommittees and outside groups,
including standards committees and the Rust Project, to align related
safety-critical Rust efforts.
</>
),
},
];
function Feature({title, Svg, description}: FeatureItem) {
return (
<div className={clsx('col col--4')}>
<div className="text--center">
<Svg className={styles.featureSvg} role="img" />
</div>
<div className="text--center padding-horiz--md">
<Heading as="h3">{title}</Heading>
<p>{description}</p>
</div>
</div>
);
}
export default function HomepageFeatures(): ReactNode {
return (
<section className={styles.features}>
<div className="container">
<Heading as="h2" className="text--center margin-bottom--lg">
Consortium Working Groups
</Heading>
<div className="row">
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
</div>
</div>
</section>
);
}