-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (47 loc) · 2.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Share Exif</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Manifest -->
<link rel="manifest" href="./manifest.json">
<meta name="theme-color" content="#202124">
<link rel="icon" type="image/png" href="assets/icon-512.png" />
<link rel="stylesheet" type="text/css" href="src/style.css">
<link href="https://cdn.jsdelivr.net/npm/toastify-js@1.6.1/src/toastify.min.css" rel="stylesheet">
</head>
<body>
<a class="github-corner" href="https://github.com/catdad-experiments/share-exif" aria-label="View source on Github">
<svg class="icon">
<!-- Adapted from Tim Holman's GitHub Corners - https://github.com/tholman/github-corners -->
<path d="M0 0L36.8 36.8 45.3 45.3 80 80 80 0 0 0ZM40.6 34.6C36.3 31.7 38.1 28.8 38.1 28.8 39 26.6 38.7 25.3 38.7 25.3 38.4 23 39.7 24.6 39.7 24.6 41 26.2 40.3 28.2 40.3 28.2 39.6 30.7 41 32.2 42.3 32.9L42.9 32.3C43.8 31.7 44.8 31.4 45.4 31.4 42.9 27.8 40.6 23.7 46.1 18.2 47.7 16.6 49.3 16 51.2 16 51.5 15.4 52.2 13.8 55 12.5 55 12.5 56.6 13.4 57.3 17.6 58.6 18.2 59.8 19.2 61.1 20.5 62.4 21.8 63.4 23 64 24.3 68.5 25.3 69.4 26.6 69.4 26.6 68.2 29.1 66.6 30.1 65.9 30.1 65.9 32 65.3 33.6 63.7 35.2 58.6 40.3 54.1 38.6 50.6 36 50.6 37 50.2 38 49 39.4Q45.9 42.8 45.2 43.6C44.7 44.2 45.3 45.3 45.3 45.3L36.8 36.8C36.8 36.8 37.8 37.4 38.4 36.8L40.6 34.6Z"/>
</svg>
</a>
<div class="unsupported limit">
<p>This browser is not supported.</p>
<p>See the <a href="https://github.com/catdad-experiments/share-exif">GitHub page</a> for more info.</p>
</div>
<div class="container hide">
<div class="main limit">
<input type="file" id="open-input" class="hide" />
<img src="assets/open.svg" id="image" />
<div id="info" class="info hide"></div>
</div>
</div>
<script type="module">
document.querySelector('.unsupported').remove();
document.querySelector('.container').classList.remove('hide');
</script>
<script src="https://cdn.jsdelivr.net/npm/exif-js@2.3.0/exif.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/toastify-js@1.6.1/src/toastify.min.js"></script>
<script type="module">
import loader from './src/loader.js';
window.addEventListener('load', function () {
loader();
});
</script>
<script src="/analytics.js" async></script>
</body>
</html>