diff --git a/website/.eslintrc.json b/website/.eslintrc.json
index bffb357a7..1c2aa65d7 100644
--- a/website/.eslintrc.json
+++ b/website/.eslintrc.json
@@ -1,3 +1,3 @@
{
- "extends": "next/core-web-vitals"
+ "extends": "next/core-web-vitals"
}
diff --git a/website/README.md b/website/README.md
index c87e0421d..e06b1a5f8 100644
--- a/website/README.md
+++ b/website/README.md
@@ -1,4 +1,5 @@
-This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
+This is a [Next.js](https://nextjs.org/) project bootstrapped with
+[`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
@@ -10,25 +11,38 @@ npm run dev
yarn dev
```
-Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
+Open [http://localhost:3000](http://localhost:3000) with your browser to see the
+result.
-You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
+You can start editing the page by modifying `pages/index.tsx`. The page
+auto-updates as you edit the file.
-[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
+[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on
+[http://localhost:3000/api/hello](http://localhost:3000/api/hello). This
+endpoint can be edited in `pages/api/hello.ts`.
-The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
+The `pages/api` directory is mapped to `/api/*`. Files in this directory are
+treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead
+of React pages.
## Learn More
To learn more about Next.js, take a look at the following resources:
-- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
-- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
+- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js
+ features and API.
+- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
-You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
+You can check out
+[the Next.js GitHub repository](https://github.com/vercel/next.js/) - your
+feedback and contributions are welcome!
## Deploy on Vercel
-The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
+The easiest way to deploy your Next.js app is to use the
+[Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme)
+from the creators of Next.js.
-Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
+Check out our
+[Next.js deployment documentation](https://nextjs.org/docs/deployment) for more
+details.
diff --git a/website/next.config.js b/website/next.config.js
index 41876139b..3a8a89775 100644
--- a/website/next.config.js
+++ b/website/next.config.js
@@ -1,12 +1,12 @@
-const withMDX = require("@next/mdx")({
- extension: /\.mdx?$/,
-});
+const withMDX = require('@next/mdx')({
+ extension: /\.mdx?$/,
+})
/** @type {import('next').NextConfig} */
const nextConfig = withMDX({
- reactStrictMode: true,
- swcMinify: true,
- pageExtensions: ["js", "jsx", "ts", "tsx", "md", "mdx"],
-});
+ reactStrictMode: true,
+ swcMinify: true,
+ pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
+})
-module.exports = nextConfig;
+module.exports = nextConfig
diff --git a/website/pages/_app.tsx b/website/pages/_app.tsx
index c055f25c2..8301ffda5 100644
--- a/website/pages/_app.tsx
+++ b/website/pages/_app.tsx
@@ -2,5 +2,5 @@ import '../styles/globals.css'
import type { AppProps } from 'next/app'
export default function App({ Component, pageProps }: AppProps) {
- return
+ return
}
diff --git a/website/pages/api/hello.ts b/website/pages/api/hello.ts
index f8bcc7e5c..d3979fec2 100644
--- a/website/pages/api/hello.ts
+++ b/website/pages/api/hello.ts
@@ -2,12 +2,9 @@
import type { NextApiRequest, NextApiResponse } from 'next'
type Data = {
- name: string
+ name: string
}
-export default function handler(
- req: NextApiRequest,
- res: NextApiResponse
-) {
- res.status(200).json({ name: 'John Doe' })
+export default function handler(req: NextApiRequest, res: NextApiResponse) {
+ res.status(200).json({ name: 'John Doe' })
}
diff --git a/website/pages/index.tsx b/website/pages/index.tsx
index cdffa57ca..aef84219f 100644
--- a/website/pages/index.tsx
+++ b/website/pages/index.tsx
@@ -3,69 +3,66 @@ import Image from 'next/image'
import styles from '../styles/Home.module.css'
export default function Home() {
- return (
-