fixed shared to viewing in settings and added workspace navigation in mobile view

This commit is contained in:
2026-02-11 13:21:23 -06:00
parent 25403ecaf0
commit 9761c8c5fc
3 changed files with 105 additions and 39 deletions
+6 -1
View File
@@ -1,5 +1,5 @@
import { type Component, type JSX, createSignal, Show, lazy, Suspense, onMount } from "solid-js";
import { Sidebar, BottomNav } from "./Navigation";
import { Sidebar, BottomNav, ContextSwitcher } from "./Navigation";
import { store, activeTaskId, setActiveTaskId } from "@/store";
import { PanelLeftOpen } from "lucide-solid";
@@ -62,6 +62,11 @@ export const Layout: Component<LayoutProps> = (props) => {
</div>
)}
{/* Mobile Context Switcher */}
<div class="fixed top-4 left-4 z-[60] md:hidden">
<ContextSwitcher isMobile={true} />
</div>
{/* Main Content Area */}
<main class="flex-1 min-w-0 overflow-y-auto overflow-x-hidden pb-32 sm:pb-6 relative scroll-smooth">
<div class="w-full max-w-screen-2xl mx-auto px-4 sm:px-8 lg:px-12 pt-16 sm:pt-20 pb-8 space-y-6 sm:space-y-8">