-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
77 lines (73 loc) · 2.41 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en" data-theme="dracula">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Minima</title>
<meta
name="description"
content="A simple and minimal framework for go made to scale, written with 0 external deps and fully based on net/http"
/>
<meta name="robots" content="index, follow" />
<meta property="og:title" content="Minima" />
<meta name="theme-color" content="#5271ff" />
<meta
property="og:description"
content="A simple and minimal framework for go made to scale, written with 0 external deps and fully based on net/http"
/>
<meta
property="og:image"
content="https://gominima.studio/banner.png"
/>
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://gominima.studio" />
<meta property="twitter:title" content="Minima" />
<meta
property="twitter:description"
content="A simple and minimal framework for go made to scale, written with 0 external deps and fully based on net/http"
/>
<meta
property="twitter:image"
content="https://gominima.studio/banner.png"
/>
<!-- This retrieves the latest Twemoji script -->
<script
src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js"
crossorigin="anonymous"
></script>
<!-- Script to render emojis as Twemojis -->
<script>
window.onload = function () {
// Parses the document body and
// inserts <img> tags in place of Unicode Emojis
twemoji.parse(
document.body,
{ folder: 'svg', ext: '.svg' }, // This is to specify to Twemoji to use SVGs and not PNGs
);
};
</script>
<!-- CSS configurations to tweak how the Twemojis are displayed -->
<style>
img.emoji {
/* Since we are using SVGs, you have to change the width using CSS */
width: 1.5em;
/*
This is to make the emojis feel like actual emojis to
the user and they won't act like images. This makes the emojis
non-reactive to any mouse events such as dragging,
hovering, clicking etc. Makes it feel like its actual text.
*/
pointer-events: none;
/*
This is to make sure the images are inline
*/
display: inline;
}
</style>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>