Packages

Curtains is a Elixir package that "takes over" your Elixir website by returning content of a specified file (if it exists). This makes it perfect for "Under construction" and "Maintenance" pages. At it's heart, it's just a Plug.

Current section

Files

Jump to
curtains public curtains.html
Raw

public/curtains.html

<!doctype html>
<html>
<head>
<title>Curtains</title>
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<style>
body {
padding: 0;
margin: 0;
}
h1 {
font-family: 'Roboto', sans-serif;
margin: auto;
width: 10%;
color: #B22222;
font-size: 4em;
margin-top: 1em;
}
p {
margin: auto;
width: 30%;
margin-top: 1em;
padding-left: 20px;
}
</style>
</head>
<body>
<h1>Curtains</h1>
<p>
This is the default curtain page. Learn how to change this in the documentation
on the <a href="https://github.com/fteem/curtains">Github repo</a>.
</p>
</body>
</html>