Skip to content

Commit

Permalink
banner
Browse files Browse the repository at this point in the history
  • Loading branch information
tbfleming committed May 30, 2019
1 parent e545ca4 commit cbc1d3e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client/ClientRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ class ClientRoot extends React.Component<{ appState: AppState }> {
appState.clientRoot = this;
return (
<div className='client-root'>
<div className='banner'>
Example application demonstrating WebAuthn based account creation and transactions on private blockchains
</div>
<Controls appState={appState} />
<Balances appState={appState} />
<pre className='keys'>{'Keys:\n' + appState.keys.map(k => k.key).join('\n')}</pre>
Expand Down
9 changes: 9 additions & 0 deletions src/client/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ body {
grid-template-columns: 180px 400px 400px auto;
grid-template-rows: auto auto 1fr auto;
grid-template-areas:
"banner banner banner ."
"control keys keys ."
"balance message message ."
". . . ."
Expand Down Expand Up @@ -40,6 +41,14 @@ body {
border: 1px solid;
}

.banner {
grid-area: banner;
font-size: 14px;
font-weight: bold;
text-align: center;
margin: 5px;
}

.disclaimer {
font-size: 11px;
grid-area: disclaimer;
Expand Down

0 comments on commit cbc1d3e

Please sign in to comment.