mirror of
https://github.com/oceanprotocol/status
synced 2024-11-25 11:28:40 +01:00
32 lines
810 B
JavaScript
32 lines
810 B
JavaScript
import React from 'react'
|
|
import { ReactComponent as Logo } from '@oceanprotocol/art/logo/logo-white.svg'
|
|
import './App.scss'
|
|
import atlas from '@ethereum-navigator/atlas'
|
|
import Network from './Network'
|
|
|
|
export default function App() {
|
|
return (
|
|
<div className="App">
|
|
<header className="header">
|
|
<Logo />
|
|
<h1>Ocean Protocol Status</h1>
|
|
<p>
|
|
Testing all RPC network connections from your browser, refreshed every
|
|
5 sec.
|
|
</p>
|
|
</header>
|
|
|
|
<div className="networks">
|
|
{atlas
|
|
.filter(
|
|
item => item.project === 'Ocean Protocol' && item.name !== 'Spree'
|
|
)
|
|
.reverse()
|
|
.map((network, i) => (
|
|
<Network key={i} network={network} />
|
|
))}
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|