Skip to content

Commit 0d383ab

Browse files
committed
upgraded to nextjs 13
1 parent a5ec07d commit 0d383ab

18 files changed

+3085
-10396
lines changed

Diff for: .gitignore

+5-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ yarn-debug.log*
2525
yarn-error.log*
2626

2727
# local env files
28-
.env.local
29-
.env.development.local
30-
.env.test.local
31-
.env.production.local
28+
.env*.local
3229

3330
# vercel
3431
.vercel
32+
33+
# typescript
34+
*.tsbuildinfo
35+
next-env.d.ts

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ First, run the development server:
88
npm run dev
99
# or
1010
yarn dev
11+
# or
12+
pnpm dev
1113
```
1214

1315
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
1416

15-
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
16-
17-
[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.js`.
17+
You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.
1818

19-
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.
19+
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
2020

2121
## Learn More
2222

Diff for: components/navbar.js

-76
This file was deleted.

Diff for: jsconfig.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"compilerOptions": {
3+
"paths": {
4+
"@/*": ["./src/*"]
5+
}
6+
}
7+
}

Diff for: layouts/mainLayout.js

-12
This file was deleted.

Diff for: next.config.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
module.exports = {
2-
reactStrictMode: true,
3-
}
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {}
3+
4+
module.exports = nextConfig

0 commit comments

Comments
 (0)