Skip to content

Commit d309608

Browse files
committed
Remove GitHub star notification; update documentation
The `Notification` component prompting users to star a NuGet package has been removed from `BlogMainLayout.razor`, `DemosMainLayout.razor`, and `DocsMainLayout.razor`, replaced by a `StarOnGitHub` component. The `DoYouKnow` component in `DemosMainLayout.razor` has been updated to include a `Class` attribute for improved styling. In `GettingStartedDocumentation.razor`, a table cell has been modified to replace a `DocsLink` component with the placeholder text "TODO: Pending", indicating that the project setup guide is currently unavailable or under review. NOTE: This commit message is auto-generated using GitHub Copilot.
1 parent 6559e5b commit d309608

4 files changed

Lines changed: 5 additions & 23 deletions

File tree

BlazorExpress.ChartJS.Demo.RCL/Layout/BlogMainLayout.razor

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,7 @@
4747
<Button Class="bi bi-box-arrow-right menu-toggle-button ml-1 mt-0 mb-1" @onclick="ToggleSidebarSection" />
4848
@Body
4949
<DoYouKnow Class="mt-3" />
50-
<Notification Class="has-text-centered mt-3" Color="NotificationColor.Link" HideDeleteButton="true">
51-
<a href="@GithubUrl" class="be-bulma-text-decoration-none" target="_blank">
52-
<i class="bi bi-star-fill"></i>
53-
<span>If you like @DemoStringConstants.NugetPackageName, give it a star on GitHub!</span>
54-
<i class="bi bi-star-fill"></i>
55-
</a>
56-
</Notification>
50+
<StarOnGitHub />
5751
<MainLayoutBaseFooter Version="@Version"
5852
DotNetVersion="@DotNetVersion"
5953
DocsUrl="@DocsUrl"

BlazorExpress.ChartJS.Demo.RCL/Layout/DemosMainLayout.razor

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,8 @@
4646
<div class="p-5">
4747
<Button Class="bi bi-box-arrow-right menu-toggle-button ml-1 mt-0 mb-1" @onclick="ToggleSidebarSection" />
4848
@Body
49-
<DoYouKnow />
50-
<Notification Class="has-text-centered" Color="NotificationColor.Link" HideDeleteButton="true">
51-
<a href="@GithubUrl" class="be-bulma-text-decoration-none" target="_blank">
52-
<i class="bi bi-star-fill"></i>
53-
<span>If you like @DemoStringConstants.NugetPackageName, give it a star on GitHub!</span>
54-
<i class="bi bi-star-fill"></i>
55-
</a>
56-
</Notification>
49+
<DoYouKnow Class="mt-3" />
50+
<StarOnGitHub />
5751
<MainLayoutBaseFooter Version="@Version"
5852
DotNetVersion="@DotNetVersion"
5953
DocsUrl="@DocsUrl"

BlazorExpress.ChartJS.Demo.RCL/Layout/DocsMainLayout.razor

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,7 @@
4747
<Button Class="bi bi-box-arrow-right menu-toggle-button ml-1 mt-0 mb-1" @onclick="ToggleSidebarSection" />
4848
@Body
4949
<DoYouKnow Class="mt-3" />
50-
<Notification Class="has-text-centered mt-3" Color="NotificationColor.Link" HideDeleteButton="true">
51-
<a href="@GithubUrl" class="be-bulma-text-decoration-none" target="_blank">
52-
<i class="bi bi-star-fill"></i>
53-
<span>If you like @DemoStringConstants.NugetPackageName, give it a star on GitHub!</span>
54-
<i class="bi bi-star-fill"></i>
55-
</a>
56-
</Notification>
50+
<StarOnGitHub />
5751
<MainLayoutBaseFooter Version="@Version"
5852
DotNetVersion="@DotNetVersion"
5953
DocsUrl="@DocsUrl"

BlazorExpress.ChartJS.Demo.RCL/Pages/Docs/GettingStarted/GettingStartedDocumentation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<td>3</td>
3838
<td>.NET 8</td>
3939
<td>Blazor WebApp (.NET 8) - Interactive render mode Auto - Global location</td>
40-
<td><DocsLink Text="Project Setup Guide" Href="@DemoRouteConstants.Docs_Getting_Started_Blazor_WebApp_NET_8_Interactive_Render_Mode_Auto_Global_Location" /></td>
40+
<td>TODO: Pending</td>
4141
</tr>
4242
<tr>
4343
<td>4</td>

0 commit comments

Comments
 (0)