-
Notifications
You must be signed in to change notification settings - Fork 38
Bounty page #243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Bounty page #243
Changes from 4 commits
b851d3f
0a01156
79c244c
32ef3e9
95a3976
12a41d0
fc9a88f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| import React, { Suspense } from "react"; | ||
| import { useTranslation, Trans } from "react-i18next"; | ||
| import renderHTML from "react-render-html"; | ||
| import "./Bounty.scss"; | ||
| import Menu from "../../components/Menu/Menu"; | ||
| import Address from "../../components/Address/Address"; | ||
| import Footer from "../../components/Footer/Footer"; | ||
| import Loader from "../../components/Loader/Loader"; | ||
|
|
||
| function Foundation() { | ||
| const { t } = useTranslation(); | ||
|
|
||
| return ( | ||
| <> | ||
| <Menu /> | ||
| <div className="hero hero--thin"> | ||
| <h1 className="hero__title">{t('bountyPage.bountyTitle')}</h1> | ||
| <p className="hero__description"> | ||
| {t('bountyPage.bountyDescription')} | ||
| </p> | ||
| </div> | ||
|
|
||
| <div className="main text-sections"> | ||
| <div className="container"> | ||
| <div className="row"> | ||
| <div className="col"> | ||
| <h3 className="title title--green title--left"> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. consider making the title lines h2's
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Completed this |
||
| {t("bountyPage.bountyDisclosureHeader")} | ||
| </h3> | ||
| <p>{t("bountyPage.bountyDisclosureIntro")}</p> | ||
| <li className="list-item">{t("bountyPage.bountyDisclosurePoint1")}</li> | ||
|
willyfromtheblock marked this conversation as resolved.
Outdated
|
||
| <li className="list-item">{t("bountyPage.bountyDisclosurePoint2")}</li> | ||
|
|
||
| <h3 className="title title--green title--left"> | ||
| {t("bountyPage.bountySubmissionHeader")} | ||
| </h3> | ||
| <li className="list-item">{t("bountyPage.bountySubmissionPoint1")}</li> | ||
|
willyfromtheblock marked this conversation as resolved.
Outdated
|
||
| <li className="list-item">{t("bountyPage.bountySubmissionPoint2")}</li> | ||
| <li className="list-item">{t("bountyPage.bountySubmissionPoint3")}</li> | ||
| <li className="list-item">{t("bountyPage.bountySubmissionPoint4")}</li> | ||
|
|
||
| <h3 className="title title--green title--left"> | ||
| {t("bountyPage.bountyGuidelinesHeader")} | ||
| </h3> | ||
| <p>{t("bountyPage.bountyGuidelinesIntro1")}</p> | ||
| <li className="list-item">{t("bountyPage.bountyGuidelinesPoint1")}</li> | ||
| <li className="list-item">{t("bountyPage.bountyGuidelinesPoint2")}</li> | ||
|
|
||
| <div className="bounty-image-parent"> | ||
| <img | ||
| src="/img/bounty_chart.svg" | ||
| alt="Peercoin Bounty Chart" | ||
| className="bounty-image" | ||
| /> | ||
| </div> | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. actual reward numbers could use an h2/3 for a title |
||
| <p>{t("bountyPage.bountyGuidelinesIntro2")}</p> | ||
| <li className="list-item">{t("bountyPage.bountyGuidelinesPoint3")}</li> | ||
| <li className="list-item">{t("bountyPage.bountyGuidelinesPoint4")}</li> | ||
| <li className="list-item">{t("bountyPage.bountyGuidelinesPoint5")}</li> | ||
| <li className="list-item">{t("bountyPage.bountyGuidelinesPoint6")}</li> | ||
| <li className="list-item">{t("bountyPage.bountyGuidelinesPoint7")}</li> | ||
|
|
||
| <p>{t("bountyPage.bountyGuidelinesIntro3")}</p> | ||
| <li className="list-item">{t("bountyPage.bountyGuidelinesPoint8")}</li> | ||
| <li className="list-item">{t("bountyPage.bountyGuidelinesPoint9")}</li> | ||
|
|
||
| <h3 className="title title--green title--left"> | ||
| {t("bountyPage.bountyScopeHeader")} | ||
| </h3> | ||
| <p>{t("bountyPage.bountyScopeIntro")}</p> | ||
|
|
||
| <h3 className="title title--green title--left"> | ||
| {t("bountyPage.bountyContactHeader")} | ||
| </h3> | ||
| <p>{t("bountyPage.bountyContactIntro")}</p> | ||
| <p>{renderHTML(t("bountyPage.bountyContactEmail"))}</p> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. or just link to /contact ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Your choice. I like to keep everything one page but I see how that makes extra work
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. makes it easier should we have multiple ways for contact in the future
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. don't see a fix here? forgot to push? |
||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <Footer /> | ||
| </> | ||
| ); | ||
| } | ||
|
|
||
| function HoF() { | ||
| return ( | ||
| <Suspense fallback={<Loader open={true} />}> | ||
| <Foundation /> | ||
| </Suspense> | ||
| ); | ||
| } | ||
|
|
||
| export default HoF; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| .list-item { | ||
|
willyfromtheblock marked this conversation as resolved.
|
||
| font-weight: 300; | ||
| font-size: 1.6rem; | ||
| line-height: 2.5rem; | ||
| } | ||
|
|
||
| .bounty-image-parent { | ||
| width: 100%; | ||
| text-align: center; | ||
| padding: 1vw; | ||
| } | ||
|
|
||
| .bounty-image { | ||
| width: 70%; | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.