-
Notifications
You must be signed in to change notification settings - Fork 0
/
singlish-to-unicode.html
131 lines (128 loc) · 7.36 KB
/
singlish-to-unicode.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="public/assets/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="public/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="public/assets/favicon-16x16.png">
<link rel="manifest" href="public/assets/site.webmanifest">
<title>Real Time Singlish Converter</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="public/css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
crossorigin="anonymous">
</head>
<body onLoad="javascript:txtBox.box1.focus()">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">Sinhala Converter</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="index.html">Unicode-to-DLManel</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="singlish-to-unicode.html">Singlish-to-Unicode</a>
</li>
<li class="nav-item">
<a href="https://www.buymeacoffee.com/lakinduk" target="_blank"><img
src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee"
style="height: 40px !important;width: 160px !important;"></a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-8 text-center position-relative">
<h2 class="mb-5">Realtime Singlish Converter</h2>
<h4>Singlish to Unicode (<span style="font-family: Potha;">යුනිකෝඩ්</span>)</h4>
<form name="txtBox">
<div class="position-relative mb-3">
<textarea class="form-control text-center" style="font-size: 14pt; font-family: Potha;"
onKeyUp="startText();" onClick="startText();" name="box1" rows="7"></textarea>
<i class=" fa-regular fa-clone clipboard-icon" onclick="copyText('box1', this)"></i>
<span class="copied-text" style="display: none;">Copied to clipboard!</span>
</div>
<div class="mb-3">
<input type="reset" class="btn btn-outline-secondary" value="Reset">
</div>
<h4>Unicode</h4>
<div class="position-relative mb-3">
<textarea class="form-control text-center" style="font-size: 14pt; font-family: DL-Manel-bold;"
name="box2" rows="7"></textarea>
<i class="fa-regular fa-clone clipboard-icon" onclick="copyText('box2', this)"></i>
<span class="copied-text" style="display: none;">Copied to clipboard! </span>
</div>
</form>
<div class="text-start">
<p>Copy the text above and paste it in Word, Photoshop, Illustrator etc. or anywhere you want to
type Sinhala.
</p>
<p>Download Sinhala fonts from the links below:</p>
<ul class="list-group list-group-flush">
<li class="list-group-item">
<div class="row">
<div class="col-md-8 col-8">
DL-Manel
</div>
<div class="col-md-4 col-4 text-md-end">
<i class="fa-solid fa-arrow-down-to-line"></i>
<a href="public/downloads/DL_Manel_fonts_pack.rar">
<i class="fa fa-download" data-bs-toggle="tooltip" data-bs-placement="top"
title="Click to download"></i>
</a>
</div>
</div>
</li>
<li class="list-group-item">
<div class="row">
<div class="col-md-8 col-8">
Noto Sans Sinhala (Google Fonts)
</div>
<div class="col-md-4 col-4 text-md-end">
<i class="fa-solid fa-arrow-down-to-line"></i>
<a href="public/downloads/Noto_Sans_Sinhala_Varela_Round.zip">
<i class="fa fa-download" data-bs-toggle="tooltip" data-bs-placement="top"
title="Click to download"></i>
</a>
</div>
</div>
</li>
<li class="list-group-item">
<div class="row">
<div class="col-md-8 col-8">
Sinhala Apex Font Pack (50 fonts)
</div>
<div class="col-md-4 col-4 text-md-end">
<i class="fa-solid fa-arrow-down-to-line"></i>
<a href="public/downloads/Sinhala_apex_fonts_pack.rar">
<i class="fa fa-download" data-bs-toggle="tooltip" data-bs-placement="top"
title="Click to download"></i>
</a>
</div>
</div>
</li>
</ul>
</div>
<footer class="mt-5 mb-4">
<span class="d-block">Developed by <a href="https://lakinduk.me">lakinduk.me</a> |
<script>document.write(new Date().getFullYear())</script>
</span>
</footer>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="public/js/singlish-to-unicode.js"></script>
<script src="public/js/copy.js"></script>
</body>
</html>