-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
99 lines (85 loc) · 2.56 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
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P7LH3W5CSR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-P7LH3W5CSR");
</script>
<!-- Meta Tags -->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="light dark" />
<!-- Title -->
<title>Shorten!</title>
<link rel="stylesheet" href="assets/styles.css" />
<link rel="icon" href="assets/favicon.png" />
</head>
<body>
<!-- preloader -->
<div class="preloader">
<span class="preloader-text">Loading...</span>
</div>
<!-- dark mode toggle -->
<div class="dark-mode-toggle">
<input type="checkbox" id="dark-mode-toggle" />
<label for="dark-mode-toggle">Dark Mode</label>
</div>
<!-- form -->
<div class="login-box">
<img id="logo" src="assets/logo.png" alt="Shorten Logo" />
<form>
<!-- long url -->
<div class="user-box">
<input type="text" name="text" value id="linkinput" required="" autocomplete="off" />
<label>Url</label>
</div>
<!-- path -->
<div class="user-box">
<input type="text" name="path" value id="pathinput" required="" autocomplete="off" />
<label>Slug</label>
</div>
<!-- button -->
<a href="javascript:void(0);" id="myinput" value="Shorten">
<span></span>
<span></span>
<span></span>
<span></span>
Shorten
</a>
</form>
<br />
<!-- shortened url box -->
<div class="msg row">
<div class="column left">
<p id="message">link.laavesh.xyz/</p>
</div>
<div class="column right">
<button name="qr-btn" id="qr-btn"><img id="qr" src="assets/qr.png" alt="qr" /></button>
<button name="copy" id="copy"><img id="copy-to-clipboard" src="assets/copy.png" alt="copy" /></button>
</div>
</div>
<div class="links">
<a href="https://github.com/aviiciii">
<img id="github-logo" src="assets/github.png" />
</a>
</div>
</div>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close"></span>
<img id="qr-img" src="https://api.qrserver.com/v1/create-qr-code/?data=https://link.laavesh.xyz/&qzone=2&size=250x250&bgcolor=f1ede2" />
</div>
</div>
<!-- link script -->
<script src="assets/script.js"></script>
</body>
</html>