用服务器组件写了点/folders
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-11-11 22:01:32 +08:00
parent d4f786c990
commit 94d570557b
13 changed files with 291 additions and 167 deletions

View File

@@ -35,17 +35,20 @@ export function Navbar() {
const session = useSession();
return (
<div className="flex justify-between items-center w-full h-16 px-8 bg-[#35786f] text-white">
<Link href={"/"} className="text-xl flex">
<Image
src={"/favicon.ico"}
alt="logo"
width="32"
height="32"
className="rounded-4xl"
></Image>
<span className="font-bold">{t("title")}</span>
</Link>
<div className="flex gap-4 text-xl">
<div className="flex gap-4 text-xl justify-center items-center">
<Link href={"/"} className="text-xl flex border-b">
<Image
src={"/favicon.ico"}
alt="logo"
width="32"
height="32"
className="rounded-4xl"
></Image>
<span className="font-bold text-pink-200">{t("title")}</span>
</Link>
<MyLink href="/folders">{t("folders")}</MyLink>
</div>
<div className="flex gap-4 text-xl justify-center items-center">
<div className="relative">
{showLanguageMenu && (
<div>