Skip to content

Commit 92d94ad

Browse files
committed
Update docs: unify layout, improve footers, add screenshots
- Unified layout documentation route and navigation - Updated footers: renamed to "Other Libraries", added UnlimitedPDF and star icons for featured libraries - Replaced hardcoded doc image URLs with constants; added specific screenshots (e.g., icons.png) - Added new docs pages for getting started and layout reference - Enhanced BlazorBootstrapLayoutComponentBase with XML docs and parameter attributes - Minor content and metadata improvements throughout docs
1 parent faf8216 commit 92d94ad

63 files changed

Lines changed: 341 additions & 82 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,23 @@
7070
</ul>
7171
</div>
7272
<div class="col-6 col-lg-2 mb-3">
73-
<h5>Blazor Express</h5>
73+
<h5>Other Libraries</h5>
7474
<ul class="list-unstyled">
75-
<li class="mb-2"><a href="https://bulma.blazorexpress.com/" target="_blank" rel="noopener">BlazorExpress.Bulma</a></li>
76-
<li class="mb-2"><a href="https://chartjs.blazorexpress.com/" target="_blank" rel="noopener">BlazorExpress.ChartJS</a></li>
75+
<li class="mb-2">
76+
<a href="https://bulma.blazorexpress.com/" target="_blank" rel="noopener">
77+
BlazorExpress.Bulma <Icon Name="IconName.Stars" Color="IconColor.Danger" />
78+
</a>
79+
</li>
80+
<li class="mb-2">
81+
<a href="https://chartjs.blazorexpress.com/" target="_blank" rel="noopener">
82+
BlazorExpress.ChartJS <Icon Name="IconName.Stars" Color="IconColor.Danger" />
83+
</a>
84+
</li>
85+
<li class="mb-2">
86+
<a href="https://github.com/unlimited-pdf/UnlimitedPDF/" target="_blank" rel="noopener">
87+
UnlimitedPDF <Icon Name="IconName.Stars" Color="IconColor.Danger" />
88+
</a>
89+
</li>
7790
</ul>
7891
</div>
7992
</div>

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

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,23 @@
7070
</ul>
7171
</div>
7272
<div class="col-6 col-lg-2 mb-3">
73-
<h5>Blazor Express</h5>
73+
<h5>Other Libraries</h5>
7474
<ul class="list-unstyled">
75-
<li class="mb-2"><a href="https://bulma.blazorexpress.com/" target="_blank" rel="noopener">BlazorExpress.Bulma</a></li>
76-
<li class="mb-2"><a href="https://chartjs.blazorexpress.com/" target="_blank" rel="noopener">BlazorExpress.ChartJS</a></li>
75+
<li class="mb-2">
76+
<a href="https://bulma.blazorexpress.com/" target="_blank" rel="noopener">
77+
BlazorExpress.Bulma <Icon Name="IconName.Stars" Color="IconColor.Danger" />
78+
</a>
79+
</li>
80+
<li class="mb-2">
81+
<a href="https://chartjs.blazorexpress.com/" target="_blank" rel="noopener">
82+
BlazorExpress.ChartJS <Icon Name="IconName.Stars" Color="IconColor.Danger" />
83+
</a>
84+
</li>
85+
<li class="mb-2">
86+
<a href="https://github.com/unlimited-pdf/UnlimitedPDF/" target="_blank" rel="noopener">
87+
UnlimitedPDF <Icon Name="IconName.Stars" Color="IconColor.Danger" />
88+
</a>
89+
</li>
7790
</ul>
7891
</div>
7992
</div>

BlazorBootstrap.Demo.RCL/Components/Layout/DocsMainLayout.razor.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ internal override IEnumerable<NavItem> GetNavItems()
99
new (){ Id = "1", Text = "Getting Started", Href = DemoRouteConstants.Docs_URL_GettingStarted, IconName = IconName.HouseDoorFill },
1010

