mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
feat: add candle to ignite envelope
This commit is contained in:
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>
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user