Skip to content

Commit 5884800

Browse files
committed
doc: 移除组件菜单
1 parent 0eaa75e commit 5884800

File tree

4 files changed

+0
-15
lines changed

4 files changed

+0
-15
lines changed

src/BootstrapBlazor.Server/Components/Components/Header.razor

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,9 @@
1414
<li class="nav-item">
1515
<a class="nav-link" href="introduction">@IntroductionText</a>
1616
</li>
17-
<li class="nav-item">
18-
<a class="nav-link" href="components">@ComponentsText</a>
19-
</li>
2017
<li class="nav-item">
2118
<a class="nav-link" href="tutorials">@TutorialsText</a>
2219
</li>
23-
@* @if (CultureInfo.CurrentUICulture.Name == "zh-CN")
24-
{
25-
<li class="nav-item">
26-
<a class="nav-link" href="https://theme.blazor.zone">主题</a>
27-
</li>
28-
} *@
2920
</ul>
3021
</div>
3122
<div class="d-flex flex-fill"></div>

src/BootstrapBlazor.Server/Components/Components/Header.razor.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ public partial class Header
3030
[NotNull]
3131
private string? IntroductionText { get; set; }
3232

33-
[NotNull]
34-
private string? ComponentsText { get; set; }
35-
3633
[NotNull]
3734
private string? DownloadText { get; set; }
3835

@@ -53,7 +50,6 @@ protected override void OnInitialized()
5350
DownloadText ??= Localizer[nameof(DownloadText)];
5451
HomeText ??= Localizer[nameof(HomeText)];
5552
IntroductionText ??= Localizer[nameof(IntroductionText)];
56-
ComponentsText ??= Localizer[nameof(ComponentsText)];
5753
TutorialsText ??= Localizer[nameof(TutorialsText)];
5854
_versionString = $"v{PackageVersionService.Version}";
5955
}

src/BootstrapBlazor.Server/Locales/en-US.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4502,7 +4502,6 @@
45024502
"BootstrapBlazor.Server.Components.Components.Header": {
45034503
"DownloadText": "Download",
45044504
"HomeText": "Home",
4505-
"ComponentsText": "Components",
45064505
"IntroductionText": "Documents",
45074506
"TutorialsText": "Tutorials"
45084507
},

src/BootstrapBlazor.Server/Locales/zh-CN.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4502,7 +4502,6 @@
45024502
"BootstrapBlazor.Server.Components.Components.Header": {
45034503
"DownloadText": "Download",
45044504
"HomeText": "首页",
4505-
"ComponentsText": "组件",
45064505
"IntroductionText": "文档",
45074506
"TutorialsText": "实战"
45084507
},

0 commit comments

Comments
 (0)