Skip to content

Instantly share code, notes, and snippets.

@w-jerome
Created November 19, 2019 15:30
Show Gist options
  • Save w-jerome/3927e14093a094fb06642b1ed7a77413 to your computer and use it in GitHub Desktop.
Save w-jerome/3927e14093a094fb06642b1ed7a77413 to your computer and use it in GitHub Desktop.
HTML - Boirplate maintenance
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_URI} !/maintenance.html$
RewriteRule $ /maintenance.html [R=302,L]
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>
Maintenance
</title>
<style>
html,
body {
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
}
html {
font-family: Helvetica, Arial, sans-serif;
color: #fff;
background-color: #000;
}
body {
display: flex;
align-items: center;
justify-content: center;
}
svg {
margin-bottom: 4em;
}
p {
text-align: center;
}
</style>
</head>
<body>
<div>
<svg width="100" height="100" viewBox="0 0 100 100">
<path fill="currentColor" d="..."/>
</svg>
<p>
Site en maintenance
</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment