diff --git a/servers/demo/src/routes/+page.svelte b/servers/demo/src/routes/+page.svelte index 0ba96a6..3d4a0bd 100644 --- a/servers/demo/src/routes/+page.svelte +++ b/servers/demo/src/routes/+page.svelte @@ -64,5 +64,10 @@ title="Customized default UI" description="See how you can tailor Flottform's default UI to better match your design, while still retaining all the powerful features of the original interface. This demo lets you explore how easy it is to adapt the default elements to fit seamlessly with your brand's style." /> + diff --git a/servers/demo/src/routes/remote-file-drop/+page.svelte b/servers/demo/src/routes/remote-file-drop/+page.svelte new file mode 100644 index 0000000..2bdfef2 --- /dev/null +++ b/servers/demo/src/routes/remote-file-drop/+page.svelte @@ -0,0 +1,172 @@ + + + + Flottform DEMO + + +
+
+

Remote File Drop

+ +
+ {#if connectionStatus === 'new'} +
+

Start a new connection to receive files

+ +
+ {/if} + + {#if connectionStatus === 'endpoint-created'} +
+
+ QR Code +
+

+ Scan the QR code or use the link below to connect your device +

+
+ {connectionInfo.link} + +
+
+ {/if} + + {#if connectionStatus === 'connected'} +

Connected and Waiting to Receive file(s)

+ {/if} + + {#if connectionStatus === 'progress'} +

Receiving: {progress.currentFileName}

+ +
+
+
+

+ {progress.currentFileNumber} of {progress.totalNumberOfFiles} files +

+ {/if} + + {#if connectionStatus === 'done'} +
+
+

All files received successfully!

+ +
+ {/if} + + {#if connectionStatus === 'error'} +
+

+ File Transfer Failed with the following error: {error} +

+ +
+ {/if} +
+
+