Add support button to home page
parent
7880a36525
commit
3236a3fe45
|
@ -12,6 +12,10 @@ const Home = () => (
|
|||
<div className={style.github}>
|
||||
<iframe src='https://ghbtns.com/github-btn.html?user=react-toolbox&repo=react-toolbox&type=star&count=true' frameBorder='0' scrolling='0' />
|
||||
<iframe src='https://ghbtns.com/github-btn.html?user=react-toolbox&repo=react-toolbox&type=fork&count=true' frameBorder='0' scrolling='0' />
|
||||
<a className={style.donate} href='https://www.paypal.com/javivelasco' target='_blank'>
|
||||
<span className={style.legend}>support</span>
|
||||
<span className={style.paypal}>paypal</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<Logo className={style.logo} />
|
||||
|
|
|
@ -37,6 +37,7 @@ $content-width: 740px;
|
|||
display: inline-block;
|
||||
width: 10 * $unit;
|
||||
height: 2 * $unit;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
.navigation > ul {
|
||||
|
@ -146,3 +147,24 @@ $content-width: 740px;
|
|||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.donate {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
font-size: 1.1 * $unit;
|
||||
color: #fff;
|
||||
vertical-align: top;
|
||||
border-radius: 3px;
|
||||
.legend {
|
||||
display: inline-block;
|
||||
padding: 0 .5 * $unit;
|
||||
line-height: 2 * $unit;
|
||||
background-color: #555;
|
||||
}
|
||||
.paypal {
|
||||
display: inline-block;
|
||||
padding: 0 .5 * $unit;
|
||||
line-height: 2 * $unit;
|
||||
background-color: #007ec6;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue