From 94071d7ce16c56641d67d488e2bac6be84ffe731 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 3 Nov 2023 21:17:06 +0800 Subject: chore: delete useless files --- examples/with-tailwind/apps/web/src/pages/_app.tsx | 9 ---- .../with-tailwind/apps/web/src/pages/_document.tsx | 32 --------------- .../with-tailwind/apps/web/src/pages/index.tsx | 48 ---------------------- 3 files changed, 89 deletions(-) delete mode 100644 examples/with-tailwind/apps/web/src/pages/_app.tsx delete mode 100644 examples/with-tailwind/apps/web/src/pages/_document.tsx delete mode 100644 examples/with-tailwind/apps/web/src/pages/index.tsx (limited to 'examples/with-tailwind/apps/web/src/pages') diff --git a/examples/with-tailwind/apps/web/src/pages/_app.tsx b/examples/with-tailwind/apps/web/src/pages/_app.tsx deleted file mode 100644 index cab70f5..0000000 --- a/examples/with-tailwind/apps/web/src/pages/_app.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import "../styles/globals.css"; -// include styles from the ui package -import "ui/styles.css"; - -import type { AppProps } from "next/app"; - -export default function MyApp({ Component, pageProps }: AppProps) { - return ; -} diff --git a/examples/with-tailwind/apps/web/src/pages/_document.tsx b/examples/with-tailwind/apps/web/src/pages/_document.tsx deleted file mode 100644 index a091efe..0000000 --- a/examples/with-tailwind/apps/web/src/pages/_document.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import Document, { - DocumentContext, - DocumentInitialProps, - Html, - Head, - Main, - NextScript, -} from "next/document"; - -class MyDocument extends Document { - static async getInitialProps( - ctx: DocumentContext - ): Promise { - const initialProps = await Document.getInitialProps(ctx); - - return initialProps; - } - - render() { - return ( - - - -
- - - - ); - } -} - -export default MyDocument; diff --git a/examples/with-tailwind/apps/web/src/pages/index.tsx b/examples/with-tailwind/apps/web/src/pages/index.tsx deleted file mode 100644 index 27f57cb..0000000 --- a/examples/with-tailwind/apps/web/src/pages/index.tsx +++ /dev/null @@ -1,48 +0,0 @@ -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