From b8064d55ab4f61fe6fd5be651d817972adc26baf Mon Sep 17 00:00:00 2001 From: xaralis <filip.varecha@fragaria.cz> Date: Tue, 23 Jun 2020 12:24:37 +0200 Subject: [PATCH] Add forgotten templates --- .../lists/linked-unordered-list.mustache | 14 +++++++ .../election-program-point.mustache | 39 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 source/_patterns/00-atoms/lists/linked-unordered-list.mustache create mode 100644 source/_patterns/03-templates/election-program-point.mustache diff --git a/source/_patterns/00-atoms/lists/linked-unordered-list.mustache b/source/_patterns/00-atoms/lists/linked-unordered-list.mustache new file mode 100644 index 0000000..87a215e --- /dev/null +++ b/source/_patterns/00-atoms/lists/linked-unordered-list.mustache @@ -0,0 +1,14 @@ +<ul class="unordered-list unordered-list--linked {{ classes }}"> + <li> + <a href="#" class="font-bold">{{ cta }}</a> + </li> + <li> + <a href="#">{{ cta }}</a> + </li> + <li> + <a href="#">{{ cta }}</a> + </li> + <li> + <a href="#">{{ cta }}</a> + </li> +</ul> diff --git a/source/_patterns/03-templates/election-program-point.mustache b/source/_patterns/03-templates/election-program-point.mustache new file mode 100644 index 0000000..043c7d8 --- /dev/null +++ b/source/_patterns/03-templates/election-program-point.mustache @@ -0,0 +1,39 @@ +{{> organisms-header }} + +<div class="container container--default py-8 lg:py-24"> + <article> + <div class="lg:flex mt-8 lg:space-x-8 xl:space-x-16"> + <div class="lg:w-3/5 xl:w-2/3"> + <h1 class="head-alt-md md:head-alt-lg max-w-5xl mb-4">ĹĂzenĂ a organizaÄŤnĂ struktura mÄ›sta</h1> + <p class="font-bold text-lg leading-normal mb-8">{{ excerpt.medium }}</p> + {{> molecules-content-block(classes: "w-full", noStartHeadline: true) }} + </div> + <div class="pt-8 lg:w-2/5 xl:w-1/3 lg:pt-0"> + <div class="card elevation-10"> + <div class="card__body"> + {{> molecules-basic-badge(occupation: "Garant programovĂ©ho bodu") }} + <hr class="hr--condensed"> + <div class="content-block"> + <h2>Volby</h2> + <h3>Program na radnici</h3> + {{> atoms-linked-unordered-list }} + <hr class="hr--condensed"> + <h3>Program pro Pardubice V</h3> + {{> atoms-linked-unordered-list }} + <hr class="hr--condensed"> + <h3>PovolebnĂ strategie</h3> + <p>PĹ™eÄŤtÄ›te si, jak se zachováme po volbách. NemusĂte volit zajĂce v pytli.</p> + {{> atoms-icon-button(cta: "Zjistit vĂc", icon: "fas fa-chevron-right", classes: "btn--black btn--hoveractive btn--fullwidth md:btn--autowidth") }} + <hr class="hr--condensed"> + <h3>FinancovánĂ kampanÄ›</h3> + <p>TransparentnĂ financovánĂ kampanÄ› je pro nás samozĹ™ejmost.</p> + {{> atoms-icon-button(cta: "Zjistit vĂc", icon: "fas fa-chevron-right", classes: "btn--black btn--hoveractive btn--fullwidth md:btn--autowidth") }} + </div> + </div> + </div> + </div> + </div> + </article> +</div> + +{{> organisms-footer }} -- GitLab