Update download method
All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 18s
All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 18s
This commit is contained in:
parent
08578eef0b
commit
5bcbfc70ec
5 changed files with 31 additions and 28 deletions
|
@ -52,12 +52,16 @@
|
|||
</script>
|
||||
|
||||
{#if visible}
|
||||
<div class="fixed inset-0 z-50 flex items-center justify-center bg-black/80 backdrop-blur-sm font-mono">
|
||||
<div class="w-[90%] max-w-sm rounded-2xl border border-green-400 bg-[#000f00] p-6 text-green-300 shadow-2xl text-sm">
|
||||
<div
|
||||
class="fixed inset-0 z-50 flex items-center justify-center bg-black/80 font-mono backdrop-blur-sm"
|
||||
>
|
||||
<div
|
||||
class="w-[90%] max-w-sm rounded-2xl border border-green-400 bg-[#000f00] p-6 text-sm text-green-300 shadow-2xl"
|
||||
>
|
||||
<p class="mb-2 text-center text-cyan-300">
|
||||
Downloading <span class="text-green-400 font-semibold">{filename}</span>
|
||||
Downloading <span class="font-semibold text-green-400">{filename}</span>
|
||||
</p>
|
||||
<div class="w-full h-4 rounded-md bg-black border border-green-500 overflow-hidden">
|
||||
<div class="h-4 w-full overflow-hidden rounded-md border border-green-500 bg-black">
|
||||
<div
|
||||
class="h-full bg-gradient-to-r from-green-400 to-green-600 transition-all duration-300"
|
||||
style="width: {progress}%"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue