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:
parent
0157e406f6
commit
7a2aef3202
@ -49,7 +49,7 @@ const queryGithub = graphql`
|
|||||||
|
|
||||||
const Title = ({ name, releases, url }) => (
|
const Title = ({ name, releases, url }) => (
|
||||||
<h1 className={styles.repositoryName}>
|
<h1 className={styles.repositoryName}>
|
||||||
{name}
|
<a href={url}>{name}</a>
|
||||||
{releases.edges[0] && (
|
{releases.edges[0] && (
|
||||||
<a
|
<a
|
||||||
href={`${url}/releases`}
|
href={`${url}/releases`}
|
||||||
|
@ -17,6 +17,15 @@
|
|||||||
margin-bottom: $spacer / 2;
|
margin-bottom: $spacer / 2;
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
|
a:first-of-type {
|
||||||
|
color: $brand-black;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: $brand-pink;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.repositoryRelease {
|
.repositoryRelease {
|
||||||
@ -26,6 +35,11 @@
|
|||||||
color: $brand-grey-light;
|
color: $brand-grey-light;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: $spacer / 4;
|
margin-left: $spacer / 4;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.repositoryMeta {
|
.repositoryMeta {
|
||||||
|
Loading…
Reference in New Issue
Block a user