Skip to content

Commit

Permalink
Merge pull request #86 from SylentButDedly/master
Browse files Browse the repository at this point in the history
Update Calendar Dates
  • Loading branch information
chrisfried authored Oct 1, 2024
2 parents d760da0 + de7c339 commit 3e90f3e
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/app/guardian/guardian.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,12 @@
mask-image: url('../../assets/icons/episode-echoes.png');
background-color: inherit;
}

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

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

@media (prefers-reduced-motion) {
Expand Down
19 changes: 18 additions & 1 deletion src/app/pipes/milestone.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,19 @@ export class MilestonePipe implements PipeTransform {
return ' | Solstice'
case '2024-8-27':
case '2024-08-27':
return ' | Episode: Echoes - Act III'
return ' | Episode: Echoes - Act III | Exotic Quest: Choir of One'
case '2024-9-9':
case '2024-09-09':
return ' | Destiny 10 Year Anniversary'
case '2024-9-10':
case '2024-09-10':
return ' | Iron Banner'
case '2024-8-8':
case '2024-08-08':
return ' | Episode: Revenant - Act I'
case '2024-8-11':
case '2024-08-11':
return ' | [REDACTED] Dungeon'
default:
return ''
}
Expand Down Expand Up @@ -911,6 +923,8 @@ 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':
return (classes += 'dungeon')
case '2022-12-6':
case '2022-12-06':
Expand Down Expand Up @@ -978,6 +992,9 @@ export class MilestonePipe implements PipeTransform {
case '2024-8-27':
case '2024-08-27':
return (classes += 'episode-echoes')
case '2024-9-9':
case '2024-09-09':
return (classes += '10-year-anniversary')
case '2017-10-10':
case '2018-01-30':
case '2018-1-30':
Expand Down
Binary file added src/assets/icons/10-year-anniversary.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 3e90f3e

Please sign in to comment.