Add donation drive aside to download page

This commit is contained in:
Alex Cabal 2024-11-25 12:03:26 -06:00
parent 908b02e65b
commit 84f4b2b0bf
2 changed files with 8 additions and 0 deletions

View file

@ -2344,6 +2344,10 @@ h1 + ul.message,
font-style: italic; font-style: italic;
} }
.donate aside:first-child{
margin-top: 0;
}
.donate table{ .donate table{
margin: 1rem auto 0 auto; margin: 1rem auto 0 auto;
} }

View file

@ -67,6 +67,10 @@ catch(Exceptions\InvalidFileException | Exceptions\EbookNotFoundException){
<img class="ebook" src="<?= $ebook->CoverImage2xUrl ?>" alt="The cover for the Standard Ebooks edition of <?= Formatter::EscapeHtml(strip_tags($ebook->TitleWithCreditsHtml)) ?>" property="schema:image" height="335" width="224"/> <img class="ebook" src="<?= $ebook->CoverImage2xUrl ?>" alt="The cover for the Standard Ebooks edition of <?= Formatter::EscapeHtml(strip_tags($ebook->TitleWithCreditsHtml)) ?>" property="schema:image" height="335" width="224"/>
</picture> </picture>
<div> <div>
<?= Template::DonationCounter() ?>
<?= Template::DonationProgress() ?>
<p class="stinger">Before you go...</p> <p class="stinger">Before you go...</p>
<p>Will you <a href="/donate">make a donation</a> to help us further our mission of creating beautiful, free ebooks?</p> <p>Will you <a href="/donate">make a donation</a> to help us further our mission of creating beautiful, free ebooks?</p>
<p>It takes a team of highly-skilled volunteers hours to create and proof each of our ebooks. We couldnt do it without the financial support of literature lovers like you. Any amount helps further our mission!</p> <p>It takes a team of highly-skilled volunteers hours to create and proof each of our ebooks. We couldnt do it without the financial support of literature lovers like you. Any amount helps further our mission!</p>