summaryrefslogtreecommitdiffstats
path: root/frontend/pages
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-05-17 16:41:32 -0400
committerWes Bos <wesbos@gmail.com>2018-05-17 16:41:32 -0400
commit51f593384f1325b78a263d0d870d162236ed28d2 (patch)
treedbd4d9c10d0ea55e81ce870676104f71f53c5f56 /frontend/pages
parentf2e0263ee2d32b156a7a3b14770b897801c87553 (diff)
updates
Diffstat (limited to 'frontend/pages')
-rw-r--r--frontend/pages/diagram.js10
-rw-r--r--frontend/pages/update.js9
2 files changed, 9 insertions, 10 deletions
diff --git a/frontend/pages/diagram.js b/frontend/pages/diagram.js
index 9436ea3..a505089 100644
--- a/frontend/pages/diagram.js
+++ b/frontend/pages/diagram.js
@@ -14,6 +14,7 @@ const DiagramStyles = styled.div`
list-style: none;
li {
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
+ padding: 5px 0;
}
}
h2 {
@@ -27,7 +28,8 @@ const DiagramStyles = styled.div`
span.for {
font-size: 12px;
text-align: center;
- margin-bottom: 2rem;
+ margin-top: 1rem;
+ margin-bottom: 1rem;
display: block;
}
.slat {
@@ -130,7 +132,7 @@ const Diagram = () => (
<strong>Error</strong> and <strong>Loading</strong> UI States
</li>
<li>
- <small>Apollo-client replaces the need for redux + data fetching libraries</small>
+ <small>Apollo Client replaces the need for redux + data fetching/caching libraries</small>
</li>
</ul>
</div>
@@ -157,7 +159,7 @@ const Diagram = () => (
<strong>Sending</strong> Email
</li>
<li>
- Performing <strong>Authentication</strong>
+ Performing <strong>JWT Authentication</strong>
</li>
<li>
Checking <strong>Permissions</strong>
@@ -174,7 +176,7 @@ const Diagram = () => (
<span className="for">A GraphQL Database Interface</span>
<ul>
<li>
- Provides a set of GraphQL <strong>CRUD APIs</strong> for our (currently MySQL){' '}
+ Provides a set of GraphQL <strong>CRUD APIs</strong> for MySQL or Postgres{' '}
<strong>Database</strong>
</li>
<li>
diff --git a/frontend/pages/update.js b/frontend/pages/update.js
index 7d8deda..7a8630d 100644
--- a/frontend/pages/update.js
+++ b/frontend/pages/update.js
@@ -1,16 +1,13 @@
import { Component } from 'react';
import UpdateItem from '../components/UpdateItem';
-import Page from '../components/Page';
import PleaseSignIn from '../components/PleaseSignIn';
class Home extends Component {
render() {
return (
- <Page>
- <PleaseSignIn>
- <UpdateItem id={this.props.query.id} />
- </PleaseSignIn>
- </Page>
+ <PleaseSignIn>
+ <UpdateItem id={this.props.query.id} />
+ </PleaseSignIn>
);
}
}