mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
update founder's edition to 99
This commit is contained in:
parent
d40ce2df43
commit
af12333c82
@ -82,7 +82,8 @@
|
|||||||
`Founder's badge on Discord`,
|
`Founder's badge on Discord`,
|
||||||
`Official PocketHost mug or tee`,
|
`Official PocketHost mug or tee`,
|
||||||
]}
|
]}
|
||||||
limit={100}
|
startLimit={100}
|
||||||
|
limit={99}
|
||||||
upgradable
|
upgradable
|
||||||
prices={[
|
prices={[
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
export let active = false
|
export let active = false
|
||||||
export let features: string[] = []
|
export let features: string[] = []
|
||||||
export let upgradable = false
|
export let upgradable = false
|
||||||
export let limit = -1
|
export let startLimit = 0
|
||||||
|
export let limit = 0
|
||||||
export let prices: { title: string; link: string }[] = []
|
export let prices: { title: string; link: string }[] = []
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -16,9 +17,18 @@
|
|||||||
<h2 class="card-title">
|
<h2 class="card-title">
|
||||||
{name}
|
{name}
|
||||||
</h2>
|
</h2>
|
||||||
{#if limit >= 0}
|
{#if startLimit > 0}
|
||||||
{#if limit > 0}
|
{#if limit > 0}
|
||||||
<div class="text-center text-accent text-2xl">{limit} remaining</div>
|
{#if limit != startLimit}
|
||||||
|
<div class="text-center text-accent text-2xl">
|
||||||
|
<span class="line-through">{startLimit}</span>
|
||||||
|
<span class="text-error">{limit} remaining</span>
|
||||||
|
</div>
|
||||||
|
{:else}
|
||||||
|
<div class="text-center text-accent text-2xl">
|
||||||
|
{limit} remaining
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
<div class="text-center text-error text-2xl">SOLD OUT</div>
|
<div class="text-center text-error text-2xl">SOLD OUT</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user