مخفی سازی موقت بخش های غیر فعال

This commit is contained in:
mahmoodsht 2025-10-18 12:19:34 +03:30
parent ac1081cdd2
commit a45ddda0f3
4 changed files with 16 additions and 16 deletions

View File

@ -160,9 +160,9 @@ This document describes the exact implementation of the login page based on the
onChange={(e) => setRememberMe(e.target.checked)} onChange={(e) => setRememberMe(e.target.checked)}
className="w-4 h-4 text-[#4FD1C7] bg-white border-gray-300 rounded focus:ring-[#4FD1C7] focus:ring-2 accent-[#4FD1C7]" className="w-4 h-4 text-[#4FD1C7] bg-white border-gray-300 rounded focus:ring-[#4FD1C7] focus:ring-2 accent-[#4FD1C7]"
/> />
<Label htmlFor="remember" className="text-white text-sm font-persian cursor-pointer"> // <Label htmlFor="remember" className="text-white text-sm font-persian cursor-pointer">
همیشه متصل بمانم // همیشه متصل بمانم
</Label> // </Label>
</div> </div>
{/* Submit Button */} {/* Submit Button */}

View File

@ -176,7 +176,7 @@ export function LoginForm({ onSuccess }: LoginFormProps) {
/> />
{/* Remember Me Checkbox */} {/* Remember Me Checkbox */}
<div className="flex justify-end"> {/* <div className="flex justify-end">
<CheckboxField <CheckboxField
id="remember" id="remember"
label="همیشه متصل بمان" label="همیشه متصل بمان"
@ -185,7 +185,7 @@ export function LoginForm({ onSuccess }: LoginFormProps) {
disabled={isLoading} disabled={isLoading}
size="md" size="md"
/> />
</div> </div> */}
{/* Login Button */} {/* Login Button */}
<Button <Button

View File

@ -351,7 +351,7 @@ export function Header({
{user?.email} {user?.email}
</div> </div>
</div> </div>
<div className="py-1"> {/* <div className="py-1">
<Link <Link
to="/dashboard/profile" to="/dashboard/profile"
className="flex items-center gap-2 px-3 py-2 text-sm text-gray-300 hover:bg-gradient-to-r hover:from-emerald-500/10 hover:to-teal-500/10 hover:text-emerald-300 font-persian" className="flex items-center gap-2 px-3 py-2 text-sm text-gray-300 hover:bg-gradient-to-r hover:from-emerald-500/10 hover:to-teal-500/10 hover:text-emerald-300 font-persian"
@ -368,7 +368,7 @@ export function Header({
<Settings className="h-4 w-4" /> <Settings className="h-4 w-4" />
تنظیمات تنظیمات
</Link> </Link>
</div> </div> */}
</div> </div>
)} )}
</div> </div>

View File

@ -110,12 +110,12 @@ const menuItems: MenuItem[] = [
]; ];
const bottomMenuItems: MenuItem[] = [ const bottomMenuItems: MenuItem[] = [
{ // {
id: "settings", // id: "settings",
label: "تنظیمات", // label: "تنظیمات",
icon: Settings, // icon: Settings,
href: "/dashboard/settings", // href: "/dashboard/settings",
}, // },
{ {
id: "logout", id: "logout",
label: "خروج", label: "خروج",