-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
40 lines (36 loc) · 1.58 KB
/
index.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
40
const data = require('./data.json');
const html = `<!--!
heya inspector,
source code:
https://github.com/egecelikci/ahegao
-->
<html>
<head>
<title>Ahegao</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
<link href="modesta.css" type="text/css" rel="stylesheet">
<meta name="theme-color" content="#65cafe">
<meta content="ahegao.png" property="og:image"/>
<meta content="Ahegao" property="og:title"/>
<meta content="Start your day with a lovely ahegao ~" property="og:description"/>
<meta content="Start your day with a lovely ahegao ~" name="description"/>
</head>
<body class="dark-theme-github">
<section class="fullscreen">
<div class="background" style="background-image: url('/random');"></div>
<div class="center-object">
<section class="me">
<img draggable="false" src="ahegao.png" class="image" width="211.67" height="99">
<span class="undertitle">Start your day with a lovely ahegao ~<br><i>Images in API: <b>${data.length}</b></i></span>
</section>
<div class="buttons">
<a href="random" class="btn animation white-bg black-text" target="_blank">Random</a>
<a href="api" class="btn animation white-bg black-text" target="_blank">API</a>
<a href="https://github.com/egecelikci/ahegao" class="btn animation white-bg black-text" target="_blank">GitHub</a>
</div>
</div>
</section>
</body>
</html>`
console.log(html);