25 lines
720 B
TypeScript
25 lines
720 B
TypeScript
import type { LayoutNode } from '@/components/Workspace';
|
|
|
|
export const defaultLayout: LayoutNode = {
|
|
type: 'group',
|
|
id: 'home-root',
|
|
direction: 'horizontal',
|
|
children: [
|
|
{ node: { type: 'panel', id: 'home-left', appType: 'workspace-list' }, size: 20 },
|
|
{
|
|
node: {
|
|
type: 'group',
|
|
id: 'home-center',
|
|
direction: 'vertical',
|
|
children: [
|
|
{ node: { type: 'panel', id: 'homepage-widget-panel', appType: 'widget-panel' }, size: 60 },
|
|
{ node: { type: 'panel', id: 'home-chat', appType: 'chat-launcher' }, size: 40 },
|
|
],
|
|
},
|
|
size: 60,
|
|
},
|
|
{ node: { type: 'panel', id: 'home-right', appType: 'project-list' }, size: 20 },
|
|
],
|
|
};
|
|
|