diff options
Diffstat (limited to '')
| -rw-r--r-- | docs/src/components/HomepageFeatures/index.js | 71 | ||||
| -rw-r--r-- | docs/src/components/HomepageFeatures/styles.module.css | 17 |
2 files changed, 88 insertions, 0 deletions
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: ( + <> + <ul> + <li>Sync your shell history to all of your machines, wherever they are</li> + <li>End-to-end encrypted - nobody can see your data but you</li> + <li>Securely backed up - never lose a command again</li> + </ul> + </> + ), + }, + { + title: 'Find it fast', + Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, + description: ( + <> + <ul> + <li>Speedy terminal search UI</li> + <li>Configurable search method - fuzzy, prefix, etc</li> + <li>Easily search and filter by session, directory, or machine</li> + <li>Powerful command line search for integration with other tools</li> + </ul> + </> + ), + }, + { + title: 'All the data', + Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, + description: ( + <> + <ul> + <li>History stored in a SQLite DB, making stats and analysis easy</li> + <li>Log exit code, directory, hostname, session, command duration, etc</li> + <li>Import old history from a number of shells or history tools</li> + </ul> + </> + ), + }, +]; + +function Feature({ Svg, title, description }) { + return ( + <div className={clsx('col col--4')}> + <div className={"padding-horiz--md", styles.whatisfeature}> + <h3>{title}</h3> + <p>{description}</p> + </div> + </div> + ); +} + +export default function HomepageFeatures() { + return ( + <section className={styles.features}> + <div className={"container"}> + <div className="row"> + {FeatureList.map((props, idx) => ( + <Feature key={idx} {...props} /> + ))} + </div> + </div> + </section> + ); +} diff --git a/docs/src/components/HomepageFeatures/styles.module.css b/docs/src/components/HomepageFeatures/styles.module.css new file mode 100644 index 00000000..7527f330 --- /dev/null +++ b/docs/src/components/HomepageFeatures/styles.module.css @@ -0,0 +1,17 @@ +.features { + display: flex; + align-items: center; + padding: 2rem 0; + width: 100%; +} + +.featureSvg { + height: 200px; + width: 200px; +} + +.whatisfeature { + background-color: var(--ifm-hero-background-color); + padding: 2rem; +} + |
