* zin: change example page
This commit is contained in:
@@ -3,16 +3,27 @@ namespace zin;
|
||||
|
||||
page
|
||||
(
|
||||
set('title', $title),
|
||||
h('h1', 'hello'),
|
||||
button('BUTTON'),
|
||||
btn('Primary')->primary()->rounded(),
|
||||
set ('title', $title),
|
||||
h ('h1', 'hello2')->setClass('text-danger'),
|
||||
btn
|
||||
(
|
||||
'Primary',
|
||||
set('.', 'primary'),
|
||||
set('active', true),
|
||||
set('icon', 'flag'),
|
||||
),
|
||||
icon('project'),
|
||||
div
|
||||
(
|
||||
setClass('primary-pale'),
|
||||
h2('Headings2'),
|
||||
h3('Headings3'),
|
||||
html('<div>test</div>'),
|
||||
p('lorem', strong('bold'))
|
||||
icon('star'),
|
||||
setClass ('primary-pale'),
|
||||
h2 ('Headings2'),
|
||||
h3 ('Headings3'),
|
||||
html ('<div>test</div>'),
|
||||
p
|
||||
(
|
||||
'lorem',
|
||||
strong('bold'),
|
||||
)
|
||||
)
|
||||
)->x();
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user