|
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"; |
5 | 5 |
|
6 | 6 | type FeatureItem = {
|
7 | 7 | title: string;
|
8 |
| - Svg: React.ComponentType<React.ComponentProps<'svg'>>; |
9 | 8 | description: ReactNode;
|
10 | 9 | };
|
11 | 10 |
|
12 | 11 | const FeatureList: FeatureItem[] = [
|
13 | 12 | {
|
14 |
| - title: 'Easy to Use', |
15 |
| - Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, |
| 13 | + title: "Flexible", |
16 | 14 | description: (
|
17 | 15 | <>
|
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. |
20 | 18 | </>
|
21 | 19 | ),
|
22 | 20 | },
|
23 | 21 | {
|
24 |
| - title: 'Focus on What Matters', |
25 |
| - Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, |
| 22 | + title: "Secure", |
26 | 23 | description: (
|
27 | 24 | <>
|
28 |
| - Docusaurus lets you focus on your docs, and we'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. |
30 | 28 | </>
|
31 | 29 | ),
|
32 | 30 | },
|
33 | 31 | {
|
34 |
| - title: 'Powered by React', |
35 |
| - Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, |
| 32 | + title: "Modern", |
36 | 33 | description: (
|
37 | 34 | <>
|
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. |
40 | 37 | </>
|
41 | 38 | ),
|
42 | 39 | },
|
43 | 40 | ];
|
44 | 41 |
|
45 |
| -function Feature({title, Svg, description}: FeatureItem) { |
| 42 | +function Feature({ title, Svg, description }: FeatureItem) { |
46 | 43 | 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")}> |
51 | 45 | <div className="text--center padding-horiz--md">
|
52 | 46 | <Heading as="h3">{title}</Heading>
|
53 | 47 | <p>{description}</p>
|
|
0 commit comments