diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-01-16 18:27:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-16 18:27:47 +0000 |
| commit | ed33f63cce994cbe439f442ea9d4dc8f5771ba10 (patch) | |
| tree | 1786834ed703f8ebdaec75b009158fbd31bc55d1 /docs/src | |
| parent | feat(search): introduce keymap-dependent vim-mode (#1570) (diff) | |
| download | atuin-ed33f63cce994cbe439f442ea9d4dc8f5771ba10.zip | |
docs: remove old docusaurus (#1581)
Diffstat (limited to '')
| -rw-r--r-- | docs/src/components/HomepageFeatures/index.js | 70 | ||||
| -rw-r--r-- | docs/src/components/HomepageFeatures/styles.module.css | 27 | ||||
| -rw-r--r-- | docs/src/css/custom.css | 40 | ||||
| -rw-r--r-- | docs/src/pages/index.module.css | 59 | ||||
| -rw-r--r-- | docs/src/pages/markdown-page.md | 7 | ||||
| -rw-r--r-- | docs/src/theme/Footer/index.js | 11 |
6 files changed, 0 insertions, 214 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; - } -} diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css deleted file mode 100644 index ffa1a79b..00000000 --- a/docs/src/css/custom.css +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Any CSS included here will be global. The classic template - * bundles Infima by default. Infima is a CSS framework designed to - * work well for content-centric websites. - */ - -@tailwind base; -@tailwind components; -@tailwind utilities; - -/* You can override the default Infima variables here. */ -:root { - --ifm-color-primary: #2e8555; - --ifm-color-primary-dark: #29784c; - --ifm-color-primary-darker: #277148; - --ifm-color-primary-darkest: #205d3b; - --ifm-color-primary-light: #33925d; - --ifm-color-primary-lighter: #359962; - --ifm-color-primary-lightest: #3cad6e; - --ifm-code-font-size: 95%; - --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); -} - -/* For readability concerns, you should choose a lighter palette in dark mode. */ -[data-theme='dark'] { - --ifm-color-primary: #25c2a0; - --ifm-color-primary-dark: #21af90; - --ifm-color-primary-darker: #1fa588; - --ifm-color-primary-darkest: #1a8870; - --ifm-color-primary-light: #29d5b0; - --ifm-color-primary-lighter: #32d8b4; - --ifm-color-primary-lightest: #4fddbf; - --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); -} - -.navbar__logo { - height: 50px; - position: absolute; - top: 4px; -} diff --git a/docs/src/pages/index.module.css b/docs/src/pages/index.module.css deleted file mode 100644 index 92931dfb..00000000 --- a/docs/src/pages/index.module.css +++ /dev/null @@ -1,59 +0,0 @@ -/** - * CSS files with the .module.css suffix will be treated as CSS modules - * and scoped locally. - */ - -.heroBanner { - padding: 4rem 0; - text-align: center; - position: relative; - overflow: hidden; -} - -.heroBanner h1 { - font-size: 3rem; -} - -@media screen and (max-width: 996px) { - .heroBanner { - padding: 2rem; - } - - .whatis { - padding-top: 2rem; - } - - .whatisfeatureblock { - margin-top: 2rem; - } -} - -@media screen and (min-width: 996px) { - .whatis { - padding: 4rem; - } -} - -.buttons { - display: flex; - align-items: center; - justify-content: center; -} - -.magical{ - background-image: linear-gradient(90deg, rgb(79, 30, 218) 0%,rgb(104, 100, 218) 33%,rgb(35, 219, 162) 100%); - background-clip: text; - - -webkit-background-clip: text; - -moz-background-clip: text; - -webkit-text-fill-color: transparent; - -moz-text-fill-color: transparent; -} - -.whatis h1 { - font-size: 2em; -} - -.whatisfeature { - background-color: var(--ifm-hero-background-color); -} diff --git a/docs/src/pages/markdown-page.md b/docs/src/pages/markdown-page.md deleted file mode 100644 index 9756c5b6..00000000 --- a/docs/src/pages/markdown-page.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Markdown page example ---- - -# Markdown page example - -You don't need React to write simple standalone pages. diff --git a/docs/src/theme/Footer/index.js b/docs/src/theme/Footer/index.js deleted file mode 100644 index afa2d4b3..00000000 --- a/docs/src/theme/Footer/index.js +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import Footer from '@theme-original/Footer'; - -export default function FooterWrapper(props) { - return ( - <> - <Footer {...props} /> - <script defer data-domain="atuin.sh" src="https://plausible.io/js/script.js"></script> - </> - ); -} |
