Skip to content

Commit

Permalink
host razor page added References
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed May 26, 2024
1 parent c3600da commit 04ce116
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CrispyCollab.sln
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Subscriptions.Featu
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Channels.Features", "Source\Modules\Channels\Features\Modules.Channels.Features.csproj", "{EE30F6EF-BE5E-4BFB-B56B-63C13568FD23}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shared.Client", "Source\Shared\Client\Shared.Client.csproj", "{EFE72943-FDF2-46C3-A257-5C5EBD55F1DB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shared.Client", "Source\Shared\Client\Shared.Client.csproj", "{EFE72943-FDF2-46C3-A257-5C5EBD55F1DB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions Source/Web/Server/Pages/_Host.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
<body class="h-screen bg-gradient-to-b from-sky-50 to-sky-200 grid place-content-center">
@if (User.Identity.IsAuthenticated)
{
<component type="typeof(App)" render-mode="WebAssembly" />
<component type="typeof(ClientApp)" render-mode="WebAssembly" />
<script src="_framework/blazor.webassembly.js"></script>
<script src="_content/Blazored.Modal/blazored.modal.js"></script>
}
else
{
<link rel="stylesheet" href="Web.Server.styles.css" />
<component type="typeof(LandingPagesApp)" render-mode="Server" />
<link rel="stylesheet" href="Web.Server.styles.css" />
<script src="_framework/blazor.server.js"></script>
}

Expand Down
7 changes: 5 additions & 2 deletions Source/Web/Server/Pages/_ViewImports.cshtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.Authentication
@using Microsoft.AspNetCore.Authorization
@using Web.Server.Pages
@using Modules.LandingPages.Server
@using Web.Client
@using Shared.Kernel.Constants
@namespace Server.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

0 comments on commit 04ce116

Please sign in to comment.