YaeBlog/YaeBlog.Theme.FluentUI/Layout/MainLayout.razor

78 lines
2.9 KiB
Plaintext
Raw Normal View History

2024-01-21 19:57:14 +08:00
@using YaeBlog.Core.Models
2024-01-20 17:10:32 +08:00
@inherits LayoutComponentBase
2024-01-21 19:57:14 +08:00
@inject BlogOptions BlogOptionsInstance
2024-01-20 17:10:32 +08:00
<FluentLayout>
<FluentHeader>
<FluentStack Orientation="@Orientation.Horizontal">
<div style="width: 50px"></div>
2024-02-15 20:21:52 +08:00
<a href="./">
2024-01-24 20:53:41 +08:00
<FluentLabel Typo="@Typography.H3" Color="@Color.Lightweight">
2024-01-21 19:57:14 +08:00
@BlogOptionsInstance.Author
2024-01-20 17:10:32 +08:00
</FluentLabel>
</a>
<FluentSpacer/>
2024-02-15 20:21:52 +08:00
<a href="./" style="margin: auto 0 auto 0">
2024-01-25 19:54:54 +08:00
<div class="quick-link">
<FluentIcon Value="@(new Icons.Regular.Size16.Home())" Color="@Color.Fill"/>
<FluentLabel Typo="@Typography.H5" Color="@Color.Lightweight"
Style="margin-left: 0.2rem">
首页
</FluentLabel>
</div>
2024-01-20 17:10:32 +08:00
</a>
2024-02-15 20:21:52 +08:00
<a href="archives" style="margin: auto 0 auto 0">
2024-01-25 19:54:54 +08:00
<div class="quick-link">
<FluentIcon Value="@(new Icons.Regular.Size16.Archive())" Color="@Color.Fill"/>
<FluentLabel Typo="@Typography.H5" Color="@Color.Lightweight"
Style="margin-left: 0.2rem">
归档
</FluentLabel>
</div>
2024-01-20 17:10:32 +08:00
</a>
2024-02-15 20:21:52 +08:00
<a href="tags" style="margin: auto 0 auto 0">
2024-01-25 19:54:54 +08:00
<div class="quick-link">
<FluentIcon Value="@(new Icons.Regular.Size16.Tag())" Color="@Color.Fill"/>
<FluentLabel Typo="@Typography.H5" Color="@Color.Lightweight"
Style="margin-left: 0.2rem">
标签
</FluentLabel>
</div>
2024-01-20 17:10:32 +08:00
</a>
2024-02-15 20:21:52 +08:00
<a href="about" style="margin: auto 0 auto 0">
2024-01-25 19:54:54 +08:00
<div class="quick-link">
<FluentIcon Value="@(new Icons.Regular.Size16.PersonInfo())" Color="@Color.Fill"/>
<FluentLabel Typo="@Typography.H5" Color="@Color.Lightweight"
Style="margin-left: 0.2rem">
关于
</FluentLabel>
</div>
2024-01-20 17:10:32 +08:00
</a>
2024-02-15 20:21:52 +08:00
<a href="links" style="margin: auto 0 auto 0">
2024-01-25 19:54:54 +08:00
<div class="quick-link">
<FluentIcon Value="@(new Icons.Regular.Size16.LinkMultiple())" Color="@Color.Fill"/>
<FluentLabel Typo="@Typography.H5" Color="@Color.Lightweight"
Style="margin-left: 0.2rem">
友链
</FluentLabel>
</div>
2024-01-20 17:10:32 +08:00
</a>
<div style="width: 20px"></div>
2024-01-20 17:10:32 +08:00
</FluentStack>
</FluentHeader>
2024-01-21 19:57:14 +08:00
<FluentBodyContent Style="height: 100%">
<main style="height: 100%">
2024-01-20 17:10:32 +08:00
@Body
</main>
</FluentBodyContent>
</FluentLayout>