mirror of
https://github.com/Significant-Gravitas/Auto-GPT.git
synced 2025-01-08 11:57:32 +08:00
feat(frontend): Disable theme toggle (#9062)
### Changes 🏗️
This disables the theme toggle for now, I did not remove it incase we
plan to properly add it back in the future
This commit is contained in:
parent
bb8a37911c
commit
b1d869aad2
@ -6,11 +6,13 @@ import { MobileNavBar } from "./MobileNavBar";
|
|||||||
import { Button } from "./Button";
|
import { Button } from "./Button";
|
||||||
import CreditsCard from "./CreditsCard";
|
import CreditsCard from "./CreditsCard";
|
||||||
import { ProfileDetails } from "@/lib/autogpt-server-api/types";
|
import { ProfileDetails } from "@/lib/autogpt-server-api/types";
|
||||||
import { ThemeToggle } from "./ThemeToggle";
|
|
||||||
import { NavbarLink } from "./NavbarLink";
|
import { NavbarLink } from "./NavbarLink";
|
||||||
import getServerUser from "@/lib/supabase/getServerUser";
|
import getServerUser from "@/lib/supabase/getServerUser";
|
||||||
import BackendAPI from "@/lib/autogpt-server-api";
|
import BackendAPI from "@/lib/autogpt-server-api";
|
||||||
|
|
||||||
|
// Disable theme toggle for now
|
||||||
|
// import { ThemeToggle } from "./ThemeToggle";
|
||||||
|
|
||||||
interface NavLink {
|
interface NavLink {
|
||||||
name: string;
|
name: string;
|
||||||
href: string;
|
href: string;
|
||||||
@ -93,7 +95,7 @@ export const Navbar = async ({ links, menuItemGroups }: NavbarProps) => {
|
|||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
<ThemeToggle />
|
{/* <ThemeToggle /> */}
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
{/* Mobile Navbar - Adjust positioning */}
|
{/* Mobile Navbar - Adjust positioning */}
|
||||||
|
Loading…
Reference in New Issue
Block a user