Skip to content

Commit 2ec7376

Browse files
committed
bring confetti
1 parent 0e8aaa3 commit 2ec7376

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/app/PuzzleClient.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,6 @@ export default function PuzzleClient() {
455455
{isWon && (
456456
<>
457457
<Confetti
458-
// Just let it fill parent
459458
style={{
460459
position: "fixed",
461460
top: 0,
@@ -464,9 +463,9 @@ export default function PuzzleClient() {
464463
height: "100vh",
465464
}}
466465
/>
467-
<div className="absolute top-0 left-0 w-full h-full bg-black bg-opacity-50 z-50 flex flex-col items-center justify-center text-center">
468-
<h1 className="text-4xl text-white mb-4">OMG you solved it!</h1>
469-
</div>
466+
<h1 className="text-6xl text-white mb-4 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-50 text-stroke-3 text-stroke-black font-handwritten">
467+
OMG you solved it!
468+
</h1>
470469
</>
471470
)}
472471

0 commit comments

Comments
 (0)