From e63aebff7a4d978fddd7ed3ddc184ed300843a57 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 27 Sep 2016 23:12:33 +0200 Subject: Adding landing page --- .../javascripts/components/components/button.jsx | 23 +++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'app/assets/javascripts/components') diff --git a/app/assets/javascripts/components/components/button.jsx b/app/assets/javascripts/components/components/button.jsx index 6f7ace323..fe36d40c5 100644 --- a/app/assets/javascripts/components/components/button.jsx +++ b/app/assets/javascripts/components/components/button.jsx @@ -19,8 +19,29 @@ const Button = React.createClass({ }, render () { + const style = { + fontFamily: 'Roboto', + display: this.props.block ? 'block' : 'inline-block', + width: this.props.block ? '100%' : 'auto', + position: 'relative', + boxSizing: 'border-box', + textAlign: 'center', + border: '10px none', + color: '#fff', + fontSize: '14px', + fontWeight: '500', + letterSpacing: '0', + textTransform: 'uppercase', + padding: '0 16px', + height: '36px', + cursor: 'pointer', + lineHeight: '36px', + borderRadius: '4px', + textDecoration: 'none' + }; + return ( - ); -- cgit