-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
161 changed files
with
1,029 additions
and
1,185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
src/Client/Bit.TemplatePlayground.Client.Core/Components/Layout/MainLayout.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
@inherits LayoutComponentBase | ||
|
||
|
||
<CascadingValue Value=currentDir> | ||
<CascadingValue Name=@Parameters.IsOnline Value=isOnline> | ||
<CascadingValue Name=@Parameters.CurrentTheme Value=currentTheme> | ||
<CascadingValue Name=@Parameters.IsAuthenticated Value=isAuthenticated> | ||
<CascadingValue Name=@Parameters.CurrentRouteData Value=currentRouteData> | ||
<CascadingValue Name=@Parameters.IsCrossLayoutPage Value=isCrossLayoutPage> | ||
<BitAppShell> | ||
<main class="@GetMainCssClass()"> | ||
<div class="root"> | ||
@if (isAuthenticated is false) | ||
{ | ||
<IdentityHeader /> | ||
} | ||
else if (isAuthenticated is true) | ||
{ | ||
<BitNavPanel @bind-IsOpen="isNavPanelOpen" Items="navPanelItems" /> | ||
} | ||
|
||
<div class="stack"> | ||
@if (isAuthenticated is true) | ||
{ | ||
<AuthorizedHeader /> | ||
} | ||
|
||
<div class="body"> | ||
@Body | ||
</div> | ||
|
||
@if (isAuthenticated is false && isCrossLayoutPage is false) | ||
{ | ||
<div class="panel"> | ||
<BitImage Width="70%" Src="_content/Bit.TemplatePlayground.Client.Core/images/identitylayout-image.webp" /> | ||
</div> | ||
} | ||
</div> | ||
</div> | ||
|
||
@if (isAuthenticated is true) | ||
{ | ||
<NavBar /> | ||
} | ||
</main> | ||
</BitAppShell> | ||
</CascadingValue> | ||
</CascadingValue> | ||
</CascadingValue> | ||
</CascadingValue> | ||
</CascadingValue> | ||
</CascadingValue> | ||
|
||
<SnackBar /> | ||
<DiagnosticModal /> | ||
<BitModalContainer ModalParameters="modalParameters" /> | ||
|
||
<JsBridge /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.