Skip to content

Commit 9425b1f

Browse files
authored
Getting started - Blazor WebAssembly (.NET 8) - demo updates (#24)
1 parent 501dc8f commit 9425b1f

16 files changed

Lines changed: 225 additions & 44 deletions

BlazorExpress.Bulma.Demo.RCL/BlazorExpress.Bulma.Demo.RCL.csproj

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
88

9+
<ItemGroup>
10+
<Compile Remove="Pages\Demos\GettingStarted\01_A_Manual_Install_05_Snippet.cs" />
11+
</ItemGroup>
12+
13+
<ItemGroup>
14+
<Content Remove="Pages\Demos\GettingStarted\01_A_Manual_Install_04_Snippet.razor" />
15+
</ItemGroup>
16+
17+
<ItemGroup>
18+
<Content Include="Pages\Demos\GettingStarted\01_A_Manual_Install_05_Snippet.cs" />
19+
</ItemGroup>
20+
21+
<ItemGroup>
22+
<None Include="Pages\Demos\GettingStarted\01_A_Manual_Install_04_Snippet.razor" />
23+
</ItemGroup>
24+
925
<ItemGroup>
1026
<SupportedPlatform Include="browser" />
1127
</ItemGroup>
@@ -24,7 +40,7 @@
2440
<ItemGroup>
2541
<EmbeddedResource Include="Pages\**\*Demo*.razor" />
2642
<EmbeddedResource Include="Pages\**\*Doc*.razor" />
27-
<EmbeddedResource Include="Shared\**\*Snippet*" />
43+
<EmbeddedResource Include="Pages\**\*Snippet*" />
2844
</ItemGroup>
2945
</Target>
3046

BlazorExpress.Bulma.Demo.RCL/Extensions/EnumExtensions.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ public static class EnumExtensions
1010
{
1111
LanguageCode.AspNet => "language-aspnet",
1212
LanguageCode.CSharp => "language-csharp",
13+
LanguageCode.Css => "language-csharp",
14+
LanguageCode.HTML => "language-html",
1315
LanguageCode.JavaScript => "language-js",
1416
LanguageCode.JSON => "language-json",
1517
LanguageCode.JSONP => "language-jsonp",
@@ -26,6 +28,8 @@ public static class EnumExtensions
2628
{
2729
LanguageCode.AspNet => "ASP.NET",
2830
LanguageCode.CSharp => "C#",
31+
LanguageCode.Css => "CSS",
32+
LanguageCode.HTML => "HTML",
2933
LanguageCode.JavaScript => "JS",
3034
LanguageCode.JSON => "Json",
3135
LanguageCode.JSONP => "Jsonp",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<Button Class="bi bi-box-arrow-right menu-toggle-button ml-1 mt-0 mb-1" @onclick="ToggleSidebarSection" />
5050
@Body
5151
<Notification Class="has-text-centered" Color="NotificationColor.Link" HideDeleteButton="true">
52-
<a href="//github.com/BlazorExpress/BlazorExpress.Bulma" class="be-bulma-text-decoration-none">
52+
<a href="@GithubUrl" class="be-bulma-text-decoration-none" target="_blank">
5353
<i class="bi bi-star-fill"></i>
5454
<span>If you like BlazorExpress.Bulma, give it a star on GitHub!</span>
5555
<i class="bi bi-star-fill"></i>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<Button Class="bi bi-box-arrow-right menu-toggle-button ml-1 mt-0 mb-1" @onclick="ToggleSidebarSection" />
5050
@Body
5151
<Notification Class="has-text-centered" Color="NotificationColor.Link" HideDeleteButton="true">
52-
<a href="//github.com/BlazorExpress/BlazorExpress.Bulma" class="be-bulma-text-decoration-none">
52+
<a href="@GithubUrl" class="be-bulma-text-decoration-none" target="_blank">
5353
<i class="bi bi-star-fill"></i>
5454
<span>If you like BlazorExpress.Bulma, give it a star on GitHub!</span>
5555
<i class="bi bi-star-fill"></i>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<Button Class="bi bi-box-arrow-right menu-toggle-button ml-1 mt-0 mb-1" @onclick="ToggleSidebarSection" />
5050
@Body
5151
<Notification Class="has-text-centered mt-3" Color="NotificationColor.Link" HideDeleteButton="true">
52-
<a href="//github.com/BlazorExpress/BlazorExpress.Bulma" class="be-bulma-text-decoration-none">
52+
<a href="@GithubUrl" class="be-bulma-text-decoration-none" target="_blank">
5353
<i class="bi bi-star-fill"></i>
5454
<span>If you like BlazorExpress.Bulma, give it a star on GitHub!</span>
5555
<i class="bi bi-star-fill"></i>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@Body
1212
<div class="container is-max-desktop mb-4">
1313
<Notification Class="has-text-centered" Color="NotificationColor.Link" HideDeleteButton="true">
14-
<a href="//github.com/BlazorExpress/BlazorExpress.Bulma" class="be-bulma-text-decoration-none">
14+
<a href="@GithubUrl" class="be-bulma-text-decoration-none" target="_blank">
1515
<i class="bi bi-star-fill"></i>
1616
<span>If you like BlazorExpress.Bulma, give it a star on GitHub!</span>
1717
<i class="bi bi-star-fill"></i>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dotnet add package BlazorExpress.Bulma
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css">
2+
<link rel="stylesheet" href="_content/BlazorExpress.Bulma/css/blazorexpress.bulma.css">
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<script src="_content/BlazorExpress.Bulma/js/blazorexpress.bulma.js"></script>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@using BlazorExpress.Bulma

0 commit comments

Comments
 (0)