This commit is contained in:
2026-04-26 01:24:26 +08:00
12 changed files with 186 additions and 248 deletions

View File

@@ -1,8 +1,8 @@
@{
ViewData["Title"] = "Home Page";
ViewData["Title"] = "首页";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
<h1 class="display-4">欢迎</h1>
<p>了解更多关于 <a href="https://learn.microsoft.com/aspnet/core">使用 ASP.NET Core 构建 Web 应用</a> 的信息。</p>
</div>

View File

@@ -1,6 +1,6 @@
@{
ViewData["Title"] = "Privacy Policy";
ViewData["Title"] = "隐私";
}
<h1>@ViewData["Title"]</h1>
<p>Use this page to detail your site's privacy policy.</p>
<p>使用此页面详细说明您网站的隐私政策。</p>

View File

@@ -1,4 +1,6 @@
<!DOCTYPE html>
@using Acdiu.AspNetCore.Mvc.Commons
<!DOCTYPE html>
<html lang="zh-cn" data-bs-theme="@ViewBag.CurrentTheme">
<head>
<meta charset="utf-8" />
@@ -6,13 +8,14 @@
<title>@ViewData["Title"] - AcdiuTools</title>
<script type="importmap"></script>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="~/lib/bootstrap-icons-1.13.1\font\bootstrap-icons.min.css" />
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/AcdiuTools.styles.css" asp-append-version="true" />
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="~/lib/bootstrap-icons-1.13.1/font/bootstrap-icons.min.css" />
<link rel="stylesheet" href="~/ac/ac.min.css" asp-append-version="true" />
</head>
<body>
@@ -38,8 +41,10 @@
</ul>
</div>
@* 主题切换按钮 *@
<theme-toggle />
<div>
@* 主题切换按钮 *@
<theme-toggle />
</div>
</div>
</nav>
</header>
@@ -49,7 +54,7 @@
</main>
</div>
<footer class="border-top footer text-muted">
<footer class="border-top footer text-muted mt-3">
<div class="container">
&copy; 2018-@DateTime.Now.Year - <a asp-area="" asp-controller="Home" asp-action="Index">AcdiuTools</a>
</div>

View File

@@ -1,4 +1,5 @@
@using AcdiuTools
@using AcdiuTools.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, AcdiuTools
@addTagHelper *, AcdiuTools
@addTagHelper *, Acdiu.AspNetCore.Mvc.Commons