-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (54 loc) · 2.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Import CSS -->
<link rel="stylesheet" href="css/mainStyle.css">
<!-- Scale page to display width -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Page Title -->
<title>Encrypt - QR-Crypt</title>
<!-- Import Scripts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrious/4.0.2/qrious.min.js"></script>
<script src="./scripts/main.js"></script>
<!-- Favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="./assets/images/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/images/favicons/favicon-16x16.png">
<!-- Meta -->
<meta name="title" property="og:title" content="QR-Crypt"/>
<meta name="description" property="og:description" content="A password-protected QR Code generator. Open-source and free of ads and tracking."/>
<meta name="keywords" content="password protected QR codes,qr code generator,encrypted qr code,qr crypt, encryption"/>
<meta name="image" property="og:image" content="https://tedgravlin.github.io/qr-crypt/assets/images/ogimage.png"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://tedgravlin.github.io/qr-crypt/"/>
</head>
<body>
<div class="background-blur">
</div>
<div class="header">
<h1 class="site-title">QR-CRYPT</h1>
<p class="site-description">Password-protected QR Codes.</p>
</div>
</div>
<div class="card">
<div id="input-panel">
<h2 class="card-title">Create QR Code</h2>
<label for="textInput">Message</label>
<textarea autocomplete="off" id="textInput" class="input" rows="5" cols="0" placeholder="Text"></textarea><br>
<label for="password">Create a password</label>
<input type="password" id="password" placeholder="Enter a password"><br>
<input type="button" id="submit" value="Generate" onclick="handleInput()"><br>
<p id="error" class="error"></p>
</div>
<div id="qrcodecontainer" class="qrcodecontainer">
<canvas id="qrcode" class="qrcode"></canvas>
</div>
<div id="qrcodebuttons" style="display: none;">
<a href="" id="downloadLink">
<input type="button" onclick="downloadQRCode()" value="Download">
</a>
</div>
</div>
</body>
</html>