1111
new (){ Id = "2", Text = "Layout", IconName = IconName.LayoutTextWindowReverse, IconColor = IconColor.Success },
12-
new (){ Id = "200", Text = "Blazor WebAssembly", Href = DemoRouteConstants.Docs_URL_Layout_BlazorWebAssembly, IconName = IconName.BrowserEdge, ParentId = "2" },
13-
new (){ Id = "201", Text = "Blazor Server", Href = DemoRouteConstants.Docs_URL_Layout_Blazor_Server, IconName = IconName.Server, ParentId = "2" },
12+
new (){ Id = "200", Text = "Blazor Bootstrap Layout", Href = DemoRouteConstants.Docs_URL_Layout, IconName = IconName.BrowserEdge, ParentId = "2" },
1413

1514
new (){ Id = "3", Text = "Content", IconName = IconName.BodyText, IconColor = IconColor.Primary },
1615
new (){ Id = "300", Text = "Icons", Href = DemoRouteConstants.Docs_URL_Icons, IconName = IconName.PersonSquare, ParentId = "3" },

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

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,23 @@
7070
</ul>
7171
</div>
7272
<div class="col-6 col-lg-2 mb-3">
73-
<h5>Blazor Express</h5>
73+
<h5>Other Libraries</h5>
7474
<ul class="list-unstyled">
75-
<li class="mb-2"><a href="https://bulma.blazorexpress.com/" target="_blank" rel="noopener">BlazorExpress.Bulma</a></li>
76-
<li class="mb-2"><a href="https://chartjs.blazorexpress.com/" target="_blank" rel="noopener">BlazorExpress.ChartJS</a></li>
75+
<li class="mb-2">
76+
<a href="https://bulma.blazorexpress.com/" target="_blank" rel="noopener">
77+
BlazorExpress.Bulma <Icon Name="IconName.Stars" Color="IconColor.Danger" />
78+
</a>
79+
</li>
80+
<li class="mb-2">
81+
<a href="https://chartjs.blazorexpress.com/" target="_blank" rel="noopener">
82+
BlazorExpress.ChartJS <Icon Name="IconName.Stars" Color="IconColor.Danger" />
83+
</a>
84+
</li>
85+
<li class="mb-2">
86+
<a href="https://github.com/unlimited-pdf/UnlimitedPDF/" target="_blank" rel="noopener">
87+
UnlimitedPDF <Icon Name="IconName.Stars" Color="IconColor.Danger" />
88+
</a>
89+
</li>
7790
</ul>
7891
</div>
7992
</div>

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

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,23 @@
4646
</ul>
4747
</div>
4848
<div class="col-6 col-lg-2 mb-3">
49-
<h5>Other Packages</h5>
49+
<h5>Other Libraries</h5>
5050
<ul class="list-unstyled">
51-
<li class="mb-2"><a href="https://bulma.blazorexpress.com/" target="_blank" rel="noopener">BlazorExpress.Bulma</a></li>
52-
<li class="mb-2"><a href="https://chartjs.blazorexpress.com/" target="_blank" rel="noopener">BlazorExpress.ChartJS</a></li>
51+
<li class="mb-2">
52+
<a href="https://bulma.blazorexpress.com/" target="_blank" rel="noopener">
53+
BlazorExpress.Bulma <Icon Name="IconName.Stars" Color="IconColor.Danger" />
54+
</a>
55+
</li>
56+
<li class="mb-2">
57+
<a href="https://chartjs.blazorexpress.com/" target="_blank" rel="noopener">
58+
BlazorExpress.ChartJS <Icon Name="IconName.Stars" Color="IconColor.Danger" />
59+
</a>
60+
</li>
61+
<li class="mb-2">
62+
<a href="https://github.com/unlimited-pdf/UnlimitedPDF/" target="_blank" rel="noopener">
63+
UnlimitedPDF <Icon Name="IconName.Stars" Color="IconColor.Danger" />
64+
</a>
65+
</li>
5366
</ul>
5467
</div>
5568
</div>

