From b903b30d81eb531eead430db3c9cc934ab5dea8f Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 4 Jun 2018 21:12:57 +0800 Subject: Update old docs to new Pug templates --- docs/src/contents/chips.pug | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/src/contents/chips.pug (limited to 'docs/src/contents/chips.pug') diff --git a/docs/src/contents/chips.pug b/docs/src/contents/chips.pug new file mode 100644 index 0000000..ff02780 --- /dev/null +++ b/docs/src/contents/chips.pug @@ -0,0 +1,44 @@ +p Chips are complex entities in small blocks. + +.columns + .column.col-12 + span.chip + | Crime + span.chip + | Drama + span.chip + | Biography + a.btn.btn-clear(href="#" aria-label="Close" role="button") + span.chip + | Mystery + a.btn.btn-clear(href="#" aria-label="Close" role="button") + .column.col-12 + .chip + figure.avatar.avatar-sm(data-initial="TS" style="background-color: #5755d9;") + | Tony Stark + .chip + img.avatar.avatar-sm(src="img/avatar-1.png" alt="Thor Odinson") + | Thor Odinson + .chip + img.avatar.avatar-sm(src="img/avatar-4.png" alt="Steve Rogers") + | Steve Rogers + +p + | Add a container element with the #[code chip] class. + | And add child text element, buttons or avatars with the #[code avatar] class. + +pre.code(data-lang='HTML') + code + :highlight(lang="html") + Crime + + + Biography + + + +
+ + Yan Zhu + +
\ No newline at end of file -- cgit v1.3.1-26-gb76a