Initial commit

This commit is contained in:
2022-03-28 18:44:08 -04:00
commit e43d9a90e7
267 changed files with 17049 additions and 0 deletions
@@ -0,0 +1,24 @@
@using Model.Website.Enums
@using Model.Website
@if (isDisplayable) {
@ChildContent
}
@code {
[Parameter]
public RenderFragment ChildContent { get; set; }
[Parameter]
public WebDeploymentType DeploymentType { get; set; }
[Inject]
public NavigationManager MyNavigationManager { get; set; }
bool isDisplayable;
protected override void OnInitialized() {
isDisplayable = DeploymentType == WebDeploymentModel.DeploymentType;
}
}