dashbaord: update pricing countdown and banner

This commit is contained in:
Ben Allfree 2024-11-13 10:52:20 -08:00
parent c002dc55b8
commit a6719e8864
3 changed files with 3 additions and 9 deletions

View File

@ -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}

View File

@ -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`)
})
}
}

View File

@ -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.