diff --git a/starter/next-news/.eslintrc.json b/starter/next-news/.eslintrc.json deleted file mode 100644 index a2569c2c7c..0000000000 --- a/starter/next-news/.eslintrc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "root": true, - "extends": "next/core-web-vitals" -} diff --git a/starter/next-news/.gitignore b/starter/next-news/.gitignore deleted file mode 100644 index b2ca114608..0000000000 --- a/starter/next-news/.gitignore +++ /dev/null @@ -1,40 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# Dependencies -/node_modules -/.pnp -.pnp.js - -# Testing -/coverage - -# Next.js -/.next/ -/out/ - -# Production -/build - -# Misc -.DS_Store -*.pem - -# Debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# Local ENV files -.env.local -.env.development.local -.env.test.local -.env.production.local - -# Vercel -.vercel - -# Turborepo -.turbo - -# typescript -*.tsbuildinfo \ No newline at end of file diff --git a/starter/next-news/README.md b/starter/next-news/README.md deleted file mode 100644 index 2e045d82f2..0000000000 --- a/starter/next-news/README.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -name: Next News -slug: next-news -description: Hacker News clone in Next.js. -framework: Next.js -useCase: Starter -css: CSS-in-JSX -deployUrl: https://vercel.com/new/clone?repository-url=https://github.com/vercel/examples/tree/main/starter/next-news&project-name=next-news&repository-name=next-news -demoUrl: https://next-news.vercel.app -relatedTemplates: - - ab-testing-simple ---- - -# Next News - -This is an example showing a Hacker News clone using Next.js. - -## Demo - -https://next-news.vercel.app - -## How to Use - -You can choose from one of the following two methods to use this repository: - -### One-Click Deploy - -Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=vercel-examples): - -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/examples/tree/main/starter/next-news&project-name=next-news&repository-name=next-news) - -### Clone and Deploy - -Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [pnpm](https://pnpm.io/installation) to bootstrap the example: - -```bash -pnpm create next-app --example https://github.com/vercel/examples/tree/main/starter/next-news next-news -``` - -Next, run Next.js in development mode: - -```bash -pnpm dev -``` - -Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=vercel-examples) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/starter/next-news/components/comment-form.tsx b/starter/next-news/components/comment-form.tsx deleted file mode 100644 index 53ce5620f3..0000000000 --- a/starter/next-news/components/comment-form.tsx +++ /dev/null @@ -1,25 +0,0 @@ -export default function CommentForm() { - return ( -
-