Phoe2004 commited on
Commit
266e145
Β·
verified Β·
1 Parent(s): 6c87de8

Upload index.html

Browse files
Files changed (1) hide show
  1. index.html +346 -22
index.html CHANGED
@@ -1,32 +1,330 @@
1
  <!DOCTYPE html>
2
- <html lang="en">
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Myanmar Voice Studio β€” Free Myanmar Text to Speech (TTS)</title>
7
  <meta name="description" content="Convert Myanmar (Burmese) text into natural-sounding speech for free. Choose from neural voices, adjust speed and pitch, and download MP3 audio instantly β€” no sign-up required.">
8
 
 
 
 
9
  <link rel="preconnect" href="https://fonts.googleapis.com">
10
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11
- <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..700;1,9..144,400..600&family=Inter:wght@400;500;600&family=Noto+Sans+Myanmar:wght@400;500;600;700&display=swap" rel="stylesheet">
12
  <link rel="stylesheet" href="/style.css">
13
 
14
- <!-- ===================== Google AdSense ===================== -->
15
- <!-- Replace ca-pub-XXXXXXXXXXXXXXXX with your own AdSense publisher ID -->
16
- <script async src="https://pagead2.googleadsense.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXXXXXXXXX" crossorigin="anonymous"></script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  </head>
18
  <body>
19
 
 
20
  <nav class="nav">
21
  <div class="wrap">
22
- <a href="/" class="brand"><span class="dot"></span>Myanmar Voice Studio</a>
23
- <div class="nav-links">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  <a href="/" class="active">Home</a>
25
  <a href="#tool">Try It</a>
26
  <a href="#how-it-works">How It Works</a>
27
  <a href="#faq">FAQ</a>
28
  <a href="/about">About</a>
 
 
29
  </div>
 
 
 
 
 
 
 
 
30
  </div>
31
  </nav>
32
 
@@ -46,13 +344,15 @@
46
  <!-- Top ad slot -->
47
  <div class="ad-slot">
48
  <div class="ad-label">Advertisement</div>
49
- <ins class="adsbygoogle"
50
- style="display:block"
51
- data-ad-client="ca-pub-XXXXXXXXXXXXXXXX"
52
- data-ad-slot="1111111111"
53
- data-ad-format="auto"
54
- data-full-width-responsive="true"></ins>
55
- <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
 
 
56
  </div>
57
 
58
  <div class="wrap" id="tool">
@@ -205,15 +505,17 @@
205
  </section>
206
 
207
  <!-- In-content ad slot -->
208
- <div class="ad-slot">
209
  <div class="ad-label">Advertisement</div>
210
- <ins class="adsbygoogle"
211
- style="display:block"
212
- data-ad-client="ca-pub-XXXXXXXXXXXXXXXX"
213
- data-ad-slot="2222222222"
214
- data-ad-format="auto"
215
- data-full-width-responsive="true"></ins>
216
- <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
 
 
217
  </div>
218
 
219
  <!-- FAQ -->
@@ -283,5 +585,27 @@
283
  </footer>
284
 
285
  <script src="/app.js"></script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
286
  </body>
287
  </html>
 
1
  <!DOCTYPE html>
2
+ <html lang="my">
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Myanmar Voice Studio β€” Free Myanmar Text to Speech (TTS)</title>
7
  <meta name="description" content="Convert Myanmar (Burmese) text into natural-sounding speech for free. Choose from neural voices, adjust speed and pitch, and download MP3 audio instantly β€” no sign-up required.">
8
 
9
+ <!-- Google AdSense Verification -->
10
+ <meta name="google-adsense-account" content="ca-pub-1188893611988786">
11
+
12
  <link rel="preconnect" href="https://fonts.googleapis.com">
13
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
14
+ <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..700;1,9..144,400..600&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Myanmar:wght@400;500;600;700&display=swap" rel="stylesheet">
15
  <link rel="stylesheet" href="/style.css">
16
 
