Skip to content

Commit 0e39e50

Browse files
committed
replace owl icon + some adjustments for happy guess
1 parent 70800f1 commit 0e39e50

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/public/owl.png

-311 Bytes
Loading

client/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function MyConfetti( { confetti } ) {
1515
</>
1616

1717
return <>
18-
<Confetti key={ confetti } width={ width } height={ height } gravity="0.4" numberOfPieces="100" />
18+
<Confetti key={ confetti } width={ width } height={ height } gravity="0.5" numberOfPieces="300" />
1919
</>
2020
}
2121

@@ -50,7 +50,7 @@ function Word( { attempt, success, revealed } ) {
5050
}
5151

5252
function Logo( { success } ) {
53-
const animation = success ? "animate__animated animate__shakeY" : "animate__animated animate__fadeIn";
53+
const animation = success ? "animate__animated animate__shakeY" : "animate__animated animate__tada";
5454

5555
return <>
5656
<div id="logo">
@@ -185,7 +185,7 @@ function App() {
185185
if (!success) setScore(score + 100);
186186

187187
setConfetti(true);
188-
setTimeout(() => { setConfetti(false); }, 5000);
188+
setTimeout(() => { setConfetti(false); }, 4000);
189189
setSuccess(true);
190190
}
191191
}

0 commit comments

Comments
 (0)