fix: Update copy and label position
This commit is contained in:
committed by
mrugesh mohapatra
parent
8870a063e4
commit
5875aef505
@ -24,7 +24,8 @@ function Supporters({ isDonating, activeDonations }) {
|
|||||||
<ProgressBar max={10000} now={activeDonations} />
|
<ProgressBar max={10000} now={activeDonations} />
|
||||||
<div id='progress-label-wrapper'>
|
<div id='progress-label-wrapper'>
|
||||||
<span className='progress-label'>
|
<span className='progress-label'>
|
||||||
{activeDonations} supporters out of 10,000 goal
|
{commaNumber(activeDonations)} supporters out of 10,000 supporter
|
||||||
|
goal
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -35,14 +36,21 @@ function Supporters({ isDonating, activeDonations }) {
|
|||||||
<p>
|
<p>
|
||||||
freeCodeCamp.org is a tiny non-profit that's helping millions of
|
freeCodeCamp.org is a tiny non-profit that's helping millions of
|
||||||
people learn to code for free. <br />
|
people learn to code for free. <br />
|
||||||
{isDonating
|
<br />
|
||||||
? "Thanks for being a supporter! Do you know anyone who's " +
|
{isDonating ? (
|
||||||
'interested in technology? Encourage them to join the ' +
|
<Fragment>
|
||||||
'community as well.'
|
Thanks for being a supporter!
|
||||||
: `Join ${commaNumber(
|
<br />
|
||||||
|
<br />
|
||||||
|
Do you know anyone who's interested in technology? Encourage
|
||||||
|
them to join the community as well.
|
||||||
|
</Fragment>
|
||||||
|
) : (
|
||||||
|
`Join ${commaNumber(
|
||||||
activeDonations
|
activeDonations
|
||||||
)} supporters. Your $5 / month donation will help ` +
|
)} supporters. Your $5 / month donation will help ` +
|
||||||
'keep tech education free and open.'}
|
'keep tech education free and open.'
|
||||||
|
)}
|
||||||
</p>
|
</p>
|
||||||
</b>
|
</b>
|
||||||
</FullWidthRow>
|
</FullWidthRow>
|
||||||
|
@ -6,12 +6,3 @@
|
|||||||
#supporter-progress-wrapper .progress-bar {
|
#supporter-progress-wrapper .progress-bar {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#progress-label-wrapper {
|
|
||||||
text-align: left;
|
|
||||||
padding-left: 10px;
|
|
||||||
margin-bottom: 25px;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
margin-top: 9px;
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user