diff options
author | Ty Dunn <ty@tydunn.com> | 2023-06-29 09:38:38 -0700 |
---|---|---|
committer | Ty Dunn <ty@tydunn.com> | 2023-06-29 09:38:38 -0700 |
commit | 479cacba2ee9e6baa6e2564ff507ff6f328f0bd3 (patch) | |
tree | cfad544bbf27485206c470e269203578c39a90df /docs/src | |
parent | b9e1ff3a1a2ea76a2a2ca754ee25df551381bbc6 (diff) | |
download | sncontinue-479cacba2ee9e6baa6e2564ff507ff6f328f0bd3.tar.gz sncontinue-479cacba2ee9e6baa6e2564ff507ff6f328f0bd3.tar.bz2 sncontinue-479cacba2ee9e6baa6e2564ff507ff6f328f0bd3.zip |
docs updates
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/components/HomepageFeatures/index.js | 61 | ||||
-rw-r--r-- | docs/src/components/HomepageFeatures/styles.module.css | 11 | ||||
-rw-r--r-- | docs/src/pages/index.js | 43 | ||||
-rw-r--r-- | docs/src/pages/index.module.css | 23 |
4 files changed, 0 insertions, 138 deletions
diff --git a/docs/src/components/HomepageFeatures/index.js b/docs/src/components/HomepageFeatures/index.js deleted file mode 100644 index 6348f80a..00000000 --- a/docs/src/components/HomepageFeatures/index.js +++ /dev/null @@ -1,61 +0,0 @@ -import React from "react"; -import clsx from "clsx"; -import styles from "./styles.module.css"; - -const FeatureList = [ - { - title: "Understand and edit code", - Svg: require("@site/static/img/undraw_docusaurus_mountain.svg").default, - description: ( - <> - Seamlessly ask language models to help you complete steps in your software development tasks - </> - ), - }, - { - title: "Customizable for your team", - Svg: require("@site/static/img/undraw_docusaurus_tree.svg").default, - description: ( - <> - Define when and how LLMs should act to accelerate steps in your team-specific workflows - </> - ), - }, - { - title: "Break down your work step-by-step", - Svg: require("@site/static/img/undraw_docusaurus_react.svg").default, - description: ( - <> - Use the Continue GUI to review, reverse, and rerun steps that LLMs and you have taken together - </> - ), - }, -]; - -function Feature({ Svg, title, description }) { - return ( - <div className={clsx("col col--4")}> - <div className="text--center"> - <Svg className={styles.featureSvg} role="img" /> - </div> - <div className="text--center padding-horiz--md"> - <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> - ); -}
\ No newline at end of file diff --git a/docs/src/components/HomepageFeatures/styles.module.css b/docs/src/components/HomepageFeatures/styles.module.css deleted file mode 100644 index b248eb2e..00000000 --- a/docs/src/components/HomepageFeatures/styles.module.css +++ /dev/null @@ -1,11 +0,0 @@ -.features { - display: flex; - align-items: center; - padding: 2rem 0; - width: 100%; -} - -.featureSvg { - height: 200px; - width: 200px; -} diff --git a/docs/src/pages/index.js b/docs/src/pages/index.js deleted file mode 100644 index c97234e6..00000000 --- a/docs/src/pages/index.js +++ /dev/null @@ -1,43 +0,0 @@ -import React from "react"; -import clsx from "clsx"; -import Link from "@docusaurus/Link"; -import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; -import Layout from "@theme/Layout"; -import HomepageFeatures from "@site/src/components/HomepageFeatures"; - -import styles from "./index.module.css"; - -function HomepageHeader() { - const { siteConfig } = useDocusaurusContext(); - return ( - <header className={clsx("hero hero--primary", styles.heroBanner)}> - <div className="container"> - <h1 className="hero__title">{siteConfig.title}</h1> - <p className="hero__subtitle">{siteConfig.tagline}</p> - <div className={styles.buttons}> - <Link - className="button button--secondary button--lg" - to="/docs/getting-started" - > - Download for VS Code - </Link> - </div> - </div> - </header> - ); -} - -export default function Home() { - const { siteConfig } = useDocusaurusContext(); - return ( - <Layout - title={`Docs`} - description="Documentation for the `Continue` library" - > - <HomepageHeader /> - <main> - <HomepageFeatures /> - </main> - </Layout> - ); -} diff --git a/docs/src/pages/index.module.css b/docs/src/pages/index.module.css deleted file mode 100644 index 9f71a5da..00000000 --- a/docs/src/pages/index.module.css +++ /dev/null @@ -1,23 +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; -} - -@media screen and (max-width: 996px) { - .heroBanner { - padding: 2rem; - } -} - -.buttons { - display: flex; - align-items: center; - justify-content: center; -} |