From 1c503f36d2b0eaf4aa301347c7e77c7e50726118 Mon Sep 17 00:00:00 2001 From: TheJanzap <16736682+TheJanzap@users.noreply.github.com> Date: Tue, 24 Feb 2026 11:39:58 +0100 Subject: [PATCH 1/3] feat: Change meme image based on current month --- src/views/Home.vue | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index a1bf4be..60800ea 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -122,8 +122,8 @@ A twist on the well known 'this is fine' meme with a dog sitting at the beach with a drink. @@ -173,6 +173,25 @@ export default defineComponent({ addingSemesterIsDisabled() { return this.enrichedSemesters.length >= SemesterInfo.maxNumberOfAllowedSemesters; }, + seasonalImage() { + const currentMonth = new Date().getMonth() + 1; + if (currentMonth >= 6 && currentMonth <= 9) { + return { + src: '/this_is_fine_summer.jpg', + alt: "A twist on the well known 'this is fine' meme with a dog sitting at the beach with a drink." + }; + } + else if (currentMonth >= 12 || currentMonth <= 2) { + return { + src: '/this_is_fine_winter.jpg', + alt: "Alternative version of the well known 'this is fine' meme with a dog in a room full of snow." + }; + } + return { + src: '/this_is_fine.jpg', + alt: "The well known 'this is fine' meme with a dog in a room full of fire." + } + } }, watch: { $route: { From f2f9783a0c6fc4e35e99de74806d017f5e0b367d Mon Sep 17 00:00:00 2001 From: Jeremy Stucki Date: Tue, 24 Feb 2026 15:56:59 +0100 Subject: [PATCH 2/3] Update src/views/Home.vue Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/views/Home.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index 60800ea..8b3c916 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -180,8 +180,7 @@ export default defineComponent({ src: '/this_is_fine_summer.jpg', alt: "A twist on the well known 'this is fine' meme with a dog sitting at the beach with a drink." }; - } - else if (currentMonth >= 12 || currentMonth <= 2) { + } else if (currentMonth >= 12 || currentMonth <= 2) { return { src: '/this_is_fine_winter.jpg', alt: "Alternative version of the well known 'this is fine' meme with a dog in a room full of snow." From e5c9721e75754fda5b6ad3b7707c0a380d326f97 Mon Sep 17 00:00:00 2001 From: Jeremy Stucki Date: Tue, 24 Feb 2026 15:57:07 +0100 Subject: [PATCH 3/3] Update src/views/Home.vue Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/views/Home.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index 8b3c916..5769096 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -189,7 +189,7 @@ export default defineComponent({ return { src: '/this_is_fine.jpg', alt: "The well known 'this is fine' meme with a dog in a room full of fire." - } + }; } }, watch: {