From 048e03bcadc1b03b6596968d600c53c20631732a Mon Sep 17 00:00:00 2001 From: Conor Sheehan Date: Thu, 29 Feb 2024 00:03:26 +0000 Subject: [PATCH] Netlify cloudflare pages migration (#14) * add warnings for netlify -> cloudflare pages migration * lint * fix check --- README.md | 4 ++-- src/App.vue | 20 +++++++++++++------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3ad7712..c621d7d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Beach Litríochta [![Build Status](https://github.com/ConorSheehan1/beach-litriochta/workflows/ci/badge.svg)](https://github.com/ConorSheehan1/beach-litriochta/actions/) -[![Netlify Status](https://api.netlify.com/api/v1/badges/4993f6ee-baeb-47bf-9e4e-69e5814aadc5/deploy-status)](https://app.netlify.com/sites/beach-litriochta/deploys) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) _Leagan Gaeilge ar an gcluiche Spelling Bee ón New York Times._ @@ -12,8 +11,9 @@ New challenge every day. Create words using letters from the hive. ## Links +https://beach-litriochta.pages.dev ~~https://beacha.ie~~ -https://beach-litriochta.netlify.app +~~https://beach-litriochta.netlify.app~~ | | | | ------------------------------------------------ | ---------------------------------------------------- | diff --git a/src/App.vue b/src/App.vue index e9b2691..15738bb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -33,10 +33,11 @@ const showGameWonModal = computed( () => store.getProgressPercentage === 100 && gameWonModalShown.value === false ); -// TODO: remove after beacha.ie eol let showMigrationModal = ref(false); const checkUrl = () => { - showMigrationModal.value = window.location.href.includes("beacha.ie"); + showMigrationModal.value = window.location.href.includes( + "beach-litriochta.netlify.app" + ); }; const onOpenCorrectGuesses = () => { @@ -62,23 +63,28 @@ store.startGame({ allAnswers });