Add download link

This commit is contained in:
Jordan Eldredge 2018-11-26 18:47:37 -08:00
parent 23e6cd75e3
commit 7f9dc61b9a
2 changed files with 11 additions and 0 deletions

View file

@ -43,3 +43,11 @@ body.overlay-open .overlay {
line-height: 50px;
text-decoration: none;
}
#focused-skin .metadata {
text-align: center;
margin: 10px;
}
#focused-skin .metadata a {
color: white;
}

View file

@ -57,6 +57,9 @@ class FocusedSkin extends React.Component {
skinUrl={Utils.skinUrlFromHash(this.props.hash)}
screenshotUrl={Utils.screenshotUrlFromHash(this.props.hash)}
/>
<div className="metadata">
<a href={Utils.skinUrlFromHash(this.props.hash)}>Download</a>
</div>
</div>
);
}