1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

link up repository titles

This commit is contained in:
Matthias Kretschmann 2018-11-20 14:52:21 +01:00
parent 0157e406f6
commit 7a2aef3202
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 15 additions and 1 deletions

View File

@ -49,7 +49,7 @@ const queryGithub = graphql`
const Title = ({ name, releases, url }) => (
<h1 className={styles.repositoryName}>
{name}
<a href={url}>{name}</a>
{releases.edges[0] && (
<a
href={`${url}/releases`}

View File

@ -17,6 +17,15 @@
margin-bottom: $spacer / 2;
border: 0;
padding: 0;
a:first-of-type {
color: $brand-black;
&:hover,
&:focus {
color: $brand-pink;
}
}
}
.repositoryRelease {
@ -26,6 +35,11 @@
color: $brand-grey-light;
display: inline-block;
margin-left: $spacer / 4;
&:hover,
&:focus {
transform: none;
}
}
.repositoryMeta {