-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
97 lines (87 loc) · 3.75 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="assets/apple-touch-icon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Figpeek | Figma Thumbnail Generator ✨ </title>
<link rel="manifest" href="site.webmanifest">
<meta name="robots" content="index,follow">
<meta name="googlebot" content="index,follow">
<meta name="description"
content="Figpeek is a Figma and GitHub thumbnail generator. With Figpeek you can create and experiment your thumbnail with ease, save it, then use it in your projects.">
<meta property="og:title" content="Figpeek | Figma Thumbnail Generator ✨">
<meta property="og:description"
content="Figpeek is a Figma and GitHub thumbnail generator. With Figpeek you can create and experiment your thumbnail with ease, save it, then use it in your projects.">
<meta property="og:url" content="https://figpeek.xyz">
<meta property="og:type" content="website">
<meta property="og:image" content="https://figpeek.xyz/assets/og-image.jpg">
<meta property="og:image:alt" content="Figpeek OG Image">
<meta property="og:image:width" content="1240">
<meta property="og:image:height" content="640">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@heeeychrono">
<meta name="twitter:title" content="Figpeek | Figma Thumbnail Generator ✨">
<meta name="twitter:description"
content="Figpeek is a Figma and GitHub thumbnail generator. With Figpeek you can create and experiment your thumbnail with ease, save it, then use it in your projects.">
<meta name="twitter:image" content="https://figpeek.xyz/assets/og-image.jpg">
<meta name="twitter:image:alt" content="Figpeek OG Image">
<meta name="theme-color" content="#1B4332">
<style>
.offline-message {
position: fixed;
right: 2%;
bottom: 2%;
background-color: rgb(250, 83, 83);
border-radius: 10px;
color: white;
display: block;
font-weight: 500;
padding: 16px;
}
.hide {
display: none;
}
</style>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt=""
referrerpolicy="no-referrer-when-downgrade" /></noscript>
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script src="service-worker.js"></script>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register("service-worker.js").then(registration => {}).catch(error => {
console.log(error)
})
}
</script>
<div id="offline-message" class="offline-message hide">
<p>Hey, you are offline now, some errors may occur.</p>
</div>
</body>
<script>
const offline_elem = document.querySelector('#offline-message');
window.addEventListener('online', () => {
if(!offline_elem.classList.contains('hide')) offline_elem.classList.add('hide')
})
window.addEventListener('offline', () => {
if(offline_elem.classList.contains('hide')) offline_elem.classList.remove('hide')
})
</script>
<script>
kofiWidgetOverlay.draw('heychrono', {
'type': 'floating-chat',
'floating-chat.donateButton.text': 'Buy me coffee',
'floating-chat.donateButton.background-color': '#1B4332',
'floating-chat.donateButton.text-color': '#fff'
});
</script>
</html>