-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
72 lines (72 loc) · 2.56 KB
/
index.html
File metadata and controls
72 lines (72 loc) · 2.56 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="description"
content="Shayar is a small web utility for taking pretty pictures of urdu couplets. Some are already included but you can bring your own! You can call it a sort of 'sher maker'!"
/>
<title>Shayar | Take Pretty Pictures of Couplets, Sher Maker</title>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="./static/favicon.png"
/>
<link href="./static/style.css" rel="stylesheet" />
<script
defer
src="https://cdn.jsdelivr.net/npm/html-to-image@1.11.11/dist/html-to-image.min.js"
></script>
<script type="module" defer src="./static/index.js"></script>
</head>
<body>
<div class="wrapper">
<div class="display">
<h1>शायर</h1>
<div class="container border-radius-6px">
<div class="sher"></div>
<p class="shayar"></p>
</div>
<div class="controls">
<label id="toggle-border-radius-label" for="toggle-border-radius">
Round Corners:
<input
id="toggle-border-radius"
type="checkbox"
title="Rounded corners show up as black triangles at the edges of the downloaded image, when looked at closely."
/>
</label>
<label for="font-size-range"
>Adjust Font Size: <span id="font-size-value"></span
></label>
<input type="range" id="font-size-range" min="8" max="72" value="" />
<button class="btn-blue" id="print">Print</button>
<button class="btn-red" id="download">Download</button>
</div>
</div>
<div class="text">
<textarea name="sher-box" id="sher-box" placeholder="शेर">
मोहब्बत में नहीं है फ़र्क़ जीने और मरने का
उसी को देख कर जीते हैं जिस काफ़िर पे दम निकले</textarea
>
<textarea name="shayar-box" id="shayar-box" placeholder="शायर">
ग़ालिब</textarea
>
</div>
</div>
<footer>
<span
>Don't like this one? Do a
<a href="#" onclick="javascript:window.location.reload()"
>refresh!</a
></span
>
<p class="copyright">
© 2025.
<a target="_blank" href="https://github.com/shellheim/shayar">Source</a>
</p>
</footer>
</body>
</html>