-
Notifications
You must be signed in to change notification settings - Fork 25
/
index.html
49 lines (49 loc) · 1.24 KB
/
index.html
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
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Lit App</title>
<script type="module" src="/src/giscus.ts"></script>
<style>
.styles {
margin: 2rem;
font-family: sans-serif;
background-color: #bababa;
}
#comments {
display: flex;
margin: auto;
max-width: 640px;
min-height: 200px;
}
.comments-container {
margin: auto;
max-width: 800px;
max-height: 640px;
overflow-y: scroll;
}
</style>
</head>
<body class="styles">
<div class="comments-container">
<giscus-widget
id="comments"
repo="giscus/giscus"
repoid="MDEwOlJlcG9zaXRvcnkzNTE5NTgwNTM="
category="General"
categoryid="MDE4OkRpc2N1c3Npb25DYXRlZ29yeTMyNzk2NTc1"
mapping="specific"
term="Welcome to giscus!"
reactionsenabled="1"
emitmetadata="0"
inputposition="top"
theme="light"
lang="en"
>
<p>Loading comments...</p>
</giscus-widget>
</div>
</body>
</html>