From 05c16147eed64d3d8dde9641369fd6af016ff9c6 Mon Sep 17 00:00:00 2001 From: josh Date: Tue, 26 May 2026 23:02:37 +1000 Subject: [PATCH] Added Notifications --- resources/css/app.css | 2 +- .../FlightsGoneBy/AchievementCard.vue | 16 +- .../FlightsGoneBy/AircraftToolTip.vue | 9 +- .../FlightsGoneBy/BoardingPasses.vue | 2 +- .../{ => BoardingPasses}/BoardingPass.vue | 134 +---------- .../BoardingPasses/BoardingPassEndpoint.vue | 56 +++++ .../BoardingPasses/BoardingPassStat.vue | 30 +++ .../FlightsGoneBy/DayDifference.vue | 26 +++ .../FlightsGoneBy/DepartureBoard.vue | 219 +----------------- .../FlightsGoneBy/DepartureBoardTableRow.vue | 214 +++++++++++++++++ .../Feed/FlightBookedFeedItem.vue | 2 +- .../Feed/FlightCancelledFeedItem.vue | 2 +- .../Feed/FlightImportedFeedItem.vue | 2 +- .../Feed/FlightMovedFeedItem.vue | 2 +- .../Components/FlightsGoneBy/LiveryImage.vue | 22 ++ .../js/Components/FlightsGoneBy/Mono.vue | 62 +++++ .../FlightsGoneBy/Panels/AircraftPanel.vue | 10 +- resources/js/Pages/UserFlight.vue | 2 +- resources/js/Types/types.d.ts | 6 +- 19 files changed, 455 insertions(+), 363 deletions(-) rename resources/js/Components/FlightsGoneBy/{ => BoardingPasses}/BoardingPass.vue (50%) create mode 100644 resources/js/Components/FlightsGoneBy/BoardingPasses/BoardingPassEndpoint.vue create mode 100644 resources/js/Components/FlightsGoneBy/BoardingPasses/BoardingPassStat.vue create mode 100644 resources/js/Components/FlightsGoneBy/DayDifference.vue create mode 100644 resources/js/Components/FlightsGoneBy/DepartureBoardTableRow.vue create mode 100644 resources/js/Components/FlightsGoneBy/LiveryImage.vue create mode 100644 resources/js/Components/FlightsGoneBy/Mono.vue diff --git a/resources/css/app.css b/resources/css/app.css index f7e46df..bf8caf5 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -239,7 +239,7 @@ body { color: #df8fdf; } -.difficulty-near-impossible-global { +.difficulty-near_impossible-global { background: rgba(160, 20, 20, 0.25); border: 1px solid rgba(220, 60, 60, 0.3); color: #e87070; diff --git a/resources/js/Components/FlightsGoneBy/AchievementCard.vue b/resources/js/Components/FlightsGoneBy/AchievementCard.vue index 6c7a379..e6eccf3 100644 --- a/resources/js/Components/FlightsGoneBy/AchievementCard.vue +++ b/resources/js/Components/FlightsGoneBy/AchievementCard.vue @@ -42,18 +42,6 @@ const unlocked = computed(() => { return true }) -const difficultyVariant = computed(() => { - switch (props.achievement.difficulty?.internal_name) { - case 'easy': return 'easy' - case 'moderate': return 'moderate' - case 'hard': return 'hard' - case 'expensive': return 'expensive' - case 'near_impossible': return 'near-impossible' - case 'impossible': return 'impossible' - default: return 'economy' - } -}) -