-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a15976c
commit eaa7c5e
Showing
3 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
16 changes: 11 additions & 5 deletions
16
src/LinkDotNet.Blog.Web/Features/ShowBlogPost/Components/DonationSection.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
@inject AppConfiguration AppConfiguration | ||
<div class="d-inline-flex gap-2 align-items-center"> | ||
<div class="d-flex flex-column flex-md-row gap-2 justify-content-start"> | ||
@if (AppConfiguration.IsKofiEnabled) | ||
{ | ||
<Kofi KofiToken="@AppConfiguration.KofiToken"></Kofi> | ||
<div class="mb-2 mb-md-0 me-md-2"> | ||
<Kofi KofiToken="@AppConfiguration.KofiToken"></Kofi> | ||
</div> | ||
} | ||
|
||
@if (AppConfiguration.IsGithubSponsorAvailable) | ||
{ | ||
<GithubSponsor Name="@AppConfiguration.GithubSponsorName"></GithubSponsor> | ||
<div class="mb-2 mb-md-0 me-md-2"> | ||
<GithubSponsor Name="@AppConfiguration.GithubSponsorName"></GithubSponsor> | ||
</div> | ||
} | ||
|
||
@if (AppConfiguration.IsPatreonEnabled) | ||
{ | ||
<Patreon PatreonName="@AppConfiguration.PatreonName"></Patreon> | ||
<div class="mb-2 mb-md-0 me-md-2"> | ||
<Patreon PatreonName="@AppConfiguration.PatreonName"></Patreon> | ||
</div> | ||
} | ||
</div> | ||
</div> |
2 changes: 1 addition & 1 deletion
2
src/LinkDotNet.Blog.Web/Features/ShowBlogPost/Components/GithubSponsor.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/LinkDotNet.Blog.Web/Features/ShowBlogPost/Components/Patreon.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters