Michael Hoffmann (@Mokkapps)
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
const StyledArticle = styled.article`
max-width: 600px;
margin: 0 auto 30px;
background: white;
border-radius: 10px;
padding: 2rem;
min-width: ${props => (props.narrow ? '50%' : '100%')};
`;
const Article = ({children}) => (<styledarticle>{children}</styledarticle>));
Article.propTypes = {
children: PropTypes.node.isRequired,
};
export default Article;
The all-in-one platform for automating modern web projects
Deploy & test my website each time I push to my git master branch
Configuration example (travis.yml):
script:
- npm run lint
- npm run test:e2e:ci
- npm run build
deploy:
provider: script
script: "curl -X POST -d '' https://api.netlify.com/build_hooks/5ba3c8da1f12b70cbbcaa1a3"
skip_cleanup: true
on:
branch: master
Open-source error tracking that helps developers monitor and fix crashes in real time
📝 New blog post:
— Michael Hoffmann (@Mokkapps) December 13, 2018
"The Engineering Behind My Portfolio Website" https://t.co/L6NYuyyVpl