Skip to content

Commit b033fb9

Browse files
committed
Switched from page to feature based structure
1 parent afc93b1 commit b033fb9

File tree

148 files changed

+120
-198
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+120
-198
lines changed

src/LinkDotNet.Blog.Web/App.razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@using LinkDotNet.Blog.Web.Features.Components
12
<CascadingAuthenticationState>
23
<Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="@true">
34
<Found Context="routeData">

src/LinkDotNet.Blog.Web/AppConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using LinkDotNet.Blog.Domain;
2-
using LinkDotNet.Blog.Web.Shared.Services;
2+
using LinkDotNet.Blog.Web.Features.ShowBlogPost.Components;
33

44
namespace LinkDotNet.Blog.Web;
55

src/LinkDotNet.Blog.Web/AppConfigurationFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using LinkDotNet.Blog.Domain;
2-
using LinkDotNet.Blog.Web.Shared.Services;
2+
using LinkDotNet.Blog.Web.Features.ShowBlogPost.Components;
33
using Microsoft.Extensions.Configuration;
44

55
namespace LinkDotNet.Blog.Web;

src/LinkDotNet.Blog.Web/Shared/Skills/AddSkillDialog.razor renamed to src/LinkDotNet.Blog.Web/Features/AboutMe/Components/AddSkillDialog.razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@using LinkDotNet.Blog.Domain
2+
@using LinkDotNet.Blog.Web.Features.Components
23
@inject IToastService toastService
34
<ModalDialog @ref="Dialog" Title="Add Skill">
45
<EditForm Model="@model" OnValidSubmit="CreateSkillItem">

src/LinkDotNet.Blog.Web/Shared/Skills/AddSkillModel.cs renamed to src/LinkDotNet.Blog.Web/Features/AboutMe/Components/AddSkillModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.ComponentModel.DataAnnotations;
22
using LinkDotNet.Blog.Domain;
33

4-
namespace LinkDotNet.Blog.Web.Shared.Skills;
4+
namespace LinkDotNet.Blog.Web.Features.AboutMe.Components;
55

66
public class AddSkillModel
77
{

src/LinkDotNet.Blog.Web/Shared/Profile.razor renamed to src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Profile.razor

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
@using LinkDotNet.Blog.Web.Shared.Services
2-
@using LinkDotNet.Blog.Domain
1+
@using LinkDotNet.Blog.Domain
32
@using LinkDotNet.Blog.Infrastructure.Persistence
4-
@inherits MarkdownComponentBase
3+
@using LinkDotNet.Blog.Web.Features.Components
4+
@using LinkDotNet.Blog.Web.Features.Services
5+
@inherits LinkDotNet.Blog.Web.Features.MarkdownComponentBase
56

67
@inject AppConfiguration appConfiguration
78
@inject IRepository<ProfileInformationEntry> repository

0 commit comments

Comments
 (0)