Skip to content

Commit

Permalink
Merge pull request #83 from SylentButDedly/master
Browse files Browse the repository at this point in the history
 Update Calendar Dates
  • Loading branch information
chrisfried authored Apr 29, 2024
2 parents 5d0a4fd + acb4207 commit 3a5c5bd
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 6 deletions.
6 changes: 6 additions & 0 deletions src/app/guardian/guardian.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,12 @@
mask-image: url('../../assets/icons/season-of-the-wish.png');
background-color: inherit;
}

&.into-the-light:before {
-webkit-mask-image: url('../../assets/icons/into-the-light.png');
mask-image: url('../../assets/icons/into-the-light.png');
background-color: inherit;
}
}

@media (prefers-reduced-motion) {
Expand Down
6 changes: 6 additions & 0 deletions src/app/guardian3d/guardian3d.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,12 @@
mask-image: url('../../assets/icons/season-of-the-wish.png');
background-color: inherit;
}

&.into-the-light:before {
-webkit-mask-image: url('../../assets/icons/into-the-light.png');
mask-image: url('../../assets/icons/into-the-light.png');
background-color: inherit;
}
}

@media (prefers-reduced-motion) {
Expand Down
32 changes: 26 additions & 6 deletions src/app/pipes/milestone.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ export class MilestonePipe implements PipeTransform {
return ' | Override: Moon'
case '2021-5-22':
case '2021-05-22':
return ' | Vault of Glass Raid'
return ' | Vault of Glass Reprised Raid'
case '2021-5-25':
case '2021-05-25':
return ' | Override: Tangled Shore | Expunge: Labyrinth'
Expand Down Expand Up @@ -532,7 +532,7 @@ export class MilestonePipe implements PipeTransform {
return ' | Season of Plunder'
case '2022-8-26':
case '2022-08-26':
return " | King's Fall Raid"
return " | King's Fall Reprised Raid"
case '2022-9-6':
case '2022-09-06':
return ' | Iron Banner'
Expand Down Expand Up @@ -601,7 +601,7 @@ export class MilestonePipe implements PipeTransform {
return ' | Season of the Witch'
case '2023-9-1':
case '2023-09-01':
return " | Crota's End Raid"
return " | Crota's End Reprised Raid"
case '2023-9-5':
case '2023-09-05':
case '2023-10-10':
Expand All @@ -626,13 +626,25 @@ export class MilestonePipe implements PipeTransform {
return ' | Iron Banner'
case '2024-1-30':
case '2024-01-30':
return " | Riven's Wishes"
return " | Moments of Triumph | Riven's Wishes"
case '2024-3-5':
case '2024-03-05':
return ' | Guardian Games All-Stars'
case '2024-04-02':
case '2024-4-2':
return ' | Iron Banner'
case '2024-4-9':
case '2024-04-09':
return ' | Into the Light | Hall of Champions | Onslaught | Reprised Exotic Quest: Whisper of the Worm'
case '2024-4-30':
case '2024-04-30':
return ' | Pantheon | Iron Banner'
case '2024-5-14':
case '2024-05-14':
return ' | Reprised Exotic Quest: Outbreak Perfected'
case '2024-6-4':
case '2024-06-04':
return ' | Launch: The Final Shape'
default:
return ''
}
Expand Down Expand Up @@ -670,6 +682,8 @@ export class MilestonePipe implements PipeTransform {
case '2019-07-09':
case '2020-7-7':
case '2020-07-07':
case '2024-1-30':
case '2024-01-30':
return (classes += 'moments-of-triumph')
case '2018-7-31':
case '2018-07-31':
Expand Down Expand Up @@ -721,8 +735,8 @@ export class MilestonePipe implements PipeTransform {
case '2022-05-03':
case '2023-5-2':
case '2023-05-02':
case '2024-3-5':
case '2024-03-05':
case '2024-3-4':
case '2024-03-04':
return (classes += 'guardian-games')
case '2020-6-9':
case '2020-06-09':
Expand Down Expand Up @@ -784,6 +798,7 @@ export class MilestonePipe implements PipeTransform {
case '2024-01-23':
case '2024-04-02':
case '2024-4-2':

return (classes += 'iron-banner')
case '2022-7-19':
case '2022-07-19':
Expand Down Expand Up @@ -811,6 +826,8 @@ export class MilestonePipe implements PipeTransform {
case '2023-03-10':
case '2023-9-1':
case '2023-09-01':
case '2024-4-30':
case '2024-04-30':
return (classes += 'raid')
case '2022-8-23':
case '2022-08-23':
Expand Down Expand Up @@ -877,6 +894,9 @@ export class MilestonePipe implements PipeTransform {
return (classes += 'season-of-the-witch')
case '2023-11-28':
return (classes += 'season-of-the-wish')
case '2024-4-9':
case '2024-04-09':
return (classes += 'into-the-light')
default:
return ''
}
Expand Down
Binary file added src/assets/icons/into-the-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3a5c5bd

Please sign in to comment.