diff --git a/package.json b/package.json index a2eb1f2..4f7c61f 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "talks": "deno run --allow-all utils/talks.js", "explorer": "deno run --allow-all utils/explorer.js", "events-ext": "deno run --allow-all utils/events-ext.js", + "db-repo": "deno run --allow-all utils/db-repo.js", "sync-all": "npm run core && npm run contribs && npm run articles && npm run talks && npm run explorer && npm run events-ext" }, "dependencies": { diff --git a/src/config.yaml b/src/config.yaml index 4e262b1..36cace2 100644 --- a/src/config.yaml +++ b/src/config.yaml @@ -16,8 +16,8 @@ header: # url: /articles #- name: Leaderboard # url: /leaderboard - - name: Explorer - link: explorer + #- name: Explorer + # link: explorer - name: News link: news - name: Docs diff --git a/src/db-repo.json b/src/db-repo.json new file mode 100644 index 0000000..a51cc64 --- /dev/null +++ b/src/db-repo.json @@ -0,0 +1,5 @@ +{ + "count": "550+", + "contributors": 30, + "stars": 302 +} \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 712d8de..206546a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -6,6 +6,7 @@ import core from '../core.json'; import articles from '../articles.json'; import talks from '../talks.json'; import explorer from '../explorer.json'; +import dbRepo from '../db-repo.json'; import { isPast, format } from 'date-fns'; const events = core.events; @@ -44,15 +45,22 @@ for (const ev of events) { -