From d460453611cfa216ca50f9cfc1b3713ea33bd255 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 20 Nov 2018 13:16:27 +0100 Subject: [PATCH 1/5] package updates --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0efa2159..ba821de8 100755 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "dependencies": { "@oceanprotocol/art": "^1.0.2", "classnames": "^2.2.6", - "gatsby": "^2.0.50", + "gatsby": "^2.0.52", "gatsby-image": "^2.0.20", "gatsby-plugin-catch-links": "^2.0.8", "gatsby-plugin-google-analytics": "^2.0.7", @@ -34,7 +34,7 @@ "gatsby-plugin-sass": "^2.0.4", "gatsby-plugin-sharp": "^2.0.12", "gatsby-plugin-sitemap": "^2.0.2", - "gatsby-plugin-svgr": "^2.0.0", + "gatsby-plugin-svgr": "^2.0.1", "gatsby-remark-autolink-headers": "^2.0.11", "gatsby-remark-component": "^1.1.3", "gatsby-remark-copy-linked-files": "^2.0.6", @@ -56,8 +56,8 @@ "react": "^16.6.3", "react-dom": "^16.6.3", "react-helmet": "^5.2.0", - "rehype-react": "^3.0.3", - "remark": "^10.0.0", + "rehype-react": "^3.1.0", + "remark": "^10.0.1", "remark-react": "^4.0.3" }, "devDependencies": { From df9d69ceb5252dc10620e30aefa0ec03cf1db9d9 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 20 Nov 2018 14:33:36 +0100 Subject: [PATCH 2/5] new frontpage repo list layout --- data/repositories.yml | 12 ++- .../Repositories/RepositoryList.jsx | 8 +- .../Repositories/RepositoryList.module.scss | 83 +++++++++++++++---- src/components/Repositories/index.jsx | 20 ++++- src/components/Repositories/index.module.scss | 21 +++++ 5 files changed, 118 insertions(+), 26 deletions(-) diff --git a/data/repositories.yml b/data/repositories.yml index fe5f1234..2950318e 100644 --- a/data/repositories.yml +++ b/data/repositories.yml @@ -18,10 +18,16 @@ - name: squid-js - name: squid-py - name: squid-java - - name: secret-store-client-js - - name: secret-store-client-py - - name: secret-store-client-java + +- group: OceanDB + items: - name: oceandb-mongodb-driver - name: oceandb-bigchaindb-driver - name: oceandb-elasticsearch-driver - name: oceandb-driver-interface + +- group: Parity Secret Store + items: + - name: secret-store-client-js + - name: secret-store-client-py + - name: secret-store-client-java diff --git a/src/components/Repositories/RepositoryList.jsx b/src/components/Repositories/RepositoryList.jsx index 7107e178..06e83f00 100644 --- a/src/components/Repositories/RepositoryList.jsx +++ b/src/components/Repositories/RepositoryList.jsx @@ -4,12 +4,12 @@ import Repository from './Repository' import styles from './RepositoryList.module.scss' const RepositoryList = ({ repositories }) => ( -
+
{repositories.map(({ node }) => ( -
-

{node.group}

+
+

{node.group}

-
+
{node.items.map(item => ( ( return (
+ +
+

+ Repositories +

+

+ + Most of our repositories are open source and we + listed the key repositories here. Start with the{' '} + + software components + {' '} + document for an introduction into the components + creating the Ocean network. + +

+
+
) diff --git a/src/components/Repositories/index.module.scss b/src/components/Repositories/index.module.scss index 9e430c8c..d0b422fd 100644 --- a/src/components/Repositories/index.module.scss +++ b/src/components/Repositories/index.module.scss @@ -2,4 +2,25 @@ .repositories { margin-top: $spacer * 2; + + > header { + @media (min-width: $break-point--medium) { + max-width: 33rem; + margin: auto; + } + } +} + +.repositoriesTitle { + text-align: center; + display: block; + margin-top: 0; + margin-bottom: $spacer / 2; + font-size: $font-size-h3; +} + +.repositoriesText { + text-align: center; + margin-bottom: $spacer; + color: $brand-grey-light; } From edc877c7478e417a75c6c3abfc8214b3413629a7 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 20 Nov 2018 14:38:00 +0100 Subject: [PATCH 3/5] add more links to repos --- data/repositories.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/data/repositories.yml b/data/repositories.yml index 2950318e..f8392af0 100644 --- a/data/repositories.yml +++ b/data/repositories.yml @@ -16,8 +16,17 @@ - group: Libraries items: - name: squid-js + links: + - name: API reference + url: /concepts/squid/ - name: squid-py + links: + - name: API reference + url: /concepts/squid/ - name: squid-java + links: + - name: API reference + url: /concepts/squid/ - group: OceanDB items: @@ -29,5 +38,14 @@ - group: Parity Secret Store items: - name: secret-store-client-js + links: + - name: Architecture + url: /concepts/secret-store/ - name: secret-store-client-py + links: + - name: Architecture + url: /concepts/secret-store/ - name: secret-store-client-java + links: + - name: Architecture + url: /concepts/secret-store/ From 7a2aef320251c1e644543984188c09ebb60ca0f2 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 20 Nov 2018 14:52:21 +0100 Subject: [PATCH 4/5] link up repository titles --- src/components/Repositories/Repository.jsx | 2 +- src/components/Repositories/Repository.module.scss | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/components/Repositories/Repository.jsx b/src/components/Repositories/Repository.jsx index 0b9736ff..8153942e 100644 --- a/src/components/Repositories/Repository.jsx +++ b/src/components/Repositories/Repository.jsx @@ -49,7 +49,7 @@ const queryGithub = graphql` const Title = ({ name, releases, url }) => (

- {name} + {name} {releases.edges[0] && ( Date: Tue, 20 Nov 2018 15:38:02 +0100 Subject: [PATCH 5/5] Update src/components/Repositories/index.jsx Co-Authored-By: kremalicious --- src/components/Repositories/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Repositories/index.jsx b/src/components/Repositories/index.jsx index ef8da3d1..bd60c7a8 100644 --- a/src/components/Repositories/index.jsx +++ b/src/components/Repositories/index.jsx @@ -45,7 +45,7 @@ const Repositories = () => ( software components {' '} - document for an introduction into the components + document for an introduction to the components creating the Ocean network.