Skip to content

Commit 8a8087d

Browse files
Changed to nextjs
1 parent dc95d09 commit 8a8087d

26 files changed

+912
-0
lines changed

.gitignore

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Node.js modules
2+
node_modules/
3+
4+
# Next.js build output
5+
.next/
6+
out/
7+
8+
# Logs
9+
logs/
10+
*.log
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
15+
# Dependency directories
16+
jspm_packages/
17+
18+
# TypeScript build output
19+
*.tsbuildinfo
20+
21+
# dotenv environment files
22+
.env
23+
.env.local
24+
.env.development.local
25+
.env.test.local
26+
.env.production.local
27+
28+
# Next.js static files (if you are deploying to Vercel or similar)
29+
.vscode/
30+
31+
# MacOS system files
32+
.DS_Store
33+
34+
# Windows system files
35+
Thumbs.db
36+
37+
# IDEs and Editors
38+
.idea/
39+
.vscode/
40+
41+
# Yarn lock file (optional, if you're using npm instead)
42+
yarn.lock
43+
44+
# NPM lock file (optional, but recommended)
45+
package-lock.json
46+
47+
# Next.js generated .next folder on build
48+
.next/
49+
50+
# Static site generation output
51+
out/
52+
53+
# IDE / Editor specific files
54+
*.swp
55+
*.swo
56+
57+
# Tailwind CSS build folder (if you use TailwindCSS with PostCSS)
58+
.tailwind/
59+
60+
# Docker-related files
61+
docker-compose.yml
62+
Dockerfile
63+
.docker/
64+
65+
# VS Code extensions settings
66+
.vscode/settings.json
67+
.vscode/extensions.json
68+
69+
# Jest test coverage output
70+
coverage/
71+
72+
# SvelteKit (if you use it in combination with Next.js)
73+
.svelte-kit/
74+
75+
# Mac system files
76+
.AppleDouble
77+
78+
# Linux system files
79+
.directory
80+

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
2+
3+
## Getting Started
4+
5+
First, run the development server:
6+
7+
```bash
8+
npm run dev
9+
# or
10+
yarn dev
11+
# or
12+
pnpm dev
13+
# or
14+
bun dev
15+
```
16+
17+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18+
19+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
20+
21+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
22+
23+
## Learn More
24+
25+
To learn more about Next.js, take a look at the following resources:
26+
27+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29+
30+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
31+
32+
## Deploy on Vercel
33+
34+
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.
35+
36+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.

eslint.config.mjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { dirname } from "path";
2+
import { fileURLToPath } from "url";
3+
import { FlatCompat } from "@eslint/eslintrc";
4+
5+
const __filename = fileURLToPath(import.meta.url);
6+
const __dirname = dirname(__filename);
7+
8+
const compat = new FlatCompat({
9+
baseDirectory: __dirname,
10+
});
11+
12+
const eslintConfig = [
13+
...compat.extends("next/core-web-vitals", "next/typescript"),
14+
];
15+
16+
export default eslintConfig;

next-env.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

next.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { NextConfig } from "next";
2+
3+
const nextConfig: NextConfig = {
4+
/* config options here */
5+
};
6+
7+
export default nextConfig;

package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "my-project",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev --turbopack",
7+
"build": "next build",
8+
"start": "next start",
9+
"lint": "next lint"
10+
},
11+
"dependencies": {
12+
"framer-motion": "^11.15.0",
13+
"motion": "^11.15.0",
14+
"next": "15.1.0",
15+
"react": "^19.0.0",
16+
"react-dom": "^19.0.0"
17+
},
18+
"devDependencies": {
19+
"@eslint/eslintrc": "^3",
20+
"@types/node": "^20",
21+
"@types/react": "^19",
22+
"@types/react-dom": "^19",
23+
"eslint": "^9",
24+
"eslint-config-next": "15.1.0",
25+
"postcss": "^8",
26+
"tailwindcss": "^3.4.1",
27+
"typescript": "^5"
28+
}
29+
}

postcss.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/** @type {import('postcss-load-config').Config} */
2+
const config = {
3+
plugins: {
4+
tailwindcss: {},
5+
},
6+
};
7+
8+
export default config;

public/file.svg

Lines changed: 1 addition & 0 deletions
Loading

public/globe.svg

Lines changed: 1 addition & 0 deletions
Loading

public/next.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)