Skip to content

Commit 6a98c3b

Browse files
committed
fix: add features
1 parent db338de commit 6a98c3b

File tree

2 files changed

+17
-23
lines changed

2 files changed

+17
-23
lines changed

src/components/HomepageFeatures/index.tsx

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,47 @@
1-
import type {ReactNode} from 'react';
2-
import clsx from 'clsx';
3-
import Heading from '@theme/Heading';
4-
import styles from './styles.module.css';
1+
import type { ReactNode } from "react";
2+
import clsx from "clsx";
3+
import Heading from "@theme/Heading";
4+
import styles from "./styles.module.css";
55

66
type FeatureItem = {
77
title: string;
8-
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
98
description: ReactNode;
109
};
1110

1211
const FeatureList: FeatureItem[] = [
1312
{
14-
title: 'Easy to Use',
15-
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
13+
title: "Flexible",
1614
description: (
1715
<>
18-
Docusaurus was designed from the ground up to be easily installed and
19-
used to get your website up and running quickly.
16+
We support Linux, Windows, and macOS clients, and both x86 & ARM
17+
servers, for maximum compatibility between platforms.
2018
</>
2119
),
2220
},
2321
{
24-
title: 'Focus on What Matters',
25-
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
22+
title: "Secure",
2623
description: (
2724
<>
28-
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
29-
ahead and move your docs into the <code>docs</code> directory.
25+
Drop lets you configure fine-grained permissions for clients, and API
26+
tokens. We also use cryptographic authentication for P2P and client
27+
communication.
3028
</>
3129
),
3230
},
3331
{
34-
title: 'Powered by React',
35-
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
32+
title: "Modern",
3633
description: (
3734
<>
38-
Extend or customize your website layout by reusing React. Docusaurus can
39-
be extended while reusing the same header and footer.
35+
We to build refreshing and attractive UIs, while never compromising on
36+
UX.
4037
</>
4138
),
4239
},
4340
];
4441

45-
function Feature({title, Svg, description}: FeatureItem) {
42+
function Feature({ title, Svg, description }: FeatureItem) {
4643
return (
47-
<div className={clsx('col col--4')}>
48-
<div className="text--center">
49-
<Svg className={styles.featureSvg} role="img" />
50-
</div>
44+
<div className={clsx("col col--4")}>
5145
<div className="text--center padding-horiz--md">
5246
<Heading as="h3">{title}</Heading>
5347
<p>{description}</p>

src/components/HomepageFeatures/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.features {
22
display: flex;
33
align-items: center;
4-
padding: 2rem 0;
4+
padding: 2rem;
55
width: 100%;
66
}
77

0 commit comments

Comments
 (0)