-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
265 lines (217 loc) · 11.2 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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script src="https://kit.fontawesome.com/93ce3fc8d3.js" crossorigin="anonymous"></script>
<!-- <link src="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ST2JEZKDYS"></script>
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-ST2JEZKDYS');
</script>
<link rel="stylesheet" href="css/index.css" />
<meta name="theme-color" content="#ffc248" />
<style>
@import url("https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@500;600;700&display=swap");
</style>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6636553514132414"
crossorigin="anonymous"></script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="Learn Baybayin with Kuya Bai | Tagalog to Baybayin Translator" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://www.kuyabai.com/assets/images/icons/logo_square.png" />
<meta property="og:image:alt" content="Kuya Bai Tagalog to Baybayin Translator" />
<meta property="og:url" content="https://www.kuyabai.com" />
<meta property="og:description" content="Learn Baybayin with Kuya Bai, our very own pre-colonial, ancient Filipino Tagalog script in the Philippines"/>
<meta property="fb:app_id" content="925816941874428" />
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
<link rel="shortcut icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="shortcut icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="shortcut icon" type="image/png" href="/favicon.ico">
<link rel="manifest" href="/favicon/site.webmanifest">
<link rel="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#ffc248">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/favicon/browserconfig.xml">
<meta name="twitter:title" content="Kuya Bai Baybayin Translator" />
<meta
name="twitter:description"
content="Learn Baybayin with Kuya Bai, our very own pre-colonial, ancient Filipino Tagalog script in the Philippines"
/>
<meta
name="twitter:image"
content="https://www.kuyabai.com/assets/images/icons/logo_square.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<title>Learn Baybayin with Kuya Bai | Tagalog to Baybayin Translator</title>
<meta
name="description"
content="Learn Baybayin with Kuya Bai, our very own pre-colonial, ancient Filipino Tagalog script in the Philippines"
/>
</head>
<body>
<div id="toast">
<p>Toast-y</p>
</div>
<div class="flex-row">
<!-- Navigation / Header -->
<div id="navigation-header" class="header">
<nav>
<div>
<!--About us --->
<div data-modal-target="#modal" style="cursor: pointer" ><a href="/"><img src="https://www.kuyabai.com/assets/images/logo_horizontal.png" height="50px" alt="Ako si Kuya Bai! Tara mag-aral ng Baybayin"></a>
<div class="info-icon"><img src="https://www.kuyabai.com/assets/images/Info_button.svg" height="20px" width="50px" class="filter-brown"></div></div>
<div class="modal" id="modal">
<img class="kuyabai-logo" style="margin-right: 10px;" src="assets/images/icons/KuyaBai_Logo.png" alt="Ako si Kuya Bai">
<div class="modal-header">
<div class="title">Meet Kuya Bai</div>
<div class="close"><button data-close-button class="close-button">×</button></div>
</div>
<div class="modal-body" id ="center">
<br>
<span>Let Kuya Bai help you learn Baybayin, our very own ancient Philippine Tagalog script.</span><br>
<br>
<span>Use the translator to learn how to write & spell baybayin.</span><br>
<br>
<span>If you have questions, buzz us at hello (at) orangefix.xyz.</span>
<br><br>
</div>
</div>
<div id="overlay"></div>
<!--About us --->
</div>
<div>
<ul id="nav">
<li><a href="/baybayin">Learn Baybayin</a></li>
<li><a href="/games">Baybayin Games</a></li>
<li><a href="/resources">Resources</a></li>
<li><a href="/downloads">Downloads</a></li>
</ul>
</div>
<div class="menu" id="menu">
<span></span>
<span></span>
<span></span>
</div>
</nav>
</div>
<!-- Navigation / Header End -->
<!-- Main Translator Div -->
<div id="translatorMain" class="translator-main flex-jcc">
<!-- Translator Blocks Div -->
<div class="translator-main-blocks">
<!-- Tagalog Text Area -->
<div class="translator-main-blocks-raw border-right border-bottom">
<label for="tagalogTextArea">Filipino</label>
<textarea
name="tagalog-text-area"
id="tagalogTextArea"
placeholder="Type text here"
onclick="focus()"
onkeyup="convertText()"
></textarea>
<button
id="clearButton"
onclick="clearText()"
style="cursor: pointer"
>
Clear
</button>
</div>
<!-- Tagalog Text Area End-->
<!-- Translated Text Area -->
<div class="translator-main-blocks-translated border-bottom">
<label for="translatedTextArea">Baybayin</label>
<textarea
name="translated-text-area"
id="translatedTextArea"
readonly
>
</textarea>
<div>
<button
id="copyButton"
onclick="copyText()"
style="cursor: pointer"
>
Copy
</button>
<button id="open-preview" class="open-preview" onclick="convert()" style="cursor: pointer">Download</button>
<button id="share_amongus" class="share">
<div class="share" id="share_amongus" >
<div class="btn js-btn-open">
<i class="fa fa-retweet" aria-hidden="true"></i>
</div>
<div class="social js-btns-share" id="share_amongus">
<ul>
<li class="js-btns-share"><a class="facebook" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
<li class="js-btns-share"><a class="twitter" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
</ul>
</div>
</div>
</button>
</div><!---->
</div>
<!-- Translated Text Area End-->
</div>
<!-- Translator Blocks Div End -->
</div>
<!-- Main Translator Div -->
</div>
<script>
const link = encodeURI('https://www.kuyabai.com/');
const msg = encodeURIComponent('Learn Baybayin with Kuya Bai');
// facebook
const fb = document.querySelector('.facebook');
fb.href = `https://www.facebook.com/share.php?u=${link}`;
// // twitter
const twitter = document.querySelector('.twitter');
twitter.href = `http://twitter.com/share?&url=${link}&text=${msg}&hashtags=baybayin,Filipino`;
</script>
<div class="non-floating">
<div class="kuyabai-non-floating-top">
<img class="kuyabai-logo-non-floating non-floating" style="margin-right: 10px;" src="assets/images/icons/KuyaBai_Logo.png" alt="Learn Baybayin with Kuya Bai">
<span class="title-non-floating non-floating">Kuya Bai<br>recommends</span>
<span class="non-floating-arrow non-floating">🡶</span>
</div>
<button class="non-floating-btn non-floating" style="cursor: pointer"><a style="text-decoration: none" href="/assets/kuya-bai-worksheets-2023ed.pdf" target="_blank">Download our FREE Baybayin Worksheets</a></button>
</div>
<img class="kuyabai-logo-floating floating" style="margin-right: 10px;" src="assets/images/icons/KuyaBai_Logo.png" alt="Learn Baybayin with Kuya Bai">
<div class="title-floating floating">Kuya Bai<br>recommends</div>
<button class="floating-btn floating" style="cursor: pointer"><a style="text-decoration: none" href="/assets/kuya-bai-worksheets-2023ed.pdf" target="_blank">Download our FREE Baybayin Worksheets</a></button>
<span class="floating-arrow floating">🡶</span>
<div id="preview-hidden"> <!-- style="border-style: solid;"> -->
<canvas id="canvas-hidden" height="1400" width="1400">
</canvas>
<img src="" id="image" alt="">
</div>
<dialog id="preview">
<canvas id="canvas" height="320" width="320"></canvas>
<button id="download-preview" onclick="downloadCanvas()">download</button>
<button id="close-preview" class="close-preview">×</button>
</dialog>
<!-- TODO: a proper footer -->
<div class="footer" id="center">
<br>
<!-- <img src="assets/images/logo_horizontal.png" height="50px"alt=""> -->
<span class="footer-text" id="center">Say "Hi" at hello (at) orangefix.xyz</span>
<br><br>
<span class="footer-text">Thanks to the amazing work of <a href="https://jennayey.com/" target="_blank" rel="noopener noreferrer">jennayey</a> ❤ and the <a href="https://github.com/jennayey/philippine-scripts-translator" target="_blank" rel="noopener noreferrer">Philippine Scripts Translator Project</a>.</span>
<br><br>
<span class="footer-text">You can also download the free <a href="https://github.com/OrangefixDev/kuya-bai-baybayin-translator/blob/main/assets/fonts/Baybayin/BaybayinNamin.otf?raw=true" target="_blank" rel="noopener noreferrer">Baybayin Namin Open Type Font</a>.</span>
<br><br>
<a href="/privacy" style="text-decoration:none">Privacy Policy</a> <span style="font-weight: 600">|</span> <a href="/terms" style="text-decoration:none">Terms of Service</a>
<br><br>
<span class="footer-text" id="center">Copyright © 2022 <a href="https://kuyabai.com" target="_blank" rel="noopener noreferrer">kuyabai.com</a>
<br><br>
<span class="footer-text" id="center">Follow us on <a href="https://www.facebook.com/KuyaBaiBaybayin" target="_blank" rel="noopener noreferrer">Facebook</a>
<br><br>
An <a href="https://orangefix.xyz" target="_blank" rel="noopener noreferrer">Orangefix</a> & <a href="https://www.proaxialdigital.com" target="_blank" rel="noopener noreferrer">Proaxial</a> side hustle</span>
<!-- <a href='https://ko-fi.com/I2I0230S1' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://cdn.ko-fi.com/cdn/kofi3.png?v=2' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a> -->
</div>
<script src="js/index.js"></script>
</body>
</html>