feat: add donation page

This commit is contained in:
Oliver Booth 2023-08-05 23:28:01 +01:00
parent 6205648e53
commit e93db2c7a0
Signed by: oliverbooth
GPG Key ID: 725DB725A0D9EE61

View File

@ -0,0 +1,27 @@
@page "/{culture=en}/donate"
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@{
ViewData["Title"] = "Donate";
}
<h1 class="display-4">@Localizer["Donate"]</h1>
<p>@Localizer["DonatePart1"]</p>
<p>
<script type="text/javascript" src="https://storage.ko-fi.com/cdn/widget/Widget_2.js"></script>
<script type="text/javascript">kofiwidget2.init('Support Me on Ko-fi', '#29abe0', 'C0C4DVDZX');kofiwidget2.draw();</script>
</p>
<p>
<a href="https://www.buymeacoffee.com/oliverbooth" target="_blank">
<img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;">
</a>
</p>
<p>@Localizer["DonatePart2"]</p>
<ul>
<li>BTC: 1LmXvavJr1omscfkXjp7A4VyNf3XhKP9JK</li>
<li>ETH: 0x972C6641e36e2736823A6B1e6BA4D2A814b69fD2</li>
</ul>