Close menu

Pattern Library

<div class="__js-root">
  <ui-popout>
    <template slot="toggler">
      {{ name }}
    </template>
    <ui-popout-content>
      <div>
        {% if guarantor_name %}
          <div
            class="
              !text-grey-250 [&_*]:!text-grey-250

              mb-3 flex gap-2 items-center justify-end
            "
          >
            <div class="mr-2">
              Garant programového bodu:
            </div>

            <img
              alt="Obrázek osoby {{ guarantor_name }}"
              class="w-10 h-10 opacity-75 m-0 p-0 rounded-full"
              src="{{ guarantor_image_url }}"
            >

            <strong>
              <a href="{{ guarantor_url }}">
                {{ guarantor_name }}
              </a>
            </strong>
          </div>
        {% endif %}

        <div class="prose max-w-screen-lg">
          {% include "patterns/atoms/text/paragraph.html" with text=text %}
        </div>
      </div>
    </ui-popout-content>
  </ui-popout>
</div>
context:
  name: 'Vyskakovací bod programu'
  text: 'Illo eligendi ipsa qui. Sunt sint earum sint. Nostrum 
    aut sapiente rerum consequatur corporis in. Praesentium 
    asperiores voluptatibus enim qui velit quaerat. Perspiciatis 
    eum autem quidem et beatae quia dolore. Esse fuga architecto 
    delectus tenetur nesciunt aut aut dolore.'
  guarantor_name: 'Petr Vepřový'
  guarantor_url: 'https://example.com'
  guarantor_image_url: '../../../../../static/images/person-table.png'