Skip to content

Commit

Permalink
fetch job and challenges lists and update JobsPerDepartment data source
Browse files Browse the repository at this point in the history
  • Loading branch information
jongomez committed Nov 10, 2023
1 parent e985be6 commit a6c6641
Show file tree
Hide file tree
Showing 16 changed files with 1,436 additions and 200 deletions.
1 change: 1 addition & 0 deletions packages/docusaurus-playground/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GITHUB_ACCESS_TOKEN=
12 changes: 12 additions & 0 deletions packages/docusaurus-playground/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ const config = {
routeBasePath: '/',
path: 'docs',
},
generated: {
challenges: {
repoArray: [
{ owner: 'logos-co', repo: 'nomos-node' },
{ owner: 'logos-co', repo: 'nomos-specs' },
],
githubAccessToken: process.env.GITHUB_ACCESS_TOKEN,
},
jobList: {
jobBoard: 'waku',
},
},
}),
],
],
Expand Down
3 changes: 2 additions & 1 deletion packages/docusaurus-playground/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
ShowcaseCard,
JobsPerDepartment,
} from '../components/mdx'
import * as jobData from '/generated/jobs.json'

<Hero size="large">
<HeroInfo>
Expand Down Expand Up @@ -353,4 +354,4 @@ import {
Build on Waku
</CallToActionButton>
</Box>
<JobsPerDepartment jobBoard="codex" useDummyData />
<JobsPerDepartment jobData={jobData} />
Loading

0 comments on commit a6c6641

Please sign in to comment.