-
-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathDonationSection.razor
More file actions
23 lines (21 loc) · 739 Bytes
/
Copy pathDonationSection.razor
File metadata and controls
23 lines (21 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@inject IOptions<SupportMeConfiguration> SupportConfiguration
<div class="d-flex flex-column flex-md-row gap-2 justify-content-start align-items-center">
@if (SupportConfiguration.Value.IsKofiEnabled)
{
<div class="mt-2">
<Kofi KofiToken="@SupportConfiguration.Value.KofiToken"></Kofi>
</div>
}
@if (SupportConfiguration.Value.IsGithubSponsorAvailable)
{
<div class="mt-2">
<GithubSponsor Name="@SupportConfiguration.Value.GithubSponsorName"></GithubSponsor>
</div>
}
@if (SupportConfiguration.Value.IsPatreonEnabled)
{
<div class="mt-2">
<Patreon PatreonName="@SupportConfiguration.Value.PatreonName"></Patreon>
</div>
}
</div>