aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI/View/Site/Widget/Layout.pm
blob: 5d1b57c6ca0363bf261195660c4b989fc3e5707c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package ComponentUI::View::Site::Widget::Layout;

use Reaction::UI::WidgetClass;

class Layout which {

  widget renders  [ qw(menu sidebar header main_content) ];

  menu         renders [ string { "DUMMY" }        ];
  sidebar      renders [ string { "Sidebar Shit" } ];
  header       renders [ string { "DUMMY" }        ];
  main_content renders [ viewport over func('viewport', 'inner')];

};

1;