* zin: change example page

This commit is contained in:
Hao Sun
2023-01-30 18:00:41 +08:00
parent 3002612389
commit 4c64d874c3
+21 -10
View File
@@ -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();
);