feat: add candle to ignite envelope

This commit is contained in:
ramvignesh-b
2026-04-28 23:09:25 +05:30
parent faee0b45d6
commit 35e8d6761e
2 changed files with 15 additions and 9 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

@@ -1,5 +1,6 @@
import { WavesIcon } from "@phosphor-icons/react";
import { useEffect, useRef, useState } from "react";
import candle from "../../assets/envelope/candle.png";
import stamp from "../../assets/envelope/stamp.png";
import waxSeal from "../../assets/envelope/waxSeal.png";
@@ -133,6 +134,7 @@ export function EnvelopeReveal({
</button>
</div>
{ignite && (
<>
<div className="absolute w-115 h-70 z-100 overflow-hidden flex align-baseline -translate-y-70 -translate-x-5">
<div
className="absolute z-1000 border-2 border-amber-200 -bottom-3 -right-3 w-0 h-0 transition-all duration-500 bg-base-100 rounded-tl-full rounded-bl-full origin-bottom-right"
@@ -142,6 +144,10 @@ export function EnvelopeReveal({
}}
></div>
</div>
<div className="absolute z-1001 bottom-0 right-0 translate-x-15 translate-y-20">
<img src={candle} alt="candle" />
</div>
</>
)}
</>
);