-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from brendancboyle/dev
v1.2.0
- Loading branch information
Showing
19 changed files
with
2,217 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"key": "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAkSUqAISX3Asy3bpqR91N\nO1lCwfwXOD+HsjECSpXqOn58YDRZDZkZXDI0RwUj9A2euq50tSb4/yxiex7SXC62\nlcZSirehHttBwy1130wytmJ1Tr1SDhMpw0GstorG8WXjAT/6LegB61/EGx93l/YB\nC54hZemS2qrMcUkMiTPzapbrYqKFrfy0Xe+Xi8NNPcRgqWbEo4OVRwpRIELPqyUd\nIqa5TibTquhdT48hYrRAE73yqAtElqKjnRgm0eDOxvH8YIRpeUNerJgRjCxmokqC\nIV8VnM2HnUepjV6NBm7/CjXB1ZboqpqJBn5ygDbxSlYk6Eq87qwUN1wMyDGR5Z13\nG0JqgYB8t4MdGMJ73MEPBzenCDRjSA33kmA2SZ+v3HGAXb/Zwmn0IoH1yE049eUJ\n80F7gkhVGj7w42Yw8vtcOFsJzMfMXR1SZV+XSana83HWUmeAqfpmAHHPH6T2Oqqn\n7YDb9aw/CYulB30lWcA39nvaPzvEwrYLH6Y/yRFEZQeVyofuyQDDxGnNghm4ICa8\n+IICV6ZdysflxRq6kASs4D8e3SvaEqOwkg1RXqIaCasDoMOWbCBccZNQbtB4GS/O\nDsGItTnVg8U1UgzzebSNG0s0eJ1WWphgL5da4uA8OpSsdhFQ3C+QAHmw4THsNwA6\n8UTTXcbxMb5UhMv2kQ38t2kCAwEAAQ==\n-----END PUBLIC KEY-----" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.button { | ||
padding: 15px 0; | ||
} | ||
|
||
.button button { | ||
width: 300px; | ||
background: gray; | ||
color: white; | ||
font-size: 1.4rem; | ||
padding: 10px 0; | ||
border-radius: 5px; | ||
border: none; | ||
font-family: SugarcubesBold, Arial, 'Helvetica Neue', Helvetica, sans-serif; | ||
outline-color: rgb(179, 2, 152); | ||
} | ||
|
||
.active button { | ||
background: rgb(179, 2, 152); | ||
color: white; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// @flow | ||
import React, { Component } from 'react'; | ||
import styles from './Button.css'; | ||
|
||
type Props = { | ||
active: boolean, | ||
title: string, | ||
onClick: () => void | ||
}; | ||
|
||
export default class Button extends Component<Props> { | ||
render() { | ||
const { | ||
props: { active, title, onClick } | ||
} = this; | ||
|
||
const buttonStyles = [styles.button]; | ||
if (active) buttonStyles.push([styles.active]); | ||
|
||
return ( | ||
<div className={buttonStyles.join(' ')}> | ||
<button | ||
type="button" | ||
onClick={() => { | ||
if (active) { | ||
onClick(); | ||
} | ||
}} | ||
> | ||
{title} | ||
</button> | ||
</div> | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +0,0 @@ | ||
.connectButton { | ||
padding: 15px 0; | ||
} | ||
|
||
.connectButton button { | ||
width: 300px; | ||
background: gray; | ||
color: white; | ||
font-size: 1.4rem; | ||
padding: 10px 0; | ||
border-radius: 5px; | ||
border: none; | ||
font-family: SugarcubesBold, Arial, 'Helvetica Neue', Helvetica, sans-serif; | ||
outline-color: rgb(179, 2, 152); | ||
} | ||
|
||
.active button { | ||
background: rgb(179, 2, 152); | ||
color: white; | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
.container { | ||
text-align: center; | ||
position: absolute; | ||
top: 5%; | ||
width: 100%; | ||
margin-top: 5%; | ||
} | ||
|
||
.container h2 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.container { | ||
position: absolute; | ||
top: 0; | ||
width: 75%; | ||
height: 85%; | ||
left: 12.5%; | ||
background: #eee; | ||
border-radius: 5px; | ||
overflow: hidden; | ||
box-shadow: 0 0 10px grey; | ||
} | ||
|
||
.bodyContainer { | ||
padding: 30px; | ||
} |
Oops, something went wrong.