Revert "Revert "add github challenges list to community page (#57)""

This reverts commit fb2fdaf516.
This commit is contained in:
Hossein Mehrabi 2023-12-01 10:03:24 +03:30
parent fb2fdaf516
commit 715a020f93
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1
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}
/>