17
+ <!-- Google AdSense -->
18
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1188893611988786" crossorigin="anonymous"></script>
19
+
20
+ <style>
21
+ /* ===== NAVBAR REDESIGN ===== */
22
+ :root {
23
+ --nav-h: 64px;
24
+ --brand-color: #7C3AED;
25
+ --brand-light: #EDE9FE;
26
+ --brand-mid: #A78BFA;
27
+ --accent: #F59E0B;
28
+ --surface: rgba(255,255,255,0.85);
29
+ --text-main: #1E1B4B;
30
+ --text-muted: #6B7280;
31
+ --radius: 12px;
32
+ --shadow-nav: 0 1px 0 rgba(0,0,0,.06), 0 4px 24px rgba(124,58,237,.08);
33
+ }
34
+
35
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
36
+
37
+ /* ── Navbar shell ── */
38
+ .nav {
39
+ position: sticky;
40
+ top: 0;
41
+ z-index: 100;
42
+ height: var(--nav-h);
43
+ background: var(--surface);
44
+ backdrop-filter: blur(18px) saturate(180%);
45
+ -webkit-backdrop-filter: blur(18px) saturate(180%);
46
+ border-bottom: 1px solid rgba(124,58,237,.12);
47
+ box-shadow: var(--shadow-nav);
48
+ }
49
+
50
+ .nav .wrap {
51
+ max-width: 1120px;
52
+ margin: 0 auto;
53
+ padding: 0 24px;
54
+ height: 100%;
55
+ display: flex;
56
+ align-items: center;
57
+ justify-content: space-between;
58
+ gap: 16px;
59
+ }
60
+
61
+ /* ── Brand / Logo ── */
62
+ .brand {
63
+ display: flex;
64
+ align-items: center;
65
+ gap: 10px;
66
+ text-decoration: none;
67
+ flex-shrink: 0;
68
+ }
69
+
70
+ .brand-icon {
71
+ width: 36px;
72
+ height: 36px;
73
+ background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
74
+ border-radius: 10px;
75
+ display: flex;
76
+ align-items: center;
77
+ justify-content: center;
78
+ box-shadow: 0 2px 8px rgba(124,58,237,.35);
79
+ flex-shrink: 0;
80
+ }
81
+
82
+ .brand-icon svg {
83
+ width: 20px;
84
+ height: 20px;
85
+ fill: white;
86
+ }
87
+
88
+ .brand-text {
89
+ display: flex;
90
+ flex-direction: column;
91
+ line-height: 1.1;
92
+ }
93
+
94
+ .brand-name {
95
+ font-family: 'Fraunces', serif;
96
+ font-size: 1rem;
97
+ font-weight: 700;
98
+ color: var(--text-main);
99
+ letter-spacing: -0.01em;
100
+ }
101
+
102
+ .brand-tagline {
103
+ font-family: 'Inter', sans-serif;
104
+ font-size: 0.65rem;
105
+ font-weight: 500;
106
+ color: var(--brand-color);
107
+ text-transform: uppercase;
108
+ letter-spacing: 0.08em;
109
+ }
110
+
111
+ /* ── Nav links ── */
112
+ .nav-links {
113
+ display: flex;
114
+ align-items: center;
115
+ gap: 2px;
116
+ }
117
+
118
+ .nav-links a {
119
+ font-family: 'Inter', sans-serif;
120
+ font-size: 0.875rem;
121
+ font-weight: 500;
122
+ color: var(--text-muted);
123
+ text-decoration: none;
124
+ padding: 6px 14px;
125
+ border-radius: 8px;
126
+ transition: color .18s ease, background .18s ease;
127
+ white-space: nowrap;
128
+ }
129
+
130
+ .nav-links a:hover {
131
+ color: var(--brand-color);
132
+ background: var(--brand-light);
133
+ }
134
+
135
+ .nav-links a.active {
136
+ color: var(--brand-color);
137
+ background: var(--brand-light);
138
+ font-weight: 600;
139
+ }
140
+
141
+ /* ── CTA button in nav ── */
142
+ .nav-cta {
143
+ font-family: 'Inter', sans-serif;
144
+ font-size: 0.85rem;
145
+ font-weight: 600;
146
+ color: #fff !important;
147
+ background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%) !important;
148
+ padding: 8px 18px !important;
149
+ border-radius: 8px !important;
150
+ box-shadow: 0 2px 8px rgba(124,58,237,.3);
151
+ transition: transform .15s ease, box-shadow .15s ease !important;
152
+ margin-left: 6px;
153
+ }
154
+
155
+ .nav-cta:hover {
156
+ transform: translateY(-1px);
157
+ box-shadow: 0 4px 16px rgba(124,58,237,.4) !important;
158
+ background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%) !important;
159
+ color: #fff !important;
160
+ }
161
+
162
+ /* ── Badge chip ── */
163
+ .nav-badge {
164
+ display: inline-flex;
165
+ align-items: center;
166
+ gap: 4px;
167
+ font-family: 'Inter', sans-serif;
168
+ font-size: 0.7rem;
169
+ font-weight: 700;
170
+ color: #059669;
171
+ background: #D1FAE5;
172
+ padding: 2px 7px;
173
+ border-radius: 99px;
174
+ letter-spacing: 0.04em;
175
+ text-transform: uppercase;
176
+ margin-left: 4px;
177
+ }
178
+
179
+ .nav-badge::before {
180
+ content: '';
181
+ width: 6px;
182
+ height: 6px;
183
+ background: #10B981;
184
+ border-radius: 50%;
185
+ animation: pulse-dot 2s infinite;
186
+ }
187
+
188
+ @keyframes pulse-dot {
189
+ 0%, 100% { opacity: 1; transform: scale(1); }
190
+ 50% { opacity: .6; transform: scale(.85); }
191
+ }
192
+
193
+ /* ── Hamburger (mobile) ── */
194
+ .nav-toggle {
195
+ display: none;
196
+ flex-direction: column;
197
+ gap: 5px;
198
+ background: none;
199
+ border: none;
200
+ cursor: pointer;
201
+ padding: 6px;
202
+ border-radius: 8px;
203
+ transition: background .15s;
204
+ }
205
+
206
+ .nav-toggle:hover { background: var(--brand-light); }
207
+
208
+ .nav-toggle span {
209
+ display: block;
210
+ width: 22px;
211
+ height: 2px;
212
+ background: var(--text-main);
213
+ border-radius: 2px;
214
+ transition: transform .25s ease, opacity .25s ease;
215
+ transform-origin: center;
216
+ }
217
+
218
+ .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
219
+ .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
220
+ .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
221
+
222
+ /* ── Mobile menu ── */
223
+ @media (max-width: 720px) {
224
+ .nav-toggle { display: flex; }
225
+ .brand-tagline { display: none; }
226
+
227
+ .nav-links {
228
+ display: none;
229
+ position: absolute;
230
+ top: var(--nav-h);
231
+ left: 0;
232
+ right: 0;
233
+ flex-direction: column;
234
+ align-items: stretch;
235
+ background: rgba(255,255,255,0.97);
236
+ backdrop-filter: blur(20px);
237
+ border-bottom: 1px solid rgba(124,58,237,.12);
238
+ padding: 12px 16px 20px;
239
+ gap: 4px;
240
+ box-shadow: 0 8px 32px rgba(0,0,0,.1);
241
+ }
242
+
243
+ .nav-links.open { display: flex; }
244
+
245
+ .nav-links a {
246
+ font-size: 0.95rem;
247
+ padding: 10px 16px;
248
+ border-radius: 10px;
249
+ }
250
+
251
+ .nav-cta {
252
+ margin-left: 0 !important;
253
+ text-align: center;
254
+ margin-top: 4px;
255
+ }
256
+
257
+ .nav-badge { display: none; }
258
+ }
259
+
260
+ /* ===== AD SLOT POLISH ===== */
261
+ .ad-slot {
262
+ max-width: 1120px;
263
+ margin: 32px auto;
264
+ padding: 0 24px;
265
+ }
266
+
267
+ .ad-label {
268
+ font-family: 'Inter', sans-serif;
269
+ font-size: 0.7rem;
270
+ font-weight: 600;
271
+ color: #9CA3AF;
272
+ text-transform: uppercase;
273
+ letter-spacing: 0.1em;
274
+ text-align: center;
275
+ margin-bottom: 8px;
276
+ }
277
+
278
+ .ad-inner {
279
+ background: #F9FAFB;
280
+ border: 1px solid #E5E7EB;
281
+ border-radius: var(--radius);
282
+ overflow: hidden;
283
+ min-height: 90px;
284
+ display: flex;
285
+ align-items: center;
286
+ justify-content: center;
287
+ }
288
+ </style>
289
  </head>