BlazorBootstrap.Demo.RCL/Components/Pages/Demos/GettingStarted/GettingStartedDocumentation.razor

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
@page "/getting-started/blazor-webassembly"
22
@page "/getting-started/blazor-server"
33
@page "/getting-started/maui-blazor"
4+
@attribute [Route(pageUrl)]
5+
@layout DemosMainLayout
46

57
<DemosPageHeadSection PageUrl="@pageUrl"
68
PageTitle="@pageTitle"
@@ -104,7 +106,7 @@
104106
private const string pageDescription = "High-performance, lightweight, and responsive blazor bootstrap components in a single package from the developers for the developers.";
105107
private const string metaTitle = "Getting started with Blazor Bootstrap - Blazor Project Setup";
106108
private const string metaDescription = "High-performance, lightweight, and responsive blazor bootstrap components in a single package from the developers for the developers.";
107-
private const string imageUrl = "https://i.imgur.com/SCbZVd4.jpg";
109+
private const string imageUrl = "https://i.imgur.com/SCbZVd4.jpg"; // TODO: Update image URL
108110
109111
private string? version;
110112
[Inject] public IConfiguration Configuration { get; set; } = default!;

BlazorBootstrap.Demo.RCL/Components/Pages/Demos/Layout/server/LayoutServerDocumentation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
MetaDescription="@metaDescription"
99
ImageUrl="@imageUrl" />
1010

11-
<DocsLink Href="@DemoRouteConstants.Docs_URL_Layout_Blazor_Server" />
11+
<DocsLink Href="@DemoRouteConstants.Docs_URL_Layout" />
1212

1313
<Section Size="HeadingSize.H2" Name="Prerequisites" PageUrl="@pageUrl" Link="prerequisites">
1414
<div class="mb-3">

BlazorBootstrap.Demo.RCL/Components/Pages/Demos/Layout/webassembly/LayoutWebAssemblyDocumentation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
MetaDescription="@metaDescription"
99
ImageUrl="@imageUrl" />
1010

11-
<DocsLink Href="@DemoRouteConstants.Docs_URL_Layout_BlazorWebAssembly" />
11+
<DocsLink Href="@DemoRouteConstants.Docs_URL_Layout" />
1212

1313
<Section Size="HeadingSize.H2" Name="Prerequisites" PageUrl="@pageUrl" Link="prerequisites">
1414
<div class="mb-3">

BlazorBootstrap.Demo.RCL/Components/Pages/Docs/Callout/Callout_Doc_01_Documentation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
private const string pageDescription = $"This documentation provides a comprehensive reference for the <code>{componentName}</code> component, guiding you through its configuration options.";
2626
private const string metaTitle = $"Blazor {componentName} Component";
2727
private const string metaDescription = $"This documentation provides a comprehensive reference for the {componentName} component, guiding you through its configuration options.";
28-
private const string imageUrl = "https://i.imgur.com/FGgEMp6.jpg";
28+
private const string imageUrl = DemoScreenshotSrcConstants.Demos_URL_Callout;
2929
}

BlazorBootstrap.Demo.RCL/Components/Pages/Docs/Card/Card_Doc_01_Documentation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@
5757
private const string pageDescription = $"This documentation provides a comprehensive reference for the <code>{componentName}</code> component, guiding you through its configuration options.";
5858
private const string metaTitle = $"Blazor {componentName} Component";
5959
private const string metaDescription = $"This documentation provides a comprehensive reference for the {componentName} component, guiding you through its configuration options.";
60-
private const string imageUrl = "https://i.imgur.com/FGgEMp6.jpg";
60+
private const string imageUrl = DemoScreenshotSrcConstants.Demos_URL_Card;
6161
}

0 commit comments

Comments
 (0)