-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(demo): upd demo to use correct layout and components
Refs: BLOCKLY-T-2
- Loading branch information
Showing
8 changed files
with
47 additions
and
95 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,5 @@ | ||
@page "/Posts/Add" | ||
<PageContainer Title="Add post"> | ||
<Breadcrumb> | ||
<Breadcrumb> | ||
<BreadcrumbItem>Home</BreadcrumbItem> | ||
<BreadcrumbItem>Posts</BreadcrumbItem> | ||
<BreadcrumbItem>Add</BreadcrumbItem> | ||
</Breadcrumb> | ||
</Breadcrumb> | ||
<Content> | ||
</Content> | ||
<ChildContent> | ||
<PostFormComponent></PostFormComponent> | ||
</ChildContent> | ||
</PageContainer> | ||
@inherits BaseComponent | ||
<MudPageLayout Title="@LocalizationProvider["Add Post"]"> | ||
<PostFormComponent></PostFormComponent> | ||
</MudPageLayout> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
@inherits LayoutComponentBase | ||
|
||
<BasicMudLayout> | ||
<Menu> | ||
<MudNavMenu> | ||
<MudNavLink Href="/" Match="NavLinkMatch.All" Icon="@Icons.Material.Outlined.Dashboard">Posts</MudNavLink> | ||
</MudNavMenu> | ||
<NavMenu/> | ||
</Menu> | ||
<ChildContent> | ||
@Body | ||
</ChildContent> | ||
Sitko.ru <MudIcon Icon="@Icons.Filled.Copyright"/> @DateTimeOffset.UtcNow.Year | ||
</BasicMudLayout> | ||
|
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,6 @@ | ||
<MudDivider Class="mb-4" /> | ||
<MudNavMenu> | ||
<MudNavLink Href="/" Match="NavLinkMatch.All" Icon="@Icons.Material.Outlined.Dashboard">Posts</MudNavLink> | ||
</MudNavMenu> | ||
<MudSpacer></MudSpacer> | ||
<MudText Class="px-5 py-4" Color="Color.Default" Typo="Typo.subtitle2">© @DateTimeOffset.Now.Year Sitko.ru</MudText> |
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