Skip to content

Commit b253a1b

Browse files
authored
Merge pull request #16 from O2sa/feat/project-init
Feat: project init
2 parents a7918f6 + 827e0a5 commit b253a1b

12 files changed

Lines changed: 4666 additions & 0 deletions

.dockerignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.git
2+
.nx
3+
node_modules
4+
**/node_modules
5+
dist
6+
**/dist
7+
.pnpm-store
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
.env
12+
.env.*
13+
Dockerfile
14+
**/*.tsbuildinfo
15+
tmp
16+
temp
17+
pnpm-lock.yaml.prev

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GITHUB_TOKEN=your_github_token_here

app/globals.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;
4+
5+
:root {
6+
color-scheme: light;
7+
}
8+
9+
* {
10+
@apply box-border;
11+
}
12+
13+
body {
14+
@apply bg-slate-50 text-slate-900 antialiased;
15+
font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
16+
background-image:
17+
radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08), transparent 35%),
18+
radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.08), transparent 30%),
19+
linear-gradient(180deg, #f8fbff 0%, #f2f5f9 40%, #f9fafb 100%);
20+
min-height: 100vh;
21+
}
22+

app/layout.tsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import "./globals.css";
2+
import type { ReactNode } from "react";
3+
4+
export const metadata = {
5+
title: "DevImpact",
6+
description: "GitHub user scoring",
7+
};
8+
9+
export default function RootLayout({ children }: { children: ReactNode }) {
10+
return (
11+
<html>
12+
<body>
13+
DevImpact
14+
</body>
15+
</html>
16+
);
17+
}

lib/utils.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { type ClassValue, clsx } from "clsx";
2+
import { twMerge } from "tailwind-merge";
3+
4+
export function cn(...inputs: ClassValue[]) {
5+
return twMerge(clsx(inputs));
6+
}

next-env.d.ts

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

next.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
3+
reactStrictMode: true,
4+
typedRoutes: true,
5+
};
6+
7+
module.exports = nextConfig;

package.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "devimpact-next",
3+
"version": "0.0.1",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev",
7+
"build": "next build",
8+
"start": "next start",
9+
"lint": "next lint"
10+
},
11+
"dependencies": {
12+
"@octokit/graphql": "^9.0.3",
13+
"class-variance-authority": "^0.7.0",
14+
"clsx": "^2.1.1",
15+
"lucide-react": "^1.7.0",
16+
"next": "^16.2.2",
17+
"next-themes": "^0.3.0",
18+
"react": "^19.2.4",
19+
"react-dom": "^19.2.4",
20+
"recharts": "^2.12.7",
21+
"tailwind-merge": "^2.5.3"
22+
},
23+
"devDependencies": {
24+
"@types/node": "^25.5.2",
25+
"@types/react": "^19.2.14",
26+
"@types/react-dom": "^19.2.3",
27+
"autoprefixer": "^10.4.20",
28+
"eslint": "^9.17.0",
29+
"eslint-config-next": "^16.2.2",
30+
"postcss": "^8.4.47",
31+
"tailwindcss": "^3.4.14",
32+
"typescript": "^6.0.2"
33+
}
34+
}

0 commit comments

Comments
 (0)