Skip to content

Commit 8079f8b

Browse files
committed
easter egg update
1 parent db6e1bf commit 8079f8b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/dashboard/WelcomeBanner.jsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ function WelcomeBanner() {
99

1010
const EasterEggClick = async () => {
1111
const newClick = Click + 1;
12+
const website = ["https://quizeeasteregg.vercel.app/","http://beautyinchaos.com/"]
13+
const randomIndex = Math.floor(Math.random() * 2);
14+
1215
setClick(newClick);
1316
console.log(newClick);
1417
if (newClick === 3) {
@@ -40,7 +43,7 @@ const EasterEggClick = async () => {
4043

4144
});
4245
await delay(5500);
43-
window.location.replace('https://quizeeasteregg.vercel.app/');
46+
window.location.replace(website[randomIndex]);
4447
}
4548
}
4649

0 commit comments

Comments
 (0)