[WEB-1559] chore: hide workspace level pages app switcher. (#474)

This commit is contained in:
Prateek Shourya
2024-06-24 13:46:58 +05:30
committed by GitHub
parent b0b0f13ad1
commit fb01b9340c
2 changed files with 14 additions and 0 deletions

View File

@@ -9,6 +9,17 @@ import { PagesAppCommandPalette } from "@/plane-web/components/command-palette";
import { PagesAppSidebar } from "./sidebar";
export default function WorkspacePagesLayout({ children }: { children: React.ReactNode }) {
// Workspace pages in coming soon page
if (true)
return (
<div className="relative flex h-screen w-full items-center justify-center overflow-hidden">
<div className="text-center">
<span className="text-2xl mb-4 block">Congratulations! 🎉 You found our easter egg! 🥚</span>
<p className="text-lg">Workspace pages are coming soon! Please stay tuned for exciting updates. 🚀</p>
</div>
</div>
);
return (
<AuthenticationWrapper>
<PagesAppCommandPalette />

View File

@@ -29,6 +29,9 @@ export const AppSwitcher = () => {
const isPagesApp = pathname.includes(`/${workspaceSlug.toString()}/pages`);
// Hide app switcher for now
if (true) return null;
return (
<div className="flex my-2 rounded-lg bg-custom-sidebar-background-90 w-full p-1">
{APPS_LIST.map((app) => (