+
+
+ ☥
+
+
+ ☥
+
+
+ ☥
+
+
+ ☥
+
-
- {LOCK_SLOTS.map((slot, index) => (
-
- ))}
-
+
- {showError && (
-
- Incorrect Code!
-
- )}
-
-
-
- {phase === 'celebrating' && (
-
-
-
+
+ {LOCK_SLOTS.map((slot, index) => (
+
+ ))}
- )}
+
+ {showError && (
+
+ That code didn't open the door — check your answers and try again!
+
+ )}
+
+
+
+ {isCelebrating && (
+
+ The door is opening!
+
+ )}
+
);
}
diff --git a/src/index.css b/src/index.css
index 3430221..2406f44 100644
--- a/src/index.css
+++ b/src/index.css
@@ -12,10 +12,15 @@ body,
}
body {
- font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
+ font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
line-height: 1.5;
- color: #f3f4f6;
- background: #111827;
+ color: #f4e4bc;
+ background-color: #1a1510;
+ background-image:
+ radial-gradient(ellipse 80% 50% at 15% 20%, rgba(201, 162, 39, 0.07) 0%, transparent 55%),
+ radial-gradient(ellipse 60% 40% at 85% 75%, rgba(201, 162, 39, 0.05) 0%, transparent 50%),
+ radial-gradient(circle at 50% 0%, rgba(61, 52, 40, 0.6) 0%, transparent 45%),
+ linear-gradient(165deg, #1a1510 0%, #2a2218 42%, #1c1814 100%);
-webkit-font-smoothing: antialiased;
}
@@ -24,4 +29,5 @@ body {
justify-content: center;
align-items: flex-start;
min-height: 100dvh;
+ padding: 1rem 0 2rem;
}