Skip to content

Commit

Permalink
removed duplicated LandingPageApp
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed Feb 17, 2024
1 parent 9dc3eb4 commit 08ea4b1
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Blazored.Modal" Version="7.1.0" />
<PackageReference Include="Blazored.Modal" Version="7.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Modules.Subscriptions.Features.Agregates.StripeCustomerAggregate;
using Shared.Features.CQRS.Query;

namespace Modules.Subscriptions.Features.Aggregates.StripeCustomerAggregate.Queries
namespace Modules.Subscriptions.Features.Aggregates.StripeCustomerAggregate.Application.Queries
{
public class GetStripeCustomerByStripePortalId : IQuery<StripeCustomer>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.CQRS.Command;

namespace Modules.Subscriptions.Features.Domain.StripeSubscriptionAggregate.Commands
namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands
{
public class CreateSubscriptionForTenant : ICommand
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Shared.Features.CQRS.IntegrationEvent;
using Stripe;

namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Commands
namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands
{
public class CreateTrialingSubscription : ICommand
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.CQRS.Command;

namespace Modules.Subscriptions.Features.Domain.StripeSubscriptionAggregate.Commands
namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands
{
public class DeleteSubscription : ICommand
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Shared.Features.CQRS.Query;
using Shared.Kernel.BuildingBlocks.Auth.Attributes;

namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Commands
namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands
{
[AuthorizeTenantAdmin]
public class GetSubscriptionForTenant : IQuery<object>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.CQRS.Command;

namespace Modules.Subscriptions.Features.Domain.StripeSubscriptionAggregate.Commands
namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands
{
public class UpdateSubscriptionEndDate : ICommand
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Modules.Subscriptions.Features.Agregates.StripeSubscriptionAggregate;

namespace Modules.Subscription.Features.Infrastructure.EFCore
namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Infrastructure
{
public class StripeSubscriptionConfiguration : IEntityTypeConfiguration<StripeSubscription>
public class StripeSubscriptionEFConfiguration : IEntityTypeConfiguration<StripeSubscription>
{
public void Configure(EntityTypeBuilder<StripeSubscription> builder)
{

}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Mvc;
using Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Commands;
using Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands;
using Shared.Features.Server;
using Shared.Kernel.BuildingBlocks.Auth.Attributes;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
using Microsoft.AspNetCore.Mvc;
using Shared.Kernel.BuildingBlocks.Auth;
using Stripe.Checkout;
using Modules.Subscriptions.Features.Aggregates.StripeCustomerAggregate.Queries;
using Modules.Subscriptions.Features.Agregates.StripeCustomerAggregate;
using Shared.Features.Server;
using Modules.Subscriptions.Features.Aggregates.StripeCustomerAggregate.Application.Queries;

namespace Modules.Subscription.Server.Controllers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Stripe;
using Shared.Features.Server;
using Modules.Subscription.Features.Infrastructure.Configuration;
using Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Commands;
using Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands;

namespace Modules.Subscription.Server.WebHooks
{
Expand Down
19 changes: 0 additions & 19 deletions Source/Web/Server/Pages/LandingPageApp.razor

This file was deleted.

3 changes: 3 additions & 0 deletions Source/Web/Server/Pages/_Host.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] ModularMonolith</title>
<link rel="stylesheet" href="css/site.css" />
<link rel="stylesheet" href="css/fonts.css" />
<link rel="stylesheet" href=@($"{TailwindSourceConstant.TailwindOutputPath}") />
</head>
<body class="h-screen bg-gradient-to-b from-blue-50 to-blue-200">
Expand All @@ -19,6 +21,7 @@
}
else
{
<link rel="stylesheet" href="Web.Server.styles.css" />
<component type="typeof(LandingPagesApp)" render-mode="Server" />
<script src="_framework/blazor.server.js"></script>
}
Expand Down

0 comments on commit 08ea4b1

Please sign in to comment.