Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions views/probot.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
const { name, version } = require(`${process.cwd()}/package`);

module.exports.template = `
<!DOCTYPE html>
<html lang="en" class="height-full">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>${name} | built with Probot</title>
<title>Built with Probot</title>
<link rel="stylesheet" href="https://probot.github.io/assets/dist/styles.css">
</head>
<body class="height-full bg-gray-light">
<div class="d-flex flex-column flex-justify-center flex-items-center text-center height-full">
<img src="https://probot.github.io/assets/img/logo.png" alt="Probot Logo" width="100" class="mb-6">
<div class="box-shadow rounded-2 border p-6 bg-white">
<h1>
Welcome to ${name}!
<span class="Label Label--outline v-align-middle ml-2 text-gray-light">v${version}</span>
Welcome to Probot!
</h1>
<p>This bot was built using <a href="https://github.com/probot/probot">Probot</a>, a framework for building GitHub Apps.</p>
</div>
Expand Down