Skip to content

Commit

Permalink
Update: ACM Create GH Contributions Table
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRouz committed Nov 12, 2024
1 parent 13c8672 commit c7b356f
Show file tree
Hide file tree
Showing 5 changed files with 143 additions and 126 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ yarn-error.log*

# local env files
.env*.local
.env

# vercel
.vercel
Expand Down
187 changes: 99 additions & 88 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@fortawesome/react-fontawesome": "^0.2.2",
"axios": "^1.7.7",
"framer-motion": "^11.3.31",
"next": "14.2.7",
"next": "^14.2.17",
"react": "^18",
"react-dom": "^18",
"react-icons": "^5.3.0"
Expand Down
4 changes: 2 additions & 2 deletions src/app/api/github-events/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ export async function GET() {
).values()
);

// Take the latest 15 unique events
const latestEvents = uniqueEvents.slice(0, 15);
// Take the latest 30 unique events
const latestEvents = uniqueEvents.slice(0, 30);

return NextResponse.json(latestEvents);
} catch (error) {
Expand Down
Loading

0 comments on commit c7b356f

Please sign in to comment.