diff options
| author | 2023-04-22 19:52:26 +0800 | |
|---|---|---|
| committer | 2023-04-22 19:52:26 +0800 | |
| commit | 4838df315931bb883f704ec3e1abe2685f296cdf (patch) | |
| tree | 57a8550c4cd5338f1126364bb518c6cde8d96e7d /docs/components/QuickStart.tsx | |
| parent | db74ade0234a40c2120ad5f2a41bee50ce13de02 (diff) | |
| download | HydroRoll-4838df315931bb883f704ec3e1abe2685f296cdf.tar.gz HydroRoll-4838df315931bb883f704ec3e1abe2685f296cdf.zip | |
😀
Diffstat (limited to 'docs/components/QuickStart.tsx')
| -rw-r--r-- | docs/components/QuickStart.tsx | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/docs/components/QuickStart.tsx b/docs/components/QuickStart.tsx new file mode 100644 index 0000000..040871e --- /dev/null +++ b/docs/components/QuickStart.tsx @@ -0,0 +1,89 @@ +import { + BookOpenIcon, + CloudDownloadIcon, + CloudUploadIcon, + LightBulbIcon, + LightningBoltIcon, + PencilIcon, + ServerIcon, + SparklesIcon, +} from "@heroicons/react/outline"; +import { DetailedFeatureLink } from "./Feature"; +import Turbo from "./logos/Turbo"; + +export const QuickStartArea = () => { + return ( + <div className="grid grid-cols-1 mt-12 gap-x-6 gap-y-12 sm:grid-cols-2 lg:mt-16 lg:gap-x-8 lg:gap-y-12"> + <DetailedFeatureLink + feature={{ + Icon: PencilIcon, + description: `Add Turborepo to any JavaScript or TypeScript project in minutes.`, + name: "Add to existing project", + }} + href="/repo/docs/getting-started/add-to-project" + ></DetailedFeatureLink> + <DetailedFeatureLink + feature={{ + Icon: SparklesIcon, + description: `Build a brand-new monorepo with shared packages powered by Turborepo.`, + name: "Create a new monorepo", + }} + href="/repo/docs/getting-started/create-new" + ></DetailedFeatureLink> + <DetailedFeatureLink + feature={{ + Icon: ServerIcon, + description: `Incrementally add Turborepo to your existing monorepo codebase.`, + name: "Add to existing monorepo", + }} + href="/repo/docs/getting-started/existing-monorepo" + ></DetailedFeatureLink> + </div> + ); +}; + +export const MonoreposArea = () => { + return ( + <div className="grid grid-cols-1 mt-12 gap-x-6 gap-y-12 sm:grid-cols-2 lg:mt-16 lg:gap-x-8 lg:gap-y-12"> + <DetailedFeatureLink + feature={{ + Icon: LightBulbIcon, + description: `Understand why monorepos don't scale - and why Turborepo is the solution.`, + name: "Why Turborepo?", + }} + href="/repo/docs/core-concepts/monorepos" + ></DetailedFeatureLink> + <DetailedFeatureLink + feature={{ + Icon: BookOpenIcon, + description: `Learn the basics of monorepos before you dive in to Turborepo.`, + name: "Read the Monorepo Handbook", + }} + href="/docs/handbook" + ></DetailedFeatureLink> + </div> + ); +}; + +export const LearnMoreArea = () => { + return ( + <div className="grid grid-cols-1 mt-12 gap-x-6 gap-y-12 sm:grid-cols-2 lg:mt-16 lg:gap-x-8 lg:gap-y-12"> + <DetailedFeatureLink + feature={{ + Icon: CloudUploadIcon, + description: `Turborepo remembers the output of any task you run - and can skip work that's already been done.`, + name: "Never do the same work twice", + }} + href="/repo/docs/core-concepts/caching" + /> + <DetailedFeatureLink + feature={{ + Icon: LightningBoltIcon, + description: `The way you run your tasks is probably not optimized. Turborepo speeds them up with smart scheduling, minimising idle CPU's.`, + name: "Maximum Multitasking", + }} + href="/repo/docs/core-concepts/monorepos/running-tasks" + ></DetailedFeatureLink> + </div> + ); +}; |
