diff --git a/.eslintrc b/.eslintrc index 587d1261..fe433e25 100644 --- a/.eslintrc +++ b/.eslintrc @@ -11,5 +11,10 @@ "rules": { "prettier/prettier": "error" }, - "env": { "browser": true } + "env": { "browser": true }, + "settings": { + "react": { + "version": "16.8" + } + } } diff --git a/content/concepts/testnets.md b/content/concepts/testnets.md index 80dde4b9..5a92cea2 100644 --- a/content/concepts/testnets.md +++ b/content/concepts/testnets.md @@ -38,17 +38,17 @@ There is a Nile blockchain explorer at [https://submarine.dev-ocean.com/](https: There are several Ocean Protocol software components that are live, connected to the Nile Testnet, and operated by BigchainDB GmbH: -| Component | URL | -| ---------------------- | ------------------------------------------------- | -| Node | `https://nile.dev-ocean.com` | -| Secret Store | `https://secret-store.nile.dev-ocean.com` | -| Aquarius Test instance | `https://aquarius.nile.dev-ocean.com` | -| Brizo Test instance | `https://brizo.nile.dev-ocean.com` | +| Component | URL | +| ---------------------- | -------------------------------------------- | +| Node | `https://nile.dev-ocean.com` | +| Secret Store | `https://secret-store.nile.dev-ocean.com` | +| Aquarius Test instance | `https://aquarius.nile.dev-ocean.com` | +| Brizo Test instance | `https://brizo.nile.dev-ocean.com` | | Aquarius for Commons | `https://aquarius.marketplace.dev-ocean.com` | | Brizo for Commons | `https://brizo.marketplace.dev-ocean.com` | -| Commons Marketplace | `https://commons.nile.dev-ocean.com` | -| Jupyter Hub | `https://mantaray.dev-ocean.com` | -| Faucet Server | `https://faucet.nile.dev-ocean.com` | +| Commons Marketplace | `https://commons.nile.dev-ocean.com` | +| Jupyter Hub | `https://mantaray.dev-ocean.com` | +| Faucet Server | `https://faucet.nile.dev-ocean.com` | > Internal note: The private "atlantic" repo documents the internal details of the Nile Testnet in `networks/nile/README.md`. diff --git a/package.json b/package.json index 220dcc98..12652c1a 100644 --- a/package.json +++ b/package.json @@ -25,14 +25,14 @@ "@oceanprotocol/art": "^2.2.0", "axios": "^0.19.0", "classnames": "^2.2.6", - "gatsby": "^2.13.67", - "gatsby-image": "^2.2.8", + "gatsby": "^2.13.70", + "gatsby-image": "^2.2.9", "gatsby-plugin-catch-links": "^2.1.3", "gatsby-plugin-google-analytics": "^2.1.7", "gatsby-plugin-manifest": "^2.2.5", "gatsby-plugin-offline": "^2.2.6", "gatsby-plugin-react-helmet": "^3.1.3", - "gatsby-plugin-sass": "^2.1.8", + "gatsby-plugin-sass": "^2.1.9", "gatsby-plugin-sharp": "^2.2.12", "gatsby-plugin-sitemap": "^2.2.6", "gatsby-plugin-svgr": "^2.0.2", @@ -70,8 +70,8 @@ "@svgr/webpack": "^4.3.2", "dotenv": "^8.1.0", "eslint": "^6.2.0", - "eslint-config-oceanprotocol": "^1.4.0", - "eslint-config-prettier": "^6.0.0", + "eslint-config-oceanprotocol": "^1.5.0", + "eslint-config-prettier": "^6.1.0", "eslint-plugin-prettier": "^3.1.0", "markdownlint-cli": "^0.18.0", "node-sass": "^4.12.0", diff --git a/src/components/Header.jsx b/src/components/Header.jsx index fb1f5561..d8c66340 100755 --- a/src/components/Header.jsx +++ b/src/components/Header.jsx @@ -33,7 +33,7 @@ const Header = () => ( return (
- +

{siteTitle}

diff --git a/src/components/QuickRun.jsx b/src/components/QuickRun.jsx index 2a139d62..ffc18015 100644 --- a/src/components/QuickRun.jsx +++ b/src/components/QuickRun.jsx @@ -36,7 +36,7 @@ const QuickRun = () => ( }} /> - +
)} diff --git a/src/components/Seo.jsx b/src/components/Seo.jsx index acac8894..8d8c5617 100644 --- a/src/components/Seo.jsx +++ b/src/components/Seo.jsx @@ -124,7 +124,7 @@ MetaTags.propTypes = { location: PropTypes.object.isRequired } -const SEO = ({ title, description, slug, article, location }) => ( +const Seo = ({ title, description, slug, article, location }) => ( { @@ -163,7 +163,7 @@ const SEO = ({ title, description, slug, article, location }) => ( /> ) -SEO.propTypes = { +Seo.propTypes = { title: PropTypes.string, description: PropTypes.string, slug: PropTypes.string, @@ -171,4 +171,4 @@ SEO.propTypes = { location: PropTypes.object.isRequired } -export default SEO +export default Seo diff --git a/src/pages/404.jsx b/src/pages/404.jsx index 1f56083b..7f5652f2 100755 --- a/src/pages/404.jsx +++ b/src/pages/404.jsx @@ -6,7 +6,7 @@ import React, { Component } from 'react' import PropTypes from 'prop-types' import { Link } from 'gatsby' import giphyAPI from 'giphy-js-sdk-core' -import SEO from '../components/Seo' +import Seo from '../components/Seo' import Layout from '../components/Layout' import Content from '../components/Content' import styles from './404.module.scss' @@ -45,7 +45,7 @@ export default class NotFoundPage extends Component { render() { return ( <> - +
@@ -53,8 +53,8 @@ export default class NotFoundPage extends Component {

You just hit a route that doesn't exist... the sadness. Check your url,{' '} - go back to the homepage, - or check out some {tag} gifs, entirely + go back to the homepage, or + check out some {tag} gifs, entirely your choice.

diff --git a/src/pages/index.jsx b/src/pages/index.jsx index e0687fb9..57e42e63 100755 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -2,7 +2,7 @@ import React from 'react' import PropTypes from 'prop-types' import { Link, graphql } from 'gatsby' import classnames from 'classnames' -import SEO from '../components/Seo' +import Seo from '../components/Seo' import Layout from '../components/Layout' import Content from '../components/Content' import HeaderHome from '../components/HeaderHome' @@ -56,7 +56,7 @@ SectionLink.propTypes = { const IndexPage = ({ data, location }) => ( <> - + }> diff --git a/src/templates/Doc.jsx b/src/templates/Doc.jsx index a72ef85c..af592570 100644 --- a/src/templates/Doc.jsx +++ b/src/templates/Doc.jsx @@ -10,7 +10,7 @@ import DocToc from '../components/DocToc' import DocContent from '../components/DocContent' import DocHeader from '../components/DocHeader' import DocFooter from '../components/DocFooter' -import SEO from '../components/Seo' +import Seo from '../components/Seo' import styles from './Doc.module.scss' const DocMain = ({ title, description, tableOfContents, post, single }) => ( @@ -65,7 +65,7 @@ export default class DocTemplate extends Component { - ( Object.keys(properties).map(key => (
{` "${key}"`} - {`: `} + : {properties[key].type === 'string' && ( {`"${properties[key].example}"`} )} diff --git a/src/templates/Swagger/index.jsx b/src/templates/Swagger/index.jsx index c9f2126f..65455eac 100644 --- a/src/templates/Swagger/index.jsx +++ b/src/templates/Swagger/index.jsx @@ -9,7 +9,7 @@ import HeaderSection from '../../components/HeaderSection' import Sidebar from '../../components/Sidebar' import DocHeader from '../../components/DocHeader' import DocFooter from '../../components/DocFooter' -import SEO from '../../components/Seo' +import Seo from '../../components/Seo' import Toc from './Toc' import Paths from './Paths' @@ -76,10 +76,10 @@ export default class ApiSwaggerTemplate extends Component { return ( <> - + - } diff --git a/src/templates/Typedoc/index.jsx b/src/templates/Typedoc/index.jsx index 3399c02a..b42bc6c1 100644 --- a/src/templates/Typedoc/index.jsx +++ b/src/templates/Typedoc/index.jsx @@ -7,7 +7,7 @@ import Content from '../../components/Content' import HeaderSection from '../../components/HeaderSection' import Sidebar from '../../components/Sidebar' import DocHeader from '../../components/DocHeader' -import SEO from '../../components/Seo' +import Seo from '../../components/Seo' import { cleanTypedocData } from './utils' import Entities from './Entities' @@ -44,10 +44,10 @@ export default class TypedocTemplate extends Component { return ( <> - + -