Skip to content

Commit

Permalink
Merge pull request #87 from SylentButDedly/master
Browse files Browse the repository at this point in the history
Update Calendar Dates
  • Loading branch information
chrisfried authored Oct 28, 2024
2 parents 3e90f3e + e5b03a4 commit 1f826e0
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 7 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 @@ -298,6 +298,12 @@
mask-image: url('../../assets/icons/10-year-anniversary.png');
background-color: inherit;
}

&.episode-revenant:before {
-webkit-mask-image: url('../../assets/icons/episode-revenant.png');
mask-image: url('../../assets/icons/episode-revenant.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 @@ -298,6 +298,12 @@
mask-image: url('../../assets/icons/10-year-anniversary.png');
background-color: inherit;
}

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

@media (prefers-reduced-motion) {
Expand Down
6 changes: 6 additions & 0 deletions src/app/guardian3d/guardian3d.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ export class Guardian3DComponent implements OnInit, OnDestroy {
year: [],
}
this.seasons = [
{
number: 25,
name: 'Episode: Revenant',
days: [],
startDate: new Date('2024-10-08'),
},
{
number: 24,
name: 'Episode: Echoes',
Expand Down
30 changes: 23 additions & 7 deletions src/app/pipes/milestone.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,9 @@ export class MilestonePipe implements PipeTransform {
case '2023-9-5':
case '2023-09-05':
case '2023-10-10':
return ' | Iron Banner'
case '2023-10-17':
return ' | Festival of the Lost'
case '2023-11-14':
return ' | Iron Banner'
case '2023-11-28':
Expand Down Expand Up @@ -753,12 +756,18 @@ export class MilestonePipe implements PipeTransform {
case '2024-9-10':
case '2024-09-10':
return ' | Iron Banner'
case '2024-8-8':
case '2024-08-08':
case '2024-10-8':
case '2024-10-08':
return ' | Episode: Revenant - Act I'
case '2024-8-11':
case '2024-08-11':
return ' | [REDACTED] Dungeon'
case '2024-10-11':
return ' | Vesper\'s Host Dungeon'
case '2024-10-28':
return ' | Festival of the Lost'
case '2024-11-19':
return ' | Episode: Revenant - Act II'
case '2024-1-7':
case '2024-01-07':
return ' | Episode: Revenant - Act III'
default:
return ''
}
Expand Down Expand Up @@ -817,6 +826,8 @@ export class MilestonePipe implements PipeTransform {
case '2020-10-06':
case '2021-10-12':
case '2022-10-18':
case '2023-10-17':
case '2024-10-29':
return (classes += 'festival-of-the-lost')
case '2018-12-4':
case '2018-12-04':
Expand Down Expand Up @@ -923,8 +934,7 @@ export class MilestonePipe implements PipeTransform {
case '2023-05-26':
case '2023-12-1':
case '2023-12-01':
case '2024-8-11':
case '2024-08-11':
case '2024-10-11':
return (classes += 'dungeon')
case '2022-12-6':
case '2022-12-06':
Expand Down Expand Up @@ -1106,6 +1116,12 @@ export class MilestonePipe implements PipeTransform {
case '2024-7-2':
case '2024-07-02':
return (classes += 'iron-banner')
case '2024-10-8':
case '2024-10-08':
case '2024-11-19':
case '2024-1-7':
case '2024-01-07':
return (classes += 'episode-revenant')
default:
return ''
}
Expand Down
Binary file added src/assets/icons/episode-revenant.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 1f826e0

Please sign in to comment.