290
  <body>
291
 
292
+ <!-- ===================== NAVBAR ===================== -->
293
  <nav class="nav">
294
  <div class="wrap">
295
+
296
+ <!-- Brand -->
297
+ <a href="/" class="brand">
298
+ <div class="brand-icon">
299
+ <!-- Waveform / speaker SVG icon -->
300
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
301
+ <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0 0 14 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>
302
+ </svg>
303
+ </div>
304
+ <div class="brand-text">
305
+ <span class="brand-name">Myanmar Voice Studio</span>
306
+ <span class="brand-tagline">Free TTS Β· Neural Voices</span>
307
+ </div>
308
+ </a>
309
+
310
+ <!-- Desktop nav links -->
311
+ <div class="nav-links" id="navLinks">
312
  <a href="/" class="active">Home</a>
313
  <a href="#tool">Try It</a>
314
  <a href="#how-it-works">How It Works</a>
315
  <a href="#faq">FAQ</a>
316
  <a href="/about">About</a>
317
+ <span class="nav-badge">Free</span>
318
+ <a href="#tool" class="nav-cta">Generate Voice β†’</a>
319
  </div>
320
+
321
+ <!-- Hamburger toggle -->
322
+ <button class="nav-toggle" id="navToggle" aria-label="Toggle menu">
323
+ <span></span>
324
+ <span></span>
325
+ <span></span>
326
+ </button>
327
+
328
  </div>
