diff options
Diffstat (limited to '')
| -rw-r--r-- | docs/src/components/HomepageFeatures/index.js | 70 | ||||
| -rw-r--r-- | docs/src/components/HomepageFeatures/styles.module.css | 27 |
2 files changed, 0 insertions, 97 deletions
diff --git a/docs/src/components/HomepageFeatures/index.js b/docs/src/components/HomepageFeatures/index.js deleted file mode 100644 index 81528043..00000000 --- a/docs/src/components/HomepageFeatures/index.js +++ /dev/null @@ -1,70 +0,0 @@ -import React from 'react'; -import clsx from 'clsx'; -import styles from './styles.module.css'; - -const FeatureList = [ - { - title: 'History sync', - 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 your history</li> - <li>Easily handles decades of history</li> - </ul> - </> - ), - }, - { - title: 'Speedy search', - description: ( - <> - <ul> - <li>Full text or fuzzy search over your shell history</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> - <li>Written in Rust, so it's fast <em>and</em> safe 🦀</li> - </ul> - </> - ), - }, - { - title: 'Extra context', - 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 existing history from a number of shells or history tools</li> - </ul> - </> - ), - }, -]; - -function Feature({ Svg, title, description }) { - return ( - <div className={clsx('col col--4', styles.whatisfeatureblock)}> - <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 deleted file mode 100644 index c02de402..00000000 --- a/docs/src/components/HomepageFeatures/styles.module.css +++ /dev/null @@ -1,27 +0,0 @@ -.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; -} - - -@media screen and (max-width: 996px) { - .whatisfeatureblock { - margin-top: 2rem; - } - - .features { - padding: 0; - } -} |
