We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db6e1bf commit 8079f8bCopy full SHA for 8079f8b
src/components/dashboard/WelcomeBanner.jsx
@@ -9,6 +9,9 @@ function WelcomeBanner() {
9
10
const EasterEggClick = async () => {
11
const newClick = Click + 1;
12
+ const website = ["https://quizeeasteregg.vercel.app/","http://beautyinchaos.com/"]
13
+ const randomIndex = Math.floor(Math.random() * 2);
14
+
15
setClick(newClick);
16
console.log(newClick);
17
if (newClick === 3) {
@@ -40,7 +43,7 @@ const EasterEggClick = async () => {
40
43
41
44
});
42
45
await delay(5500);
- window.location.replace('https://quizeeasteregg.vercel.app/');
46
+ window.location.replace(website[randomIndex]);
47
}
48
49
0 commit comments