-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (33 loc) · 1.12 KB
/
Copy pathindex.html
File metadata and controls
33 lines (33 loc) · 1.12 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="GIFM v0.5.4 converts local videos and existing GIFs into Discord-ready animated GIFs."
/>
<meta name="theme-color" content="#0b0f14" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<link rel="manifest" href="/manifest.webmanifest" />
<title>GIFM v0.5.4</title>
<script>
// Apply the stored (or OS-preferred) theme before paint to avoid a flash of the wrong theme.
(function () {
try {
var stored = JSON.parse(localStorage.getItem('gifm:theme:v1'));
var theme = stored === 'light' || stored === 'high-contrast' || stored === 'dark'
? stored
: 'dark';
document.documentElement.dataset.theme = theme;
} catch (error) {
document.documentElement.dataset.theme = 'dark';
}
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>