diff --git a/README.md b/README.md
index c9c2da3..da2b443 100644
--- a/README.md
+++ b/README.md
@@ -1,24 +1,26 @@
# ocean-balance
-> Simple Electron-based desktop app to retrieve and display your total Ocean balances.
+> Simple Electron-based desktop app to retrieve and display your total Ocean Token balances.
+> https://oceanprotocol.com
## Usage
-Clone and run:
+Clone, add adresses, and run:
```bash
# Clone this repository
git clone git@github.com:kremalicious/ocean-balance.git
cd ocean-balance
+# Add one or more Ethereum addresses to config file
+vi config.js
+
# Install dependencies
npm install
# Run the app in dev mode
npm start
```
-## Configuration
-
## Build package
```bash
diff --git a/constants.js b/config.js
similarity index 100%
rename from constants.js
rename to config.js
diff --git a/src/App.css b/src/App.css
index a62b091..65f612e 100644
--- a/src/App.css
+++ b/src/App.css
@@ -55,11 +55,25 @@ html.fullscreen {
transform: translate3d(0, -36px, 0);
}
+.main {
+ width: 100%;
+ padding: 5%;
+ background: #303030;
+ border-radius: 5px;
+ border: .1rem solid #41474e;
+ min-height: 186px;
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ position: relative;
+}
+
.number-unit-wrap {
display: flex;
width: 100%;
flex-wrap: wrap;
justify-content: space-around;
+ position: relative;
}
.number-unit {
@@ -92,6 +106,20 @@ html.fullscreen {
font-size: .85rem;
display: block;
white-space: nowrap;
+ margin-top: .3rem;
+}
+
+.number-unit-wrap--accounts {
+ min-height: 55px;
+}
+
+.number-unit--main {
+ padding-bottom: 5%;
+ border-bottom: 1px solid #41474e;
+}
+
+.number-unit--main .number {
+ font-size: 2.5rem;
}
@keyframes updated {
diff --git a/src/App.jsx b/src/App.jsx
index 907b067..a0e0cf8 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1,9 +1,12 @@
-import './App.css'
import React, { PureComponent } from 'react'
import { webFrame } from 'electron'
import AppProvider from './store/AppProvider'
+import { Consumer } from './store/createContext'
import Titlebar from './components/Titlebar'
-import Accounts from './components/Accounts'
+import Total from './components/Total'
+import Account from './components/Account'
+import Actions from './components/Actions'
+import './App.css'
//
// Disable zooming
@@ -11,17 +14,28 @@ import Accounts from './components/Accounts'
webFrame.setVisualZoomLevelLimits(1, 1)
webFrame.setLayoutZoomLevelLimits(0, 0)
-class App extends PureComponent {
+export default class App extends PureComponent {
render() {
return (