Skip to content

Commit

Permalink
Revert "feat(banner): Added the Open Collective banner in the dash th…
Browse files Browse the repository at this point in the history
…at switches randomly [FreezingMoon#2438]"
  • Loading branch information
DreadKnight authored Aug 14, 2023
1 parent 6243c0b commit 150ad3b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 23 deletions.
5 changes: 0 additions & 5 deletions src/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -598,11 +598,6 @@
<div id="materialize_button">
<p></p>
</div>
<div id="opencollective_banner">
<object type="image/svg+xml"
data="https://opencollective.com/ancientbeast/tiers/sponsor.svg?avatarHeight=61&width=800&limit=10">
</object>
</div>
</div>
</div>
<div id="creaturerasterwrapper">
Expand Down
9 changes: 0 additions & 9 deletions src/style/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -845,15 +845,6 @@ div.section.info {
animation: glowingtext 750ms infinite alternate;
}

#opencollective_banner > object {
background-color: rgba(0, 0, 0, 0.7);
border: 4px ridge;
border-color: grey;
border-radius: 35px;
width: 800px;
height: 70px;
}

.buff {
color: green;
}
Expand Down
9 changes: 0 additions & 9 deletions src/ui/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -1108,15 +1108,6 @@ export class UI {
$j('#materialize_button p').text(game.msg.ui.dash.heavyDev);
$j('#materialize_button').show();
$j('#card .sideA').addClass('disabled').off('click');

// OpenCollective Banner
let bannerTitles = ['sponsor', 'backer', 'helper'];
$j('#opencollective_banner > object').attr(
'data',
`https://opencollective.com/ancientbeast/tiers/${
bannerTitles[Math.floor(Math.random() * bannerTitles.length)]
}.svg?avatarHeight=61&width=800&limit=10`,
);
}
}

Expand Down

0 comments on commit 150ad3b

Please sign in to comment.