Skip to content

Commit c79031a

Browse files
committed
Redesign website
1 parent 770bcea commit c79031a

File tree

1 file changed

+26
-14
lines changed

1 file changed

+26
-14
lines changed

index.html

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,48 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Vite App</title>
6+
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
7+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.min.css" rel="stylesheet" type="text/css" />
8+
<script src="https://cdn.tailwindcss.com"></script>
9+
<style>
10+
body, html {
11+
font-family: 'Poppins', Arial, Helvetica, sans-serif;
12+
padding: 0.5rem;
13+
}
14+
</style>
15+
<title>qrcode-parser</title>
716
</head>
817
<body>
918
<div class="section">
10-
<h3>QR code Url</h3>
11-
<input id="image-url" type="text" placeholder="QR code url here" />
12-
<input type="button" id="parse-image-url" value="Decode" />
13-
<p>
19+
<h3 class="text-xl font-bold mb-2">QR code URL</h3>
20+
<input id="image-url" type="text" placeholder="QR code URL here" class="input input-bordered input-sm w-full max-w-xs" />
21+
<input class="btn btn-sm" type="button" id="parse-image-url" value="Decode" />
22+
<p class="my-2">
1423
QR code content:
1524
<span id="content1"></span>
1625
</p>
1726
</div>
1827
<div class="section">
19-
<h3>QR code Base64</h3>
20-
<textarea
28+
<h3 class="text-xl font-bold my-2">QR code Base64</h3>
29+
<input
2130
id="image-base64"
22-
placeholder="QR code base64 code here"
23-
></textarea>
24-
<input type="button" id="parse-image-base64" value="Decode" />
25-
<p>
31+
type="text"
32+
class="input input-bordered input-sm w-full max-w-xs"
33+
placeholder="QR code Base64 code here"
34+
></input>
35+
<input class="btn btn-sm" type="button" id="parse-image-base64" value="Decode" />
36+
</div>
37+
<p class="my-2">
2638
QR code content:
2739
<span id="content2"></span>
2840
</p>
2941
</div>
3042
<div class="section">
31-
<h3>Upload QR code</h3>
43+
<h3 class="text-xl font-bold my-2">Upload QR code</h3>
3244
<div id="form">
33-
<input type="file" name="file" id="file" />
45+
<input type="file" name="file" id="file" class="file-input file-input-bordered file-input-sm w-full max-w-xs" />
3446
</div>
35-
<p>
47+
<p class="my-2">
3648
QR code content:
3749
<span id="content3"></span>
3850
</p>

0 commit comments

Comments
 (0)