diff options
| author | 2023-11-03 21:17:06 +0800 | |
|---|---|---|
| committer | 2023-11-03 21:17:06 +0800 | |
| commit | 94071d7ce16c56641d67d488e2bac6be84ffe731 (patch) | |
| tree | d837b71575aba805e18b3db3d056a106d81818fe /examples/kitchen-sink/apps/storefront | |
| parent | 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (diff) | |
| download | HydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.tar.gz HydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.zip | |
chore: delete useless files
Diffstat (limited to 'examples/kitchen-sink/apps/storefront')
| -rw-r--r-- | examples/kitchen-sink/apps/storefront/.eslintrc.js | 4 | ||||
| -rw-r--r-- | examples/kitchen-sink/apps/storefront/next-env.d.ts | 5 | ||||
| -rw-r--r-- | examples/kitchen-sink/apps/storefront/next.config.js | 3 | ||||
| -rw-r--r-- | examples/kitchen-sink/apps/storefront/package.json | 28 | ||||
| -rw-r--r-- | examples/kitchen-sink/apps/storefront/public/favicon.ico | bin | 15086 -> 0 bytes | |||
| -rw-r--r-- | examples/kitchen-sink/apps/storefront/src/pages/_app.tsx | 6 | ||||
| -rw-r--r-- | examples/kitchen-sink/apps/storefront/src/pages/index.tsx | 24 | ||||
| -rw-r--r-- | examples/kitchen-sink/apps/storefront/src/styles.css | 55 | ||||
| -rw-r--r-- | examples/kitchen-sink/apps/storefront/tsconfig.json | 9 |
9 files changed, 0 insertions, 134 deletions
diff --git a/examples/kitchen-sink/apps/storefront/.eslintrc.js b/examples/kitchen-sink/apps/storefront/.eslintrc.js deleted file mode 100644 index c8df607..0000000 --- a/examples/kitchen-sink/apps/storefront/.eslintrc.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - root: true, - extends: ["custom"], -}; diff --git a/examples/kitchen-sink/apps/storefront/next-env.d.ts b/examples/kitchen-sink/apps/storefront/next-env.d.ts deleted file mode 100644 index 4f11a03..0000000 --- a/examples/kitchen-sink/apps/storefront/next-env.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/// <reference types="next" /> -/// <reference types="next/image-types/global" /> - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/examples/kitchen-sink/apps/storefront/next.config.js b/examples/kitchen-sink/apps/storefront/next.config.js deleted file mode 100644 index da1bb77..0000000 --- a/examples/kitchen-sink/apps/storefront/next.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - reactStrictMode: true, -}; diff --git a/examples/kitchen-sink/apps/storefront/package.json b/examples/kitchen-sink/apps/storefront/package.json deleted file mode 100644 index 08800fd..0000000 --- a/examples/kitchen-sink/apps/storefront/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "storefront", - "version": "0.0.0", - "private": true, - "scripts": { - "build": "next build", - "clean": "rm -rf .next", - "dev": "next dev -p 3002", - "lint": "next lint", - "start": "next start " - }, - "dependencies": { - "logger": "workspace:*", - "next": "latest", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "ui": "workspace:*" - }, - "devDependencies": { - "@types/jest": "^26.0.22", - "@types/node": "^17.0.12", - "@types/react": "^17.0.13", - "@types/react-dom": "^17.0.8", - "eslint-config-custom": "workspace:*", - "tsconfig": "workspace:*", - "typescript": "^4.8.3" - } -} diff --git a/examples/kitchen-sink/apps/storefront/public/favicon.ico b/examples/kitchen-sink/apps/storefront/public/favicon.ico Binary files differdeleted file mode 100644 index af98450..0000000 --- a/examples/kitchen-sink/apps/storefront/public/favicon.ico +++ /dev/null diff --git a/examples/kitchen-sink/apps/storefront/src/pages/_app.tsx b/examples/kitchen-sink/apps/storefront/src/pages/_app.tsx deleted file mode 100644 index 7b312a7..0000000 --- a/examples/kitchen-sink/apps/storefront/src/pages/_app.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import type { AppProps } from "next/app"; -import "../styles.css"; - -export default function MyApp({ Component, pageProps }: AppProps) { - return <Component {...pageProps} />; -} diff --git a/examples/kitchen-sink/apps/storefront/src/pages/index.tsx b/examples/kitchen-sink/apps/storefront/src/pages/index.tsx deleted file mode 100644 index 7adef55..0000000 --- a/examples/kitchen-sink/apps/storefront/src/pages/index.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import { log } from "logger"; -import Head from "next/head"; -import { CounterButton, NewTabLink } from "ui"; - -export default function Store() { - log("Hey! This is Home."); - return ( - <div className="container"> - <Head> - <title>Store | Kitchen Sink</title> - </Head> - <h1 className="title"> - Store <br /> - <span>Kitchen Sink</span> - </h1> - <CounterButton /> - <p className="description"> - Built With{" "} - <NewTabLink href="https://turbo.build/repo">Turborepo</NewTabLink> +{" "} - <NewTabLink href="https://nextjs.org/">Next.js</NewTabLink> - </p> - </div> - ); -} diff --git a/examples/kitchen-sink/apps/storefront/src/styles.css b/examples/kitchen-sink/apps/storefront/src/styles.css deleted file mode 100644 index d4b766e..0000000 --- a/examples/kitchen-sink/apps/storefront/src/styles.css +++ /dev/null @@ -1,55 +0,0 @@ -html { - font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, - Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif; - -webkit-text-size-adjust: 100%; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-tap-highlight-color: transparent; - line-height: 1.5; - tab-size: 4; -} - -body { - margin: 0; -} - -.container { - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - gap: 1.5rem; - max-width: 100%; - margin: 0 auto; - padding: 0 16px; - text-align: center; -} - -.title { - font-size: 3rem; - font-weight: 700; - margin: 0; -} - -.title span { - display: inline-block; - background-image: linear-gradient(to right, #3b82f6, #ef4444); - -webkit-background-clip: text; - background-clip: text; - color: transparent; -} - -.description { - color: #9ca3af; - font-weight: 500; -} - -.description a { - color: #3b82f6; - text-decoration: none; -} - -.description a:hover { - text-decoration: underline; -} diff --git a/examples/kitchen-sink/apps/storefront/tsconfig.json b/examples/kitchen-sink/apps/storefront/tsconfig.json deleted file mode 100644 index fcbeaa7..0000000 --- a/examples/kitchen-sink/apps/storefront/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "exclude": ["node_modules"], - "extends": "tsconfig/nextjs.json", - "compilerOptions": { - "rootDir": "src", - "outDir": "dist" - }, - "include": ["src", "next-env.d.ts"] -} |
