rosary: only show embers after 14 days, not flame
All checks were successful
CI / update (push) Successful in 1m29s

This commit is contained in:
2026-02-11 20:43:12 +01:00
parent 091c23a0bd
commit 904c5c0df0
2 changed files with 8 additions and 7 deletions

View File

@@ -3,9 +3,10 @@
interface Props { interface Props {
holy?: boolean; holy?: boolean;
burst?: boolean; burst?: boolean;
fire ?: boolean;
} }
let { holy = false, burst = false }: Props = $props(); let { holy = false, burst = false, fire = false}: Props = $props();
const burstParticles = [ const burstParticles = [
{ x: 10, y: 0, size: 8, delay: 0, dur: 1.6 }, { x: 10, y: 0, size: 8, delay: 0, dur: 1.6 },
@@ -52,22 +53,22 @@
{:else} {:else}
<div class="fire" class:holy-fire={holy}> <div class="fire" class:holy-fire={holy}>
<div class="fire-left"> <div class="fire-left">
<div class="main-fire"></div> {#if fire}<div class="main-fire"></div>{/if}
<div class="particle-fire"></div> <div class="particle-fire"></div>
</div> </div>
<div class="fire-center"> <div class="fire-center">
<div class="main-fire"></div> {#if fire}<div class="main-fire"></div>{/if}
<div class="particle-fire"></div> <div class="particle-fire"></div>
</div> </div>
<div class="fire-right"> <div class="fire-right">
<div class="main-fire"></div> {#if fire}<div class="main-fire"></div>{/if}
<div class="particle-fire"></div> <div class="particle-fire"></div>
</div> </div>
<div class="fire-bottom"> <div class="fire-bottom">
<div class="main-fire"></div> {#if fire}<div class="main-fire"></div>{/if}
</div> </div>
</div> </div>
{/if} {/if}

View File

@@ -54,11 +54,11 @@
{#if phase >= 2} {#if phase >= 2}
<FireEffect holy={phase>=4} /> <FireEffect holy={phase>=4} fire={phase>=3}/>
{/if} {/if}
{#if showBurst} {#if showBurst}
<FireEffect holy={phase>=4} burst /> <FireEffect holy={phase>=4} burst fire={phase>=3}/>
{/if} {/if}
<span class="number">{value}</span> <span class="number">{value}</span>