Skip to content

Instantly share code, notes, and snippets.

View itsmepetrov's full-sized avatar
🏠
Working from home

Anton Petrov itsmepetrov

🏠
Working from home
View GitHub Profile
@itsmepetrov
itsmepetrov / gist:54836f3cc62501a3c797ee4aa8909b0b
Last active May 12, 2018 13:57 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
import React, { PropTypes, Component, Children, cloneElement } from 'react';
export default class Fullscreen extends Component {
static propTypes = {
children: PropTypes.node
};
state = {
width: 0,
height: 0