add github challenges list to community page (#57)

This commit is contained in:
Jon 2023-11-17 13:24:42 +00:00 committed by GitHub
parent 4de9692df1
commit 65d4c32896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -48,6 +48,10 @@ const config = {
path: 'root-pages',
},
generated: {
challenges: {
repoArray: [{ owner: 'waku-org', repo: 'bounties' }],
githubAccessToken: process.env.GITHUB_ACCESS_TOKEN,
},
jobList: {
jobBoard: 'waku',
},

View File

@ -6,7 +6,8 @@ displayed_sidebar: null
sidebar_class_name: hidden
---
import { Grid, Box, SocialCard } from '/src/components/mdx'
import { Grid, Box, SocialCard, GithubChallenges } from '/src/components/mdx'
import * as challengesData from '/generated/challenges.json'
# Join the community
@ -55,3 +56,7 @@ import { Grid, Box, SocialCard } from '/src/components/mdx'
</Grid.Item>
</Grid>
</Box>
<GithubChallenges
challengesData={challengesData}
/>