From c558da5bebfebf239dde867f36cc35d56849accf Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Sat, 25 Feb 2023 23:29:59 +0000 Subject: Add fancy web docs (#725) * Add initial site * WIP again * Replace docs with web docs * Bring back translations * Update README.md * remove images --- docs/src/components/HomepageFeatures/index.js | 71 +++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 docs/src/components/HomepageFeatures/index.js (limited to 'docs/src/components/HomepageFeatures/index.js') diff --git a/docs/src/components/HomepageFeatures/index.js b/docs/src/components/HomepageFeatures/index.js new file mode 100644 index 00000000..c242c798 --- /dev/null +++ b/docs/src/components/HomepageFeatures/index.js @@ -0,0 +1,71 @@ +import React from 'react'; +import clsx from 'clsx'; +import styles from './styles.module.css'; + +const FeatureList = [ + { + title: 'History sync', + Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, + description: ( + <> + + + ), + }, + { + title: 'Find it fast', + Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, + description: ( + <> + + + ), + }, + { + title: 'All the data', + Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, + description: ( + <> + + + ), + }, +]; + +function Feature({ Svg, title, description }) { + return ( +
+
+

{title}

+

{description}

+
+
+ ); +} + +export default function HomepageFeatures() { + return ( +
+
+
+ {FeatureList.map((props, idx) => ( + + ))} +
+
+
+ ); +} -- cgit v1.3.1