From 9cdd37c5e3c82d5307fbbd976a78eb126af86bc6 Mon Sep 17 00:00:00 2001 From: Peace Date: Fri, 5 Jul 2024 23:38:16 +0900 Subject: [PATCH] main layout --- .../Components/Layout/NavMenu.razor | 1 + .../Components/Pages/LayoutMainLayout.razor | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 BlazorFluentUI/Components/Pages/LayoutMainLayout.razor diff --git a/BlazorFluentUI/Components/Layout/NavMenu.razor b/BlazorFluentUI/Components/Layout/NavMenu.razor index ff98319..bc1ff66 100644 --- a/BlazorFluentUI/Components/Layout/NavMenu.razor +++ b/BlazorFluentUI/Components/Layout/NavMenu.razor @@ -16,6 +16,7 @@ BodyContent Grid Layout + MainLayout diff --git a/BlazorFluentUI/Components/Pages/LayoutMainLayout.razor b/BlazorFluentUI/Components/Pages/LayoutMainLayout.razor new file mode 100644 index 0000000..274d779 --- /dev/null +++ b/BlazorFluentUI/Components/Pages/LayoutMainLayout.razor @@ -0,0 +1,28 @@ +@page "/layoutmainlayout" + +@rendermode RenderMode.InteractiveServer + +Layout + + + The FluentMainLayout component offers a framework for a layout of a page in a site + + + +

Fluent UI Component

+

A subheader here

+ + Lorem ipsum... + + + Home + +
+
+ +@code { + bool showHeader = true; + bool showNavMenu = true; + bool showBodyContent = true; + bool showFooter = true; +}