Skip to content

Commit ba57ce3

Browse files
authored
Demos: Refactor layout in MainLayout.razor and Index.razor (#30)
- Restructured `MainLayout.razor` by moving the `@Body` directive into a new `div` with the class `be-bulma-masthead`, enhancing the visual distinction of the header while keeping the footer intact. - Simplified `Index.razor` by removing the `be-bulma-masthead` class, maintaining centered text alignment. NOTE: This commit message is auto-generated using GitHub Copilot.
1 parent e36a451 commit ba57ce3

2 files changed

Lines changed: 19 additions & 17 deletions

File tree

BlazorExpress.Bulma.Demo.RCL/Layout/MainLayout.razor

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,24 @@
88
ApplicationName="BlazorExpress.Bulma" />
99
</HeaderSection>
1010
<ContentSection>
11-
@Body
12-
<div class="container is-max-desktop mb-4">
13-
<MainLayoutBaseFooter NugetPackageName="@NugetPackageName"
14-
NugetPackageDisplayName="@NugetPackageDisplayName"
15-
Version="@Version"
16-
DotNetVersion="@DotNetVersion"
17-
DocsUrl="@DocsUrl"
18-
BlogUrl="@BlogUrl"
19-
GithubUrl="@GithubUrl"
20-
NugetUrl="@NuGetUrl"
21-
TwitterUrl="@TwitterUrl"
22-
LinkedInUrl="@LinkedInUrl"
23-
OpenCollectiveUrl="@OpenCollectiveUrl"
24-
GithubIssuesUrl="@GithubIssuesUrl"
25-
GithubDiscussionsUrl="@GithubDiscussionsUrl"
26-
StackoverflowUrl="@StackoverflowUrl" />
11+
<div class="be-bulma-masthead p-5">
12+
@Body
13+
<div class="container is-max-desktop mb-4">
14+
<MainLayoutBaseFooter NugetPackageName="@NugetPackageName"
15+
NugetPackageDisplayName="@NugetPackageDisplayName"
16+
Version="@Version"
17+
DotNetVersion="@DotNetVersion"
18+
DocsUrl="@DocsUrl"
19+
BlogUrl="@BlogUrl"
20+
GithubUrl="@GithubUrl"
21+
NugetUrl="@NuGetUrl"
22+
TwitterUrl="@TwitterUrl"
23+
LinkedInUrl="@LinkedInUrl"
24+
OpenCollectiveUrl="@OpenCollectiveUrl"
25+
GithubIssuesUrl="@GithubIssuesUrl"
26+
GithubDiscussionsUrl="@GithubDiscussionsUrl"
27+
StackoverflowUrl="@StackoverflowUrl" />
28+
</div>
2729
</div>
2830
</ContentSection>
2931
<FooterSection>

BlazorExpress.Bulma.Demo.RCL/Pages/Home/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PageMetaTags PageUrl="@pageUrl" Title="@metaTitle" Description="@metaDescription" ImageUrl="@imageUrl" />
44

5-
<div class="be-bulma-masthead has-text-centered">
5+
<div class="has-text-centered">
66
<div class="container is-max-desktop mb-4">
77
<div class="mb-6">
88
<div class="pt-6 mb-6">

0 commit comments

Comments
 (0)