Skip to content

Commit

Permalink
Add Epic Tier banners to rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
cynicaloptimist committed Jun 18, 2024
1 parent 4f1fa70 commit c8ae505
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion client/Layout/BannerHost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function BannerHost(): JSX.Element {
if (bannerIndex === null) {
return null;
}

if (env.IsLoggedIn && (env.HasStorage || env.HasEpicInitiative)) {
return null;
}
Expand Down Expand Up @@ -79,5 +79,20 @@ const Banners: { href: string; src: string; altText: string }[] = [
href: "https://www.dmsguild.com/product/247882/Wayfinders-Guide-to-Eberron-5e?filters=0_0_0_0_0_0_0_1000100&src=affiliate282190&affiliate_id=282190",
src: "https://www.dmsguild.com/themes/dmg/images/affiliatebanner2.jpg",
altText: "Eberron Adventures at DMsGuild.com"
},
{
href: "https://www.patreon.com/join/improvedinitiative",
src: "../img/banner-annual.png",
altText: "Improved Initiative Epic Tier Annual Subscriptions"
},
{
href: "https://www.patreon.com/join/improvedinitiative",
src: "../img/banner-features.png",
altText: "Improved Initiative Epic Tier Features"
},
{
href: "https://www.patreon.com/join/improvedinitiative",
src: "../img/banner-trial.png",
altText: "Improved Initiative Epic Tier Free Trial"
}
];
Binary file added public/img/banner-annual.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner-features.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/banner-trial.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 c8ae505

Please sign in to comment.