优化navbar链接样式
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-12-11 17:13:35 +08:00
parent e845c4abb7
commit 0d251a7e68
4 changed files with 169 additions and 20 deletions

View File

@@ -4,6 +4,7 @@ import IMAGES from "@/config/images";
import IconClick from "./IconClick";
import { useState } from "react";
import LightButton from "./buttons/LightButton";
import GhostButton from "./buttons/GhostButton";
export default function LanguageSettings() {
const [showLanguageMenu, setShowLanguageMenu] = useState(false);
@@ -26,18 +27,18 @@ export default function LanguageSettings() {
{showLanguageMenu && (
<div>
<div className="absolute top-10 right-0 rounded-md shadow-md flex flex-col gap-2">
<LightButton
<GhostButton
className="w-full"
onClick={() => setLocale("en-US")}
>
English
</LightButton>
<LightButton
</GhostButton>
<GhostButton
className="w-full"
onClick={() => setLocale("zh-CN")}
>
</LightButton>
</GhostButton>
</div>
</div>
)}