Skip to content

Commit

Permalink
fix: Compiler issue and smaller namespace refacotring
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet authored Nov 1, 2024
1 parent 1220940 commit c66de3e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@if (SupportConfiguration.Value.ShowInFooter)
{
<div class="pb-2" style="display:flex;justify-content:center">
<LinkDotNet.Blog.Web.Features.SupportMe.Components.DonationSection />
<DonationSection />
</div>
}
</footer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<SocialAccounts Social="@Social.Value"></SocialAccounts>
@if (SupportConfiguration.Value.ShowUnderIntroduction)
{
<LinkDotNet.Blog.Web.Features.SupportMe.Components.DonationSection />
<DonationSection />
}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@page "/blogPost/{blogPostId}/{slug?}"
@using System.Text
@using LinkDotNet.Blog.Web.Features.SupportMe.Components
@using Markdig
@using LinkDotNet.Blog.Domain
@using LinkDotNet.Blog.Infrastructure.Persistence
@using LinkDotNet.Blog.Web.Features.Services
@using LinkDotNet.Blog.Web.Features.ShowBlogPost.Components
@using LinkDotNet.Blog.Web.Features.SupportMe.Components
@inject IRepository<BlogPost> BlogPostRepository
@inject IRepository<ShortCode> ShortCodeRepository
@inject IJSRuntime JsRuntime
Expand Down Expand Up @@ -85,7 +85,7 @@ else if (BlogPost is not null)
</div>
@if (SupportConfiguration.Value.ShowUnderBlogPost)
{
<LinkDotNet.Blog.Web.Features.SupportMe.Components.DonationSection />
<DonationSection />
}
@if (AppConfiguration.Value.ShowSimilarPosts)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@inject IOptions<ProfileInformation> ProfileInformation
@namespace LinkDotNet.Blog.Web.Features.SupportMe.Components

@if (SupportConfiguration.Value.ShowSupportMePage)
@if (SupportConfiguration.Value.ShowSupportMePage && SupportConfiguration.Value.SupportMePageDescription is not null)
{
<OgData Title="@("Support Me - " + ProfileInformation.Value.Name)"
Description="@("Support Me," + ProfileInformation.Value.Name)"
Expand Down

0 comments on commit c66de3e

Please sign in to comment.