diff --git a/admin/inertia/layouts/AppLayout.tsx b/admin/inertia/layouts/AppLayout.tsx index d740058..a1d9ff2 100644 --- a/admin/inertia/layouts/AppLayout.tsx +++ b/admin/inertia/layouts/AppLayout.tsx @@ -4,6 +4,9 @@ import ChatButton from '~/components/chat/ChatButton' import ChatModal from '~/components/chat/ChatModal' import useServiceInstalledStatus from '~/hooks/useServiceInstalledStatus' import { SERVICE_NAMES } from '../../constants/service_names' +import { Link } from '@inertiajs/react' +import { IconArrowLeft } from '@tabler/icons-react' +import classNames from 'classnames' export default function AppLayout({ children }: { children: React.ReactNode }) { const [isChatOpen, setIsChatOpen] = useState(false) @@ -11,6 +14,13 @@ export default function AppLayout({ children }: { children: React.ReactNode }) { return (
+ { + window.location.pathname !== '/home' && ( + + +

Back to Home

+ + )}
(window.location.href = '/home')} @@ -18,7 +28,11 @@ export default function AppLayout({ children }: { children: React.ReactNode }) { Project Nomad Logo

Command Center

-
+
{children}