Skip to content

Commit e4ae133

Browse files
committed
Add the primer homepage
1 parent 50f7b3e commit e4ae133

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

views/probot.js

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
const name = 'serverless-lambda'
2+
const version = '0.1'
3+
4+
module.exports.template = `
5+
<!DOCTYPE html>
6+
<html lang="en" class="height-full">
7+
<head>
8+
<meta charset="UTF-8">
9+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
10+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
11+
<title>${name} | built with Probot</title>
12+
<link rel="stylesheet" href="https://probot.github.io/assets/css/index.css?d=1521919566">
13+
</head>
14+
<body class="height-full bg-gray-light">
15+
<div class="d-flex flex-column flex-justify-center flex-items-center text-center height-full">
16+
<img src="https://probot.github.io/assets/logo.png" alt="Probot Logo" width="100" class="mb-6">
17+
<div class="box-shadow rounded-2 border p-6 bg-white">
18+
<h1>
19+
Welcome to ${name}!
20+
<span class="Label Label--outline v-align-middle ml-2 text-gray-light">v${version}</span>
21+
</h1>
22+
<p>This bot was built using <a href="https://github.com/probot/probot">Probot</a>, a framework for building GitHub Apps.</p>
23+
</div>
24+
25+
<div class="mt-4">
26+
<h4 class="alt-h4 text-gray-light">Need help?</h4>
27+
<div class="d-flex flex-justify-center mt-2">
28+
<a href="https://probot.github.io/docs/" class="btn btn-outline mr-2">Documentation</a>
29+
<a href="https://probot-slackin.herokuapp.com/" class="btn btn-outline">Chat on Slack</a>
30+
</div>
31+
</div>
32+
</div>
33+
</body>
34+
</html>
35+
`

0 commit comments

Comments
 (0)