-
Notifications
You must be signed in to change notification settings - Fork 0
/
startpage.js
39 lines (37 loc) · 1.72 KB
/
startpage.js
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
function startpage(_, res) {
const html = `<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
#signIn{
margin-top: 30px;
display: block;
}
#image{
width: 100%;
display:block;
}
</style>
</head>
<body class="container " style="background: #0981D1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous">
<div style="margin: auto; width: 350px; margin-top: 40px; " class="alert alert-success my-4" role="alert">
<h1>Sign in to unlock content</h1>
<em>You can use any Ravencoin NFT</em>
<img id="image" src="https://cdn.pixabay.com/photo/2018/09/25/21/14/safe-3703193__480.jpg"/>
<a href="/signin" class="btn btn-primary" id="signIn">Sign in</a>
<p style="margin-top: 20px">
<a target="_blank" href="https://github.com/ravenrebels/demo-site-sign-in-simple"
>GitHub</a
>
</p>
</div>
<p>
</body>
</html>`;
res.send(html);
}
exports.startpage = startpage;