-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
84 lines (84 loc) · 3.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Lato&display=swap" rel="stylesheet">
<script defer type="module" src="js/main.js"></script>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="monetization" content="$coil.xrptipbot.com/Qsw2CNFETAawl2gydFJ11w">
<meta name="description" content="Convert any image to dots for no reason">
<meta name="theme-color" content="#d65a31">
<meta property="og:image" content="https://konradlinkowski.github.io/Dotter/images/logo.png">
<meta property="og:image:width" content="1349">
<meta property="og:image:height" content="325">
<meta property="og:image:type" content="image/png">
<meta property="og:image:alt" content="Dotter logo">
<meta name="og:site_name" content="Konrad Linkowski">
<link rel="icon" type="image/svg" href="./images/favicon.svg"/>
<title>Dotter</title>
</head>
<body>
<main class="main" id="main"></main>
<article class="side-panel">
<header class="header">
<a href="#">
<img src="./images/logo.svg" alt="Dotter logo">
<h1>
Dotter
</h1>
</a>
<p>Convert any image to dots for no reason</p>
</header>
<section class="settings">
<h2>Settings</h2>
<div class="settings-field">
<label for="columns">Columns:</label>
<div class="range-field">
<input class="slider" type="range" id="columns" min="1" max="100" step="1">
<span id="columns-text"></span>
</div>
</div>
<div class="settings-field">
<label class="switch" for="lego">
<span class="switch-label">Lego:</span>
<div class="switch-background">
<span class="switch-handle"></span>
</div>
<input class="checkbox" type="checkbox" id="lego">
</label>
</div>
<div class="settings-field">
<label class="switch" for="lego-colors">
<span class="switch-label">Lego colors only:</span>
<div class="switch-background">
<span class="switch-handle"></span>
</div>
<input class="checkbox" type="checkbox" id="lego-colors">
</label>
</div>
<div class="dropzone" id="dropzone">
<label for="files" class="dropzone-container">
<div class="file-icon">+</div>
<div class="dropzone-title">
Drag and drop your image or <span class="browse">browse</span> for an image
</div>
</label>
<input id="files" name="files[]" type="file" class="file-input" accept="image/x-png,image/jpeg">
</div>
<div class="download-buttons">
<button class="button" id="download-png">Download PNG</button>
<button class="button" id="download-svg">Download SVG</button>
</div>
</section>
<footer class="footer">
<a class="link" target="_blank" href="https://github.com/KonradLinkowski/Dotter">GitHub</a>
</footer>
</article>
<div hidden id="spinner" class="spinner">
<svg viewBox="25 25 50 50">
<circle cx="50" cy="50" r="20"></circle>
</svg>
</div>
</body>
</html>