mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-31 00:40:46 +02:00
21 lines
658 B
TypeScript
21 lines
658 B
TypeScript
"use client";
|
|
|
|
import { DashboardLayout } from "@multica/views/layout";
|
|
import { MulticaIcon } from "@multica/ui/components/common/multica-icon";
|
|
import { SearchCommand, SearchTrigger } from "@multica/views/search";
|
|
import { ChatFab, ChatWindow } from "@multica/views/chat";
|
|
|
|
export default function Layout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<DashboardLayout
|
|
loadingIndicator={<MulticaIcon className="size-6" />}
|
|
searchSlot={<SearchTrigger />}
|
|
extra={<><SearchCommand /><ChatWindow /><ChatFab /></>}
|
|
onboardingPath="/onboarding"
|
|
loginPath="/login"
|
|
>
|
|
{children}
|
|
</DashboardLayout>
|
|
);
|
|
}
|