import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
class Form extends Component {
constructor(props) {
super(props);
this.state = {
errors: {
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
body { | |
background-color: #E0E6ED; | |
color: #1F2D3D; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
body { | |
background-color: #E0E6ED; | |
color: #1F2D3D; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
/* colors */ | |
/* animation */ | |
@keyframes bounce { |
- honeycomb: #e9ba26
- slushie: #5fb8dd
- frosting: #ea0b8c
- clementine: #f0812b
- aloe: #50886b
- grape: #92278f
- berry: #508395
This is the recipe I used to make Chili for the Post-Turing bash. It was well received. The source is this gnarly sounding blog called Alaska from scratch
- 1lb ground turkey, beef, or moose (I used moose)
- 1 onion, chopped
- 4 cloves of garlic, smashed and minced
- 1/3c tomato paste
- 1 (14oz) can diced tomatoes (or tomato sauce, your preference)
- 1 (14oz) can red kidney beans, rinsed
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
// lib/elements/A/index.js | |
import styled from 'styled-components'; | |
... | |
const A = styled.a` | |
color: #263238; | |
text-decoration: none; | |
transition: color 0.2s ease; | |
&:hover { | |
color: #0097a7; |
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
const modifierConfig = { | |
darkGreyText: ({ theme }) => ` | |
color: ${theme.colors.base.text}; | |
`, | |
midGreyText: ({ theme }) => ` | |
color: ${theme.colors.base.textLight}; | |
`, | |
uppercase: () => ` |