mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
dashbaord: update pricing countdown and banner
This commit is contained in:
parent
c002dc55b8
commit
a6719e8864
@ -107,14 +107,8 @@
|
||||
<div
|
||||
class="w-full animate-text bg-gradient-to-r from-teal-500 via-purple-500 to-orange-500 bg-clip-text text-transparent text-xl font-black"
|
||||
>
|
||||
<div class="w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700">
|
||||
<div
|
||||
class="bg-blue-600 h-2.5 rounded-full"
|
||||
style="width: {(qtySold / qtyMax) * 100}%;"
|
||||
></div>
|
||||
</div>
|
||||
<div>
|
||||
{qtySold}/{qtyMax} Sold
|
||||
{qtyRemaining} remaining
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
@ -35,7 +35,7 @@
|
||||
// Default when the avatar is not found
|
||||
// There's one on /images/logo-square.png
|
||||
console.error(err)
|
||||
avatar.set(`/images/logo-square.png`)
|
||||
avatar.set(`/logo.png`)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
</script>
|
||||
|
||||
<div class="alert alert-info">
|
||||
<div class="alert alert-info bg-yellow-300 rounded-none">
|
||||
<div class="text-info-content">
|
||||
This promo banner will go away after Dec 2. Please spread the word and help
|
||||
close the Flouder's round.
|
||||
|
Loading…
x
Reference in New Issue
Block a user