-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
339 lines (305 loc) · 10 KB
/
index.html
File metadata and controls
339 lines (305 loc) · 10 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
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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Kumaflow brings Webflow UI localization to Japanese, Traditional & Simplified Chinese, Korean, Thai, French, and Italian so you can design in your language." />
<meta name="keywords" content="Webflow localization, Webflow translation, Kumaflow, Webflow Japanese, Webflow Chinese, Webflow Korean, Webflow Thai, Webflow French, Webflow Italian, Webflow extension" />
<meta property="og:title" content="Kumaflow - Webflow UI Localization" />
<meta property="og:description" content="Translate the Webflow Dashboard and Designer into Japanese, Chinese, Korean, Thai, French, and Italian with Kumaflow." />
<meta property="og:image" content="https://webflow-ui-localization.pages.dev/web/images/kuma-keyart.avif" />
<meta property="og:url" content="https://github.com/SPACESODA/Kumaflow" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Kumaflow - Webflow UI Localization" />
<meta name="twitter:description" content="Translate the Webflow Dashboard and Designer into Japanese, Chinese, Korean, Thai, French, and Italian with Kumaflow." />
<meta name="twitter:image" content="https://webflow-ui-localization.pages.dev/web/images/kuma-keyart.avif" />
<meta name="twitter:url" content="https://github.com/SPACESODA/Kumaflow" />
<title>Kumaflow - Webflow UI Localization</title>
<link rel="icon" type="image/png" href="src/images/icon-48.png" />
<style>
/* Reset and Base */
body,
html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background-color: #eecf34;
/* Brand Yellow */
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif;
display: flex;
flex-direction: column;
overflow-x: hidden;
}
/* Layout */
.main-content {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.container {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 800px;
text-align: center;
}
/* Visual Elements */
.kuma {
width: 600px;
max-width: 85vw;
height: auto;
animation: float 6s ease-in-out infinite;
z-index: 1;
}
.logo {
width: 600px;
max-width: 90vw;
height: auto;
margin-top: -190px;
z-index: 2;
animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.subtitle {
margin-top: 10px;
color: #ffffff;
font-size: 1.5rem;
font-weight: 600;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
letter-spacing: 0.5px;
z-index: 2;
opacity: 0;
animation: fadeIn 1s ease-out 0.5s forwards;
}
/* Intro & Actions */
.content {
margin-top: 30px;
z-index: 2;
opacity: 0;
animation: fadeIn 1s ease-out 0.8s forwards;
max-width: 720px;
}
.intro {
font-size: 1.25rem;
color: #333;
line-height: 1.5;
margin-bottom: 30px;
font-weight: 500;
transition: opacity 0.5s ease-in-out;
}
.intro.fade-out {
opacity: 0;
}
.btn-install {
display: inline-block;
background-color: #000;
color: #fff;
padding: 16px 32px;
font-size: 1.2rem;
font-weight: 700;
text-decoration: none;
border-radius: 50px;
transition:
transform 0.2s,
box-shadow 0.2s;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
margin-bottom: 24px;
}
.btn-install:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.secondary-actions {
font-size: 1rem;
font-weight: 500;
}
.secondary-actions a {
color: rgba(0, 0, 0, 0.7);
text-decoration: none;
margin: 0 10px;
transition: color 0.2s;
}
.secondary-actions a:hover {
color: #000;
text-decoration: underline;
}
/* Footer */
.footer {
padding: 30px 20px;
text-align: center;
font-size: 0.85rem;
color: rgba(0, 0, 0, 0.6);
background: linear-gradient(to top,
rgba(238, 207, 52, 1) 0%,
rgba(238, 207, 52, 0) 100%);
}
.footer p {
margin: 6px 0;
}
.footer a {
color: inherit;
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 2px;
}
.footer a:hover {
color: #000;
}
.disclaimer-group {
margin-top: 30px;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.disclaimer {
font-size: 0.75rem;
opacity: 0.7;
margin: 4px 0;
}
/* Animations */
@keyframes float {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-15px);
}
}
@keyframes popIn {
0% {
transform: scale(0.5);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 1;
}
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive */
@media (max-width: 600px) {
.kuma {
width: 300px;
}
.logo {
width: 90vw;
margin-top: -100px;
}
.subtitle {
font-size: 1.2rem;
}
.intro {
font-size: 1.1rem;
padding: 0 20px;
}
.secondary-actions {
display: flex;
flex-direction: column;
gap: 10px;
}
}
</style>
</head>
<body>
<main class="main-content">
<div class="container">
<!-- Visuals -->
<img src="web/images/kuma-keyart.avif" alt="Kuma is coming!" class="kuma" />
<img src="web/images/KUMAFLOW.avif" alt="Kumaflow logo" class="logo" />
<div class="subtitle">Webflow UI Localization</div>
<!-- Content Area -->
<div class="content">
<p class="intro" id="intro-text">
Experience Webflow in your language!<br />
Kumaflow now translates the Webflow Dashboard and Designer UI into Japanese, Traditional & Simplified Chinese, Korean, Thai, French, and Italian.
</p>
<a href="https://github.com/SPACESODA/Kumaflow?tab=readme-ov-file#installation" target="_blank" rel="noreferrer noopener" class="btn-install" aria-label="Install Extension (opens in new tab)">
Install Extension
</a>
<div class="secondary-actions">
<a href="https://poeditor.com/join/project/7drFUDh3dh" target="_blank" rel="noreferrer noopener">Join translations, Kuma wants you!</a>
<a href="https://github.com/SPACESODA/Kumaflow" target="_blank" rel="noreferrer noopener">Star on GitHub</a>
</div>
</div>
</div>
</main>
<footer class="footer">
<p data-nosnippet>
Made with ♥ by <a href="https://x.com/anthonycxc" target="_blank" rel="noreferrer noopener nofollow">Anthony C</a>
</p>
<div class="disclaimer-group">
<p class="disclaimer">
This extension provides unofficial translations that may not be accurate.
</p>
<p class="disclaimer">
This extension is an independent project and is not affiliated with or endorsed by Webflow. Webflow is a trademark of Webflow, Inc.
</p>
<p class="disclaimer">
This extension does not collect, store, or transmit any personal information or usage data.
</p>
</div>
</footer>
<script>
const translations = [
{
head: "日本語で Webflow を体験しましょう!",
desc: "Kumaflow は Webflow の ダッシュボード と Designer を日本語、繁.簡体字中国語、韓国語、フランス語、タイ語に翻訳します。"
},
{
head: "用中文体验 Webflow!",
desc: "Kumaflow 能将 Webflow 仪表板和 Designer 翻译为日语、简体与繁体与中文、韩语、法语和泰语。"
},
{
head: "用中文體驗 Webflow!",
desc: "Kumaflow 能將 Webflow 儀表板和 Designer 翻譯為日語、繁體與簡體中文、韓語、法語和泰語。"
},
{
head: "한국어로 Webflow를 경험해 보세요!",
desc: "Kumaflow는 Webflow 대시보드와 디자이너 인터페이스를 일본어, 중국어(번체/간체), 한국어, 프랑스어, 태국어로 번역합니다."
},
{
head: "สัมผัสประสบการณ์ Webflow เป็นภาษาไทย!",
desc: "Kumaflow แปลแดชบอร์ดและอินเทอร์เฟซ Designer ของ Webflow เป็นภาษาญี่ปุ่น จีน (ตัวเต็มและตัวย่อ) เกาหลี ฝรั่งเศส และไทย"
},
{
head: "Découvrez Webflow en français !",
desc: "Kumaflow traduit le tableau de bord et l'interface Designer de Webflow en japonais, chinois traditionnel et simplifié, coréen, français et thaï."
},
{
head: "Prova Webflow in italiano!",
desc: "Kumaflow traduce la Dashboard e l'interfaccia Designer di Webflow in giapponese, cinese tradizionale e semplificato, coreano, tailandese, francese e italiano."
}
];
let currentIndex = -1;
const introText = document.getElementById('intro-text');
function rotateText() {
introText.classList.add('fade-out');
setTimeout(() => {
currentIndex = (currentIndex + 1) % translations.length;
const { head, desc } = translations[currentIndex];
introText.innerHTML = `${head}<br />${desc}`;
introText.classList.remove('fade-out');
}, 500); // Waits for fade-out to finish
}
// Start rotation loop
setInterval(rotateText, 5000);
</script>
</body>
</html>