mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Merge branch 'master' into feature/architecture_details
This commit is contained in:
commit
1fb5ae7521
@ -49,3 +49,19 @@
|
|||||||
links:
|
links:
|
||||||
- name: Architecture
|
- name: Architecture
|
||||||
url: /concepts/secret-store/
|
url: /concepts/secret-store/
|
||||||
|
|
||||||
|
- group: Project Management
|
||||||
|
items:
|
||||||
|
- name: OEPs
|
||||||
|
links:
|
||||||
|
- name: OEP-01
|
||||||
|
url: https://github.com/oceanprotocol/OEPs/tree/master/1
|
||||||
|
- name: ocean
|
||||||
|
links:
|
||||||
|
- name: Business Board
|
||||||
|
url: https://github.com/oceanprotocol/ocean/projects/1
|
||||||
|
- name: Development Board
|
||||||
|
url: https://github.com/oceanprotocol/ocean/projects/2
|
||||||
|
- name: Research Board
|
||||||
|
url: https://github.com/oceanprotocol/ocean/projects/3
|
||||||
|
- name: dev-ocean
|
||||||
|
@ -224,17 +224,17 @@ const Repository = ({ name, links, readme }) => (
|
|||||||
|
|
||||||
// enhance passed links array with what's in repositories.yml,
|
// enhance passed links array with what's in repositories.yml,
|
||||||
// iterating over all repos until we have a name match
|
// iterating over all repos until we have a name match
|
||||||
const linksFilteredArray = repositoriesYaml.map(({ node }) => {
|
let linksFilteredArray = []
|
||||||
return node.items
|
|
||||||
.map(item => {
|
repositoriesYaml.map(({ node }) => {
|
||||||
if (item.name === name) {
|
node.items.forEach(item => {
|
||||||
return item.links
|
if (item.name === name) {
|
||||||
}
|
linksFilteredArray.push(item.links)
|
||||||
})
|
}
|
||||||
.filter(n => n)[0]
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
const moreLinks = links || linksFilteredArray[0]
|
const moreLinks = links || linksFilteredArray.filter(n => n)[0]
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<article className={styles.repository}>
|
<article className={styles.repository}>
|
||||||
|
@ -9,6 +9,12 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: $spacer;
|
margin-bottom: $spacer;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
p {
|
||||||
|
align-self: flex-start;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.repositoryName {
|
.repositoryName {
|
||||||
@ -17,6 +23,7 @@
|
|||||||
margin-bottom: $spacer / 2;
|
margin-bottom: $spacer / 2;
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
a:first-of-type {
|
a:first-of-type {
|
||||||
color: $brand-black;
|
color: $brand-black;
|
||||||
@ -44,13 +51,16 @@
|
|||||||
|
|
||||||
.repositoryMeta {
|
.repositoryMeta {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: flex-end;
|
||||||
|
align-self: flex-end;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repositoryLinks {
|
.repositoryLinks {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-left: -($spacer / $line-height);
|
margin-left: -($spacer / $line-height);
|
||||||
|
width: 80%;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -71,9 +81,9 @@
|
|||||||
.repositorynumbers {
|
.repositorynumbers {
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
margin-left: -($spacer / 4);
|
margin-left: -($spacer / 4);
|
||||||
margin-bottom: -.2rem;
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
width: 20%;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $brand-grey-light;
|
color: $brand-grey-light;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user