From 8b2c4a38a461ff5ecc95972291bc711e2c5dec9a Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 28 Apr 2023 01:47:57 +0800 Subject: --- .../with-tailwind/apps/web/src/pages/index.tsx | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 examples/with-tailwind/apps/web/src/pages/index.tsx (limited to 'examples/with-tailwind/apps/web/src/pages/index.tsx') diff --git a/examples/with-tailwind/apps/web/src/pages/index.tsx b/examples/with-tailwind/apps/web/src/pages/index.tsx new file mode 100644 index 0000000..27f57cb --- /dev/null +++ b/examples/with-tailwind/apps/web/src/pages/index.tsx @@ -0,0 +1,48 @@ +import Head from "next/head"; +import { Button, Card } from "ui"; + +const CARD_CONTENT = [ + { + title: "Caching Tasks", + href: "https://turbo.build/repo/docs/core-concepts/caching", + cta: "Read More", + }, + { + title: "Running Tasks", + href: "https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks", + cta: "Read More", + }, + { + title: "Configuration Options", + href: "https://turbo.build/repo/docs/reference/configuration", + cta: "Read More", + }, +]; + +export default function Home() { + return ( +
+ + Web - Turborepo Example + + +
+

+ Web + + Turborepo Example + +

+
+
+ +
+ {CARD_CONTENT.map((card) => ( + + ))} +
+
+
+ ); +} -- cgit v1.2.3-70-g09d2