diff --git a/components/Navigator/MainNavigator.tsx b/components/Navigator/MainNavigator.tsx index 4147ae7..87ea119 100644 --- a/components/Navigator/MainNavigator.tsx +++ b/components/Navigator/MainNavigator.tsx @@ -41,6 +41,7 @@ const topNavBarMenu = ({ t }: typeof i18n): MenuItem[] => [ { href: '/project', title: t('open_source_projects') }, { href: '/issue', title: 'GitHub issues' }, { href: '/license-filter', title: t('license_filter') }, + { href: '/finance', title: t('finance_page_title') }, ], }, { @@ -60,14 +61,15 @@ const topNavBarMenu = ({ t }: typeof i18n): MenuItem[] => [ }, ], }, + { href: '/bounty', title: t('bounty') }, { title: t('NGO'), subs: [ - { href: '/NGO', title: t('China_NGO_DB') }, { href: 'https://open-source-bazaar.feishu.cn/wiki/VGrMwiweVivWrHkTcvpcJTjjnoY', title: t('Open_Source_NGO_plan'), }, + { href: '/NGO', title: t('China_NGO_DB') }, ], }, { diff --git a/pages/bounty.tsx b/pages/bounty.tsx new file mode 100644 index 0000000..db5a546 --- /dev/null +++ b/pages/bounty.tsx @@ -0,0 +1,102 @@ +import { observer } from 'mobx-react'; +import { FC, useContext } from 'react'; +import { Card, Col, Container, Row } from 'react-bootstrap'; + +import { PageHead } from '../components/Layout/PageHead'; +import { I18nContext } from '../models/Translation'; +import styles from '../styles/Bounty.module.less'; + +type BountyViewProps = Record<'icon' | 'title' | 'url', string>; + +const BountyView: FC = ({ title, url, icon }) => ( + + + {icon} {title} + +
+