
diff --git a/src/app/shared/components/wednesday-frog/wednesday-frog.component.ts b/src/app/shared/components/wednesday-frog/wednesday-frog.component.ts
index 148558d5..5c206209 100644
--- a/src/app/shared/components/wednesday-frog/wednesday-frog.component.ts
+++ b/src/app/shared/components/wednesday-frog/wednesday-frog.component.ts
@@ -6,21 +6,33 @@ import { Component } from "@angular/core";
styleUrls: ["./wednesday-frog.component.scss"],
})
export class WednesdayFrogComponent {
+
+ readonly frogs = [
+ "https://techinterview.fra1.cdn.digitaloceanspaces.com/images/wednesday-frogs/wednesday_frog_gentelmen.jpeg",
+ "https://techinterview.fra1.cdn.digitaloceanspaces.com/images/wednesday-frogs/wednesday_todo.jpg",
+ "https://techinterview.fra1.cdn.digitaloceanspaces.com/images/wednesday-frogs/wednesday_2.jpg",
+ "https://techinterview.fra1.cdn.digitaloceanspaces.com/images/wednesday-frogs/wednesday_3.jpg",
+ "https://techinterview.fra1.cdn.digitaloceanspaces.com/images/wednesday-frogs/wednesday_4.jpg",
+ "https://techinterview.fra1.cdn.digitaloceanspaces.com/images/wednesday-frogs/wednesday_5.jpg",
+ ];
+
readonly littleFrogLink =
"https://techinterview.fra1.cdn.digitaloceanspaces.com/images/frog_600.png";
readonly bigFrogLink =
"https://techinterview.fra1.cdn.digitaloceanspaces.com/images/frog.png";
readonly showFrog;
+ frogToBeShown: string | null = null;
showModal = false;
constructor() {
const today = new Date();
- this.showFrog = today.getDay() === 3;
+ this.showFrog = today.getDay() === 1;
}
openModal() {
+ this.frogToBeShown = this.frogs[Math.floor(Math.random() * this.frogs.length)];
this.showModal = true;
}