aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/with-tailwind/apps/docs/src/pages
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-11-03 21:17:06 +0800
committer简律纯 <i@jyunko.cn>2023-11-03 21:17:06 +0800
commit94071d7ce16c56641d67d488e2bac6be84ffe731 (patch)
treed837b71575aba805e18b3db3d056a106d81818fe /examples/with-tailwind/apps/docs/src/pages
parent9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (diff)
downloadHydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.tar.gz
HydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.zip
chore: delete useless files
Diffstat (limited to 'examples/with-tailwind/apps/docs/src/pages')
-rw-r--r--examples/with-tailwind/apps/docs/src/pages/_app.tsx9
-rw-r--r--examples/with-tailwind/apps/docs/src/pages/_document.tsx32
-rw-r--r--examples/with-tailwind/apps/docs/src/pages/index.tsx24
3 files changed, 0 insertions, 65 deletions
diff --git a/examples/with-tailwind/apps/docs/src/pages/_app.tsx b/examples/with-tailwind/apps/docs/src/pages/_app.tsx
deleted file mode 100644
index cab70f5..0000000
--- a/examples/with-tailwind/apps/docs/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 <Component {...pageProps} />;
-}
diff --git a/examples/with-tailwind/apps/docs/src/pages/_document.tsx b/examples/with-tailwind/apps/docs/src/pages/_document.tsx
deleted file mode 100644
index a091efe..0000000
--- a/examples/with-tailwind/apps/docs/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<DocumentInitialProps> {
- const initialProps = await Document.getInitialProps(ctx);
-
- return initialProps;
- }
-
- render() {
- return (
- <Html className="bg-zinc-900">
- <Head />
- <body>
- <Main />
- <NextScript />
- </body>
- </Html>
- );
- }
-}
-
-export default MyDocument;
diff --git a/examples/with-tailwind/apps/docs/src/pages/index.tsx b/examples/with-tailwind/apps/docs/src/pages/index.tsx
deleted file mode 100644
index 6f0fe62..0000000
--- a/examples/with-tailwind/apps/docs/src/pages/index.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import Head from "next/head";
-import { Button } from "ui";
-
-export default function Home() {
- return (
- <div className="flex min-h-screen flex-col items-center justify-center py-2">
- <Head>
- <title>Docs - Turborepo Example</title>
- </Head>
-
- <main className="mx-auto w-auto px-4 pt-16 pb-8 sm:pt-24 lg:px-8">
- <h1 className="mx-auto text-center text-6xl font-extrabold tracking-tight text-white sm:text-7xl lg:text-8xl xl:text-8xl">
- Docs
- <span className="block bg-gradient-to-r from-brandred to-brandblue bg-clip-text text-transparent px-2">
- Turborepo Example
- </span>
- </h1>
- <div className="mx-auto mt-5 max-w-xl sm:flex sm:justify-center md:mt-8">
- <Button />
- </div>
- </main>
- </div>
- );
-}