feat(sidebar): add collapsible and rtl-friendly Sidebar component

This commit is contained in:
2026-03-13 19:08:31 +08:00
parent a1a8b6ecd5
commit 6b906a6299
6 changed files with 145 additions and 28 deletions

View File

@@ -89,7 +89,7 @@ export default function Auth() {
<div className="relative hidden h-full flex-col bg-slate-900 dark:bg-slate-900/50 p-10 text-white lg:flex border-e border-slate-200 dark:border-slate-800">
<div className="relative z-20 flex items-center text-lg font-medium gap-2">
<Command className="h-6 w-6" />
Qlockify
{t.title || "Qlockify"}
</div>
<div className="relative z-20 mt-auto">
<blockquote className="space-y-2">
@@ -106,7 +106,7 @@ export default function Auth() {
<Command className="h-8 w-8" />
</div>
<h1 className="text-2xl font-semibold tracking-tight">
{step === "mobile" && t.login.welcome}
{step === "mobile" && t.login.welcome(t.title)}
{step === "password" && t.login.enterPassword}
{step === "otp" && t.login.verifyNumber}
</h1>