From c412660f16c2d8052556dd13f220668e4859d2c8 Mon Sep 17 00:00:00 2001 From: Gary Chan Date: Fri, 9 Feb 2024 11:07:01 -0800 Subject: [PATCH 1/2] removes end of paragraph tag --- src/Templates/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Templates/README.md b/src/Templates/README.md index e4340a83fd..a1bda23909 100644 --- a/src/Templates/README.md +++ b/src/Templates/README.md @@ -1,5 +1,5 @@ > **IMPORTANT!!** -> Just as with the standard Blazor Web App template, Blazor will use SSR by default. If you want to have interactive components, make sure you add a rendermode to the app, page or component!

+> Just as with the standard Blazor Web App template, Blazor will use SSR by default. If you want to have interactive components, make sure you add a rendermode to the app, page or component! ## Installation Install the templates by running the command: @@ -27,6 +27,6 @@ dotnet new uninstall Microsoft.FluentUI.AspNetCore.Templates ``` ## Support -The Microsoft Fluent UI Blazor library is an open source project and is **not** an official part of ASP.NET Core, which means it’s **not** officially -supported and isn’t committed to ship updates as part of any official .NET updates. It is built and maintained by Microsoft employees (**and** other contributors) -and offers support, like most other open source projects, on a best effort base through the GitHub repository **only**. \ No newline at end of file +The Microsoft Fluent UI Blazor library is an open source project and is **not** an official part of ASP.NET Core, which means it’s **not** officially +supported and isn’t committed to ship updates as part of any official .NET updates. It is built and maintained by Microsoft employees (**and** other contributors) +and offers support, like most other open source projects, on a best effort base through the GitHub repository **only**. From d79f7e1a29ca32f1fdcf6a055e96360520a7c9ac Mon Sep 17 00:00:00 2001 From: Gary Chan Date: Fri, 9 Feb 2024 11:07:53 -0800 Subject: [PATCH 2/2] makes razor file created from templates neater --- .../BlazorWeb-CSharp/Components/Layout/MainLayout.razor | 2 +- .../BlazorWeb-CSharp/Components/Layout/NavMenu.razor | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Templates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Layout/MainLayout.razor b/src/Templates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Layout/MainLayout.razor index 9b5b103f9a..9c4e2b2a4c 100644 --- a/src/Templates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Layout/MainLayout.razor +++ b/src/Templates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Layout/MainLayout.razor @@ -1,4 +1,5 @@ @inherits LayoutComponentBase + @*#if (SampleContent) --> @@ -25,7 +26,6 @@
@Body
- ##endif*@ @*#if (UseServer || UseWebAssembly) --> diff --git a/src/Templates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Layout/NavMenu.razor b/src/Templates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Layout/NavMenu.razor index 4ce4ed370e..23706148b9 100644 --- a/src/Templates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Layout/NavMenu.razor +++ b/src/Templates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Layout/NavMenu.razor @@ -1,7 +1,7 @@ @*#if (UseServer && !InteractiveAtRoot) --> @rendermode InteractiveServer -##endif*@ +##endif*@ @*#if (IndividualLocalAuth) @implements IDisposable @@ -41,7 +41,6 @@ @code { private bool expanded = true; - @*#if (IndividualLocalAuth) private string? currentUrl; @@ -63,4 +62,3 @@ } ##endif*@ } -