aboutsummaryrefslogtreecommitdiffstats
path: root/views/frontpage.ejs
blob: 4e76a995654eb32e3c747b83fccdd655508e2f0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!doctype html>
<html>
  <head>
    <title>Welcome to faaslift!</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
    body {
      margin: 40px auto;
      max-width: 650px;
      line-height: 1.6;
      font-size: 18px;
      color: #444;
      padding: 0 20px;
      font-family: Helvetica, sans-serif;
    }
    h1,h2,h3 {
      line-height: 1.2;
    }
    </style>
  </head>
  <body>
    <h1>Welcome to <strong>faaslift!</strong></h1>
    <p>
    Get started by creating a new endpoint with the command line tool.
    Check out the instructions from the <a href="https://github.com/jantuomi/faaslift/blob/master/README.md">README</a>.
    </p>
    <h3>Currently active endpoints</h3>
    <% if (!locals.endpoints || locals.endpoints.length === 0) { %>
      <i>No endpoints active</i>
    <% } %>
    <ul>
    <% (locals.endpoints || []).forEach(function (endpoint) { %>
      <li>
        <a href="/<%= endpoint %>"><%= endpoint %></a>
      </li>
    <% }); %>
    </ul>
    <small>Styles partially borrowed from <a href="http://bettermotherfuckingwebsite.com/">bettermotherfuckingwebsite.com</a>.</small>
  </body>
</html>