use Reaction::Class;
use aliased 'Reaction::UI::ViewPort';
-class SiteLayout is ViewPort, which {
+use namespace::clean -except => [ qw(meta) ];
+extends ViewPort;
- has 'title' => (isa => 'Str', is => 'rw', lazy_fail => 1);
- has 'static_base_uri' => (isa => 'Str', is => 'rw', lazy_fail => 1);
-};
+has 'title' => (isa => 'Str', is => 'rw', lazy_fail => 1);
+
+has 'static_base_uri' => (isa => 'Str', is => 'rw', lazy_fail => 1);
+
+has 'meta_info' => (
+ is => 'rw', isa => 'HashRef',
+ required => '1', default => sub { {} }
+);
+
+__PACKAGE__->meta->make_immutable;
+
1;