Skip to content

Commit 4f7d631

Browse files
committed
BlazorBootstrapLayout - updates
1 parent a686b10 commit 4f7d631

File tree

2 files changed

+4
-41
lines changed

2 files changed

+4
-41
lines changed

BlazorBootstrap.Demo.RCL/Components/Layout/MainLayout.razor

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
@namespace BlazorBootstrap.Demo.RCL
22
@inherits MainLayoutBase
33

4-
<BlazorBootstrapLayout HeaderSectionCssClass="d-flex justify-content-end"
5-
FooterSectionCssClass="bg-body-tertiary">
4+
<BlazorBootstrapLayout>
65
<HeaderSection>
76

87
</HeaderSection>
@@ -71,40 +70,4 @@
7170
</FooterSection>
7271
</BlazorBootstrapLayout>
7372

74-
@* <div class="bb-page">
75-
76-
<Sidebar2 Href="/"
77-
ImageSrc="https://demos.blazorbootstrap.com/images/logo/logo-white.svg"
78-
Title="Blazor Bootstrap"
79-
BadgeText="@Version"
80-
DataProvider="Sidebar2DataProvider"
81-
WidthUnit="Unit.Px" />
82-
83-
<main class="bb-scrollbar">
84-
<div class="content my-4 my-md-4 px-4">
85-
@Body
86-
87-
<Callout Class="text-center text-bold skippy border-0" HideHeading="true">
88-
<a href="@GithubUrl" class="text-decoration-none" b-09pcjsuuk4="">
89-
<i class="bi bi-star-fill" b-09pcjsuuk4=""></i>
90-
<span b-09pcjsuuk4="">If you like Blazor Bootstrap, give it a star on GitHub!</span>
91-
<i class="bi bi-star-fill" b-09pcjsuuk4=""></i>
92-
</a>
93-
</Callout>
94-
</div>
95-
96-
<MainLayoutBaseFooter Version="@Version"
97-
DocsUrl="@DocsUrl"
98-
BlogUrl="@BlogUrl"
99-
GithubUrl="@GithubUrl"
100-
TwitterUrl="@TwitterUrl"
101-
LinkedInUrl="@LinkedInUrl"
102-
OpenCollectiveUrl="@OpenCollectiveUrl"
103-
GithubIssuesUrl="@GithubIssuesUrl"
104-
GithubDiscussionsUrl="@GithubDiscussionsUrl"
105-
StackoverflowUrl="@StackoverflowUrl" />
106-
107-
</main>
108-
</div>
109-
110-
<MainLayoutBaseServices /> *@
73+
<MainLayoutBaseServices />

blazorbootstrap/Components/Layout/BlazorBootstrapLayout.razor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ public partial class BlazorBootstrapLayout : BlazorBootstrapLayoutComponentBase
1111
protected string? ContentSectionCssClassNames => BuildClassNames(ContentSectionCssClass, ("p-4", true));
1212

1313
[Parameter] public RenderFragment? FooterSection { get; set; }
14-
[Parameter] public string? FooterSectionCssClass { get; set; }
14+
[Parameter] public string? FooterSectionCssClass { get; set; } = "bg-body-tertiary";
1515
protected string? FooterSectionCssClassNames => BuildClassNames(FooterSectionCssClass, ("bb-footer p-4", true));
1616

1717
[Parameter] public RenderFragment? HeaderSection { get; set; }
18-
[Parameter] public string? HeaderSectionCssClass { get; set; }
18+
[Parameter] public string? HeaderSectionCssClass { get; set; } = "d-flex justify-content-end";
1919
protected string? HeaderSectionCssClassNames => BuildClassNames(HeaderSectionCssClass, ("bb-top-row px-4", true));
2020

2121
[Parameter] public RenderFragment? SidebarSection { get; set; }

0 commit comments

Comments
 (0)