Skip to content

Commit

Permalink
Add fancy logo to front page donation button
Browse files Browse the repository at this point in the history
  • Loading branch information
CylonicRaider committed Dec 13, 2016
1 parent a6dbf5c commit 5f5643e
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/site/common/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import heimURL from '../../lib/heimURL'


export default function Footer(props) {
return (
const donationURL = (props.noDonation) ? null : process.env.HEIM_DONATION_URL
const donationURL = (props.noDonation) ? null : process.env.HEIM_DONATION_URL

return (
<footer>
<div className="container">
<a href={heimURL('/about/terms')}>terms<span className="long"> of service</span></a>
Expand Down
61 changes: 61 additions & 0 deletions client/site/res/bronze-alt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 12 additions & 2 deletions client/site/site.less
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,8 @@ body.welcome {

.donation-banner {
display: flex;
margin-top: -40px;
height: 40px;
margin-top: -50px;
height: 50px;

a {
margin: auto;
Expand All @@ -678,6 +678,16 @@ body.welcome {
color: black;
text-decoration: none;
box-shadow: 0 0 4px fade(black, 25%);

&:before {
content: '';
display: inline-block;
width: 2em;
height: 2em;
padding-right: 0.25em;
vertical-align: middle;
background: data-uri('./res/bronze-alt.svg') no-repeat center center;
}
}
}
}
Expand Down

0 comments on commit 5f5643e

Please sign in to comment.