Skip to content

Commit

Permalink
Convert to fully static site generation (#513)
Browse files Browse the repository at this point in the history
* support for edge runtime (cloudflare compatability)

* support for statically rendering leaderboard route

* pre-render for defined set of date ranges
  • Loading branch information
rithviknishad authored Sep 23, 2024
1 parent 42971e2 commit f35afd9
Show file tree
Hide file tree
Showing 27 changed files with 3,523 additions and 3,395 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ package-lock.json
yarn.lock

# Files placed by data-repo
/public/logo.png
/public/logo.png

data/views/
36 changes: 0 additions & 36 deletions app/api/contributors/[slug]/dailyReport/route.ts

This file was deleted.

1 change: 0 additions & 1 deletion app/api/leaderboard/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export const getLeaderboardData = async (
name: `${contributor.name}`,
title: contributor.title,
role: contributor.role,
content: contributor.content,
joining_date: contributor.joining_date,
social: {
github: `${contributor.github}`,
Expand Down
22 changes: 0 additions & 22 deletions app/api/leaderboard/route.ts

This file was deleted.

18 changes: 0 additions & 18 deletions app/api/slack-eod-bot/eod-updates/route.ts

This file was deleted.

93 changes: 0 additions & 93 deletions app/api/slack-eod-bot/route.ts

This file was deleted.

20 changes: 0 additions & 20 deletions app/api/task/complete/route.ts

This file was deleted.

18 changes: 0 additions & 18 deletions app/api/task/create/route.ts

This file was deleted.

20 changes: 0 additions & 20 deletions app/api/task/delete/route.ts

This file was deleted.

27 changes: 0 additions & 27 deletions app/api/task/list/route.ts

This file was deleted.

14 changes: 0 additions & 14 deletions app/api/task/slack.ts

This file was deleted.

Loading

0 comments on commit f35afd9

Please sign in to comment.