329
  </nav>
330
 
 
344
  <!-- Top ad slot -->
345
  <div class="ad-slot">
346
  <div class="ad-label">Advertisement</div>
347
+ <div class="ad-inner">
348
+ <ins class="adsbygoogle"
349
+ style="display:block;width:100%"
350
+ data-ad-client="ca-pub-1188893611988786"
351
+ data-ad-slot="1111111111"
352
+ data-ad-format="auto"
353
+ data-full-width-responsive="true"></ins>
354
+ <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
355
+ </div>
356
  </div>
357
 
358
  <div class="wrap" id="tool">
 
505
  </section>
506
 
507
  <!-- In-content ad slot -->
508
+ <div class="ad-slot" style="padding:0">
509
  <div class="ad-label">Advertisement</div>
510
+ <div class="ad-inner">
511
+ <ins class="adsbygoogle"
512
+ style="display:block;width:100%"
513
+ data-ad-client="ca-pub-1188893611988786"
514
+ data-ad-slot="2222222222"
515
+ data-ad-format="auto"
516
+ data-full-width-responsive="true"></ins>
517
+ <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
518
+ </div>
519
  </div>
520
 
521
  <!-- FAQ -->
 
585
  </footer>
586
 
587
  <script src="/app.js"></script>
588
+
589
+ <!-- Hamburger toggle script -->
590
+ <script>
591
+ (function(){
592
+ var btn = document.getElementById('navToggle');
593
+ var menu = document.getElementById('navLinks');
594
+ if(!btn || !menu) return;
595
+ btn.addEventListener('click', function(){
596
+ var open = menu.classList.toggle('open');
597
+ btn.classList.toggle('open', open);
598
+ btn.setAttribute('aria-expanded', open);
599
+ });
600
+ // Close on link click (mobile)
601
+ menu.querySelectorAll('a').forEach(function(a){
602
+ a.addEventListener('click', function(){
603
+ menu.classList.remove('open');
604
+ btn.classList.remove('open');
605
+ });
606
+ });
607
+ })();
608
+ </script>
609
+
610
  </body>
611
  </html>