When code becomes a living style guide. An introduction to the ideas of atomic design, an atomic design workflow, the usage in a real live project and Pattern Lab.
39. From small to bigger chunks
Already had the CMS in mind
40. Mustache Templates
A simple atom with two variables
<a href="#"
class="link-all {{ more-classes }}">
{{ linktext }}
</a>
41. Mustache Templates
A simple atom with two variables
<a href="#"
class="link-all {{ more-classes }}">
{{ linktext }}
</a>
42. Mustache Templates
A molecule with a loop
<ul class="teaser-list">
! {{# teaserlist}}
! ! <li>
! ! ! <a href="#">{{ text }}</a>
! ! </li>
! {{/ teaserlist}}
</ul>
43. Mustache Templates
A molecule with a loop
<ul class="teaser-list">
! {{# teaserlist}}
! ! <li>
! ! ! <a href="#">{{ text }}</a>
! ! </li>
! {{/ teaserlist}}
</ul>
44. Mustache Templates
An organism with variables and includes
<h2>{{ teaserheader }}</h2>
{{> molecules-teaser-latest}}
{{> molecules-teaser-list}}
{{> atoms-link-all(linktext: All News)}}
45. Mustache Templates
An organism with variables and includes
<h2>{{ teaserheader }}</h2>
{{> molecules-teaser-latest}}
{{> molecules-teaser-list}}
{{> atoms-link-all(linktext: All News)}}