Skip to content

Commit 166801f

Browse files
committed
repo init
1 parent d1f097a commit 166801f

File tree

91 files changed

+7453
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+7453
-0
lines changed

.gitignore

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
35+
36+
# vercel
37+
.vercel
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts

eslint.config.mjs

+16
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.config.ts

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import type { NextConfig } from "next";
2+
3+
const nextConfig: NextConfig = {
4+
images: {
5+
domains: ['img.youtube.com'],
6+
remotePatterns: [
7+
{
8+
protocol: 'https',
9+
hostname: 'img.youtube.com',
10+
port: '',
11+
pathname: '/vi/**',
12+
},
13+
],
14+
},
15+
reactStrictMode: true,
16+
experimental: {
17+
turbo: {
18+
rules: {
19+
'*.svg': ['@svgr/webpack']
20+
}
21+
}
22+
},
23+
};
24+
25+
export default nextConfig;

package.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "gdg-web",
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+
"next": "15.1.3",
14+
"react": "^19.0.0",
15+
"react-dom": "^19.0.0"
16+
},
17+
"devDependencies": {
18+
"@eslint/eslintrc": "^3",
19+
"@svgr/core": "^8.1.0",
20+
"@svgr/webpack": "^8.1.0",
21+
"@types/node": "^20",
22+
"@types/react": "^19",
23+
"@types/react-dom": "^19",
24+
"eslint": "^9",
25+
"eslint-config-next": "15.1.3",
26+
"postcss": "^8",
27+
"tailwindcss": "^3.4.1",
28+
"typescript": "^5",
29+
"webpack": "link:@svgr\\webpack"
30+
}
31+
}

0 commit comments

Comments
 (0)