fluxy-bot 0.3.10 → 0.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-fluxy/fluxy.html
CHANGED
|
@@ -10,11 +10,12 @@
|
|
|
10
10
|
<link rel="apple-touch-icon" href="/fluxy_frame1.png" />
|
|
11
11
|
<link rel="manifest" href="/fluxy/manifest.json" />
|
|
12
12
|
<title>Fluxy Chat</title>
|
|
13
|
-
<script type="module" crossorigin src="/fluxy/assets/fluxy-
|
|
13
|
+
<script type="module" crossorigin src="/fluxy/assets/fluxy-DLIL3txd.js"></script>
|
|
14
14
|
<link rel="modulepreload" crossorigin href="/fluxy/assets/globals-rUljfzoe.js">
|
|
15
15
|
<link rel="stylesheet" crossorigin href="/fluxy/assets/globals-BfWXHFxc.css">
|
|
16
16
|
</head>
|
|
17
17
|
<body class="bg-background text-foreground">
|
|
18
18
|
<div id="root"></div>
|
|
19
|
+
<script>if('serviceWorker' in navigator){navigator.serviceWorker.register('/fluxy/sw.js',{scope:'/fluxy/'})}</script>
|
|
19
20
|
</body>
|
|
20
21
|
</html>
|
package/dist-fluxy/sw.js
ADDED
package/package.json
CHANGED
|
@@ -226,10 +226,8 @@ function FluxyApp() {
|
|
|
226
226
|
installPrompt.prompt();
|
|
227
227
|
const result = await installPrompt.userChoice;
|
|
228
228
|
if (result.outcome === 'accepted') setInstallPrompt(null);
|
|
229
|
-
} else if (isIos) {
|
|
230
|
-
setShowIosModal(true);
|
|
231
229
|
} else {
|
|
232
|
-
//
|
|
230
|
+
// iOS or browser that doesn't support beforeinstallprompt — show instructions
|
|
233
231
|
setShowIosModal(true);
|
|
234
232
|
}
|
|
235
233
|
}}
|
|
@@ -285,45 +283,70 @@ function FluxyApp() {
|
|
|
285
283
|
</div>
|
|
286
284
|
<div className="px-5 pb-6 pt-1">
|
|
287
285
|
<p className="text-white/50 text-[13px] mb-5 leading-relaxed">
|
|
288
|
-
|
|
289
|
-
? 'Add Fluxy to your home screen for a full-screen app experience.'
|
|
290
|
-
: 'Install Fluxy as an app on your device.'}
|
|
286
|
+
Add Fluxy to your home screen for a full-screen app experience.
|
|
291
287
|
</p>
|
|
292
|
-
|
|
293
|
-
<div className="
|
|
294
|
-
<
|
|
295
|
-
|
|
296
|
-
<
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
288
|
+
{isIos ? (
|
|
289
|
+
<div className="space-y-3.5">
|
|
290
|
+
<div className="flex items-start gap-3">
|
|
291
|
+
<span className="flex-shrink-0 w-7 h-7 rounded-full bg-[#007AFF]/15 text-[#007AFF] text-[13px] font-semibold flex items-center justify-center mt-0.5">1</span>
|
|
292
|
+
<div className="flex-1">
|
|
293
|
+
<p className="text-white text-[14px] font-medium">
|
|
294
|
+
Tap the Share button
|
|
295
|
+
</p>
|
|
296
|
+
<p className="text-white/40 text-[12px] mt-0.5 flex items-center gap-1.5">
|
|
297
|
+
The <Share className="h-3.5 w-3.5 inline" /> icon at the bottom of Safari
|
|
298
|
+
</p>
|
|
299
|
+
</div>
|
|
302
300
|
</div>
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
</
|
|
301
|
+
<div className="flex items-start gap-3">
|
|
302
|
+
<span className="flex-shrink-0 w-7 h-7 rounded-full bg-[#007AFF]/15 text-[#007AFF] text-[13px] font-semibold flex items-center justify-center mt-0.5">2</span>
|
|
303
|
+
<div className="flex-1">
|
|
304
|
+
<p className="text-white text-[14px] font-medium">
|
|
305
|
+
Scroll down and tap
|
|
306
|
+
</p>
|
|
307
|
+
<p className="text-white/40 text-[12px] mt-0.5">
|
|
308
|
+
"Add to Home Screen"
|
|
309
|
+
</p>
|
|
310
|
+
</div>
|
|
311
|
+
</div>
|
|
312
|
+
<div className="flex items-start gap-3">
|
|
313
|
+
<span className="flex-shrink-0 w-7 h-7 rounded-full bg-[#007AFF]/15 text-[#007AFF] text-[13px] font-semibold flex items-center justify-center mt-0.5">3</span>
|
|
314
|
+
<div className="flex-1">
|
|
315
|
+
<p className="text-white text-[14px] font-medium">
|
|
316
|
+
Tap "Add"
|
|
317
|
+
</p>
|
|
318
|
+
<p className="text-white/40 text-[12px] mt-0.5">
|
|
319
|
+
Fluxy will appear on your home screen
|
|
320
|
+
</p>
|
|
321
|
+
</div>
|
|
313
322
|
</div>
|
|
314
323
|
</div>
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
<div className="flex-
|
|
318
|
-
<
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
+
) : (
|
|
325
|
+
<div className="space-y-3.5">
|
|
326
|
+
<div className="flex items-start gap-3">
|
|
327
|
+
<span className="flex-shrink-0 w-7 h-7 rounded-full bg-[#007AFF]/15 text-[#007AFF] text-[13px] font-semibold flex items-center justify-center mt-0.5">1</span>
|
|
328
|
+
<div className="flex-1">
|
|
329
|
+
<p className="text-white text-[14px] font-medium">
|
|
330
|
+
Open browser menu
|
|
331
|
+
</p>
|
|
332
|
+
<p className="text-white/40 text-[12px] mt-0.5">
|
|
333
|
+
Tap the three-dot menu in your browser
|
|
334
|
+
</p>
|
|
335
|
+
</div>
|
|
336
|
+
</div>
|
|
337
|
+
<div className="flex items-start gap-3">
|
|
338
|
+
<span className="flex-shrink-0 w-7 h-7 rounded-full bg-[#007AFF]/15 text-[#007AFF] text-[13px] font-semibold flex items-center justify-center mt-0.5">2</span>
|
|
339
|
+
<div className="flex-1">
|
|
340
|
+
<p className="text-white text-[14px] font-medium">
|
|
341
|
+
Tap "Install app" or "Add to Home screen"
|
|
342
|
+
</p>
|
|
343
|
+
<p className="text-white/40 text-[12px] mt-0.5">
|
|
344
|
+
Fluxy will be installed as a standalone app
|
|
345
|
+
</p>
|
|
346
|
+
</div>
|
|
324
347
|
</div>
|
|
325
348
|
</div>
|
|
326
|
-
|
|
349
|
+
)}
|
|
327
350
|
<button
|
|
328
351
|
onClick={() => setShowIosModal(false)}
|
|
329
352
|
className="w-full mt-5 py-2.5 bg-white/[0.06] hover:bg-white/[0.1] text-white text-[14px] font-medium rounded-xl transition-colors"
|
|
@@ -14,5 +14,6 @@
|
|
|
14
14
|
<body class="bg-background text-foreground">
|
|
15
15
|
<div id="root"></div>
|
|
16
16
|
<script type="module" src="/fluxy-main.tsx"></script>
|
|
17
|
+
<script>if('serviceWorker' in navigator){navigator.serviceWorker.register('/fluxy/sw.js',{scope:'/fluxy/'})}</script>
|
|
17
18
|
</body>
|
|
18
19
|
</html>
|