Skip to content
Snippets Groups Projects
Select Git revision
  • 4aedc8e64b4df3634938563ff9062f167b8eb4ae
  • master default protected
  • feat/new-image-formats
  • clickable-select-chevron
  • 2.20.0
  • 2.19.0
  • 2.18.0
  • 2.17.0
  • 2.16.1
  • 2.16.0
  • 2.15.0
  • 2.14.0
  • 2.13.0
  • 2.12.1
  • 2.11.0
  • 2.10.0
  • 2.9.1
  • 2.9.0
  • 2.8.0
  • 2.7.1
  • 2.7.0
  • 2.6.0
  • 2.5.2
  • 2.5.1
24 results

elections-main.mustache

Blame
  • user avatar
    xaralis authored
    38f7dd7f
    History
    elections-main.mustache 3.50 KiB
    {{> organisms-header }}
    
    <article class="hero hero--image py-16 {{ classes }}" style="--image-url: url({{ img.landscape-16x9-fullhd.src }})">
      <div class="container container--default grid lg:grid-rows-3 lg:grid-cols-7 gap-2 items-center">
        <div class="lg:row-span-2 lg:col-span-3 order-1">
          {{> atoms-basic-flag(font: "bg-green-100 text-white head-alt-base", cta: "Volte č. 2", classes: "mb-6") }}
          <h1 class="head-alt-md md:head-alt-xl">Krajské volby 2020</h1>
        </div>
        <div class="lg:row-span-1 lg:col-span-3 order-3">
          <div class="mt-4 md:mt-8 space-y-4">
            {{> atoms-basic-button(classes: "btn--white btn--hoveractive btn--fullwidth md:btn--autowidth text-lg") }}
            {{> atoms-basic-button(classes: "btn--white btn--hoveractive btn--fullwidth md:btn--autowidth text-lg") }}
          </div>
        </div>
        <div class="lg:row-span-3 lg:col-span-4 order-2">
          <img src="/images/hero-profile-img.png" />
        </div>
      </div>
    </article>
    
    <div class="container container--default pb-24 pt-24">
      <div class="text-center">
        {{> molecules-binary-switch(cta1: "Kandidáti", cta2: "Program") }}
      </div>
    
      <h1 class="head-alt-md text-center pt-24 pb-8">Kandidátka do krajských voleb</h1>
    
      <div class="candidate-card-list grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4">
        {{> molecules-candidate-card(wrapperClasses: "sm:candidate-card-list__item-wrapper") }}
        {{> molecules-candidate-card(wrapperClasses: "sm:candidate-card-list__item-wrapper sm:candidate-card-list__item-wrapper--noborder md:candidate-card-list__item-wrapper--border") }}
        {{> molecules-candidate-card(wrapperClasses: "sm:candidate-card-list__item-wrapper md:candidate-card-list__item-wrapper--noborder lg:candidate-card-list__item-wrapper--border") }}
        {{> molecules-candidate-card(wrapperClasses: "sm:candidate-card-list__item-wrapper sm:candidate-card-list__item-wrapper--noborder md:candidate-card-list__item-wrapper--border lg:candidate-card-list__item-wrapper--noborder") }}
        {{> molecules-candidate-card(wrapperClasses: "sm:candidate-card-list__item-wrapper md:candidate-card-list__item-wrapper--border") }}
        {{> molecules-candidate-card(wrapperClasses: "sm:candidate-card-list__item-wrapper sm:candidate-card-list__item-wrapper--noborder lg:candidate-card-list__item-wrapper--border") }}
        {{> molecules-candidate-card(wrapperClasses: "sm:candidate-card-list__item-wrapper") }}
        {{> molecules-banner(color: "bg-black", fullwidthButton: true)}}
      </div>
    
      <div class="candidate-table candidate-table--fadeout pt-8">
        {{> molecules-candidate-table-row }}
        {{> molecules-candidate-table-row }}
        {{> molecules-candidate-table-row }}
        {{> molecules-candidate-table-row }}
        {{> molecules-candidate-table-row }}
        {{> molecules-candidate-table-row }}
        {{> molecules-candidate-table-row }}
        {{> molecules-candidate-table-row }}
        {{> molecules-candidate-table-row }}
        {{> molecules-candidate-table-row }}
      </div>
    
      <div class="text-center pt-8">
        {{> atoms-icon-button(cta: "Zobrazit vše", classes: "text-xl btn--black btn--hoveractive", icon: "fas fa-chevron-right") }}
      </div>
    
      <div class="flex flex-col pt-24 space-y-8 md:space-y-0 md:flex-row md:space-x-8">
        {{> atoms-super-button(cta: "Povolební strategie", icon: "fa fa-chess", classes: "bg-grey-125 hover:bg-black hover:text-white w-full") }}
        {{> atoms-super-button(cta: "Financování kampaně", icon: "fa fa-calculator", classes: "bg-black text-white hover:bg-grey-125 hover:text-black w-full") }}
      </div>
    </div>
    
    
    {{> organisms-footer }}