Update wip website

This commit is contained in:
Niklas von Hertzen
2017-12-10 16:43:34 +08:00
parent 9bc0fb0bd1
commit 8fd616aed2
23 changed files with 7746 additions and 658 deletions

View File

@ -0,0 +1,27 @@
import React, {Component} from 'react';
import './carbon.css';
export default class Carbon extends Component {
componentDidMount() {
if (this.container) {
const script = document.createElement('script');
script.src =
'//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=html2canvashertzencom';
script.async = true;
script.id = '_carbonads_js';
this.container.appendChild(script);
}
}
render() {
return (
<div
{...this.props}
ref={container => {
this.container = container;
}}
/>
);
}
}