Toto je interná vývojová aplikácia.
Ak sa chcete dozvedieť, ako používať systém IDSK system vo svojom projekte, pozrite si Ako začať.

  1. ID-SK
  2. Všetky komponenty
  3. Rázcestník

Signpost - Rázcestník

Code

Markup






<a class='govuk-signpost govuk-signpost__card {%- if vertical %} govuk-signpost__card--vertical {% endif %} govuk-signpost__link' href="#">
    <div class='govuk-signpost__container'>
        <div>
            <h3 class='govuk-signpost__title' >Dlhý nadpis</h3>
            <p class='govuk-signpost__description'>Tento text slúži iba ako ukážka naplneného obsahu v danom komponente. Nepoužívať pri implementácii a dizajne.</p>
        </div>
    </div>
</a>

Macro

{% from "govuk/components/signpost/macro.njk" import govukSignpost %}

{{ govukSignpost({
  asLink: true
}) }}
Code

Markup






<div class='govuk-signpost govuk-signpost__card {%- if vertical %} govuk-signpost__card--vertical {% endif %}' href="#">
    <div class='govuk-signpost__container'>
        <div>
            <h3 class='govuk-signpost__title'  id='signWithAction' >Dlhý nadpis</h3>
            <p class='govuk-signpost__description'>Tento text slúži iba ako ukážka naplneného obsahu v danom komponente. Nepoužívať pri implementácii a dizajne.</p>
            <div class='govuk-signpost__actions'>
                <button class="govuk-button govuk-button__basic" aria-labelledby="signWithAction">
      Akcia
    </button>
            </div>
        </div>
    </div>
</div>

Macro

{% from "govuk/components/signpost/macro.njk" import govukSignpost %}

{{ govukSignpost({
  title: "Dlhý nadpis",
  titleId: "signWithAction",
  actions:
    '<button class="govuk-button govuk-button__basic" aria-labelledby="signWithAction">\n' +
    "  Akcia\n" +
    "</button>\n"
}) }}
Code

Markup






<a class='govuk-signpost govuk-signpost__card {%- if vertical %} govuk-signpost__card--vertical {% endif %} govuk-signpost__link' href="#">
        <div class='govuk-signpost__icon govuk-signpost__icon--vertical '>
            <span class="material-icons" aria-hidden="true">home</span>
        </div>
    <div class='govuk-signpost__container'>
        <div>
            <h3 class='govuk-signpost__title' >Dlhý nadpis</h3>
            <p class='govuk-signpost__description'>Tento text slúži iba ako ukážka naplneného obsahu v danom komponente. Nepoužívať pri implementácii a dizajne.</p>
        </div>
    </div>
</a>

Macro

{% from "govuk/components/signpost/macro.njk" import govukSignpost %}

{{ govukSignpost({
  icon: '<span class="material-icons" aria-hidden="true">home</span>\n',
  asLink: true
}) }}
Code

Markup






<a class='govuk-signpost govuk-signpost__card {%- if vertical %} govuk-signpost__card--vertical {% endif %} govuk-signpost__link' href="#">
    <div class='govuk-signpost__container'>
        <div>
            <img src='https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg' class='govuk-signpost__image' alt='placeholder'/>
            <h3 class='govuk-signpost__title' >Dlhý nadpis</h3>
            <p class='govuk-signpost__description'>Tento text slúži iba ako ukážka naplneného obsahu v danom komponente. Nepoužívať pri implementácii a dizajne.</p>
        </div>
    </div>
</a>

Macro

{% from "govuk/components/signpost/macro.njk" import govukSignpost %}

{{ govukSignpost({
  image:
    "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg",
  asLink: true
}) }}
Code

Markup






<a class='govuk-signpost govuk-signpost__card {%- if vertical %} govuk-signpost__card--vertical {% endif %} govuk-signpost__link' href="#">
        <div class='govuk-signpost__icon'>
            <span class="material-icons" aria-hidden="true">home</span>
        </div>
    <div class='govuk-signpost__container'>
        <div>
            <h3 class='govuk-signpost__title' >Dlhý nadpis</h3>
            <p class='govuk-signpost__description'>Tento text slúži iba ako ukážka naplneného obsahu v danom komponente. Nepoužívať pri implementácii a dizajne.</p>
        </div>
    </div>
</a>

Macro

{% from "govuk/components/signpost/macro.njk" import govukSignpost %}

{{ govukSignpost({
  icon: '<span class="material-icons" aria-hidden="true">home</span>\n',
  layout: "horizontal",
  asLink: true
}) }}
Code

Markup






<a class='govuk-signpost govuk-signpost__card {%- if vertical %} govuk-signpost__card--vertical {% endif %} govuk-signpost__link' href="#">
        <div class='govuk-signpost__icon'>
            <span class="material-icons" aria-hidden="true">home</span>
        </div>
    <div class='govuk-signpost__container'>
        <div>
            <h3 class='govuk-signpost__title' >Dlhý nadpis</h3>
            <p class='govuk-signpost__description'>Tento text slúži iba ako ukážka naplneného obsahu v danom komponente. Nepoužívať pri implementácii a dizajne.</p>
        </div>
            <div class='govuk-signpost__arrow-icon'>
                <span class="material-icons" aria-hidden="true">east</span>
            </div>
    </div>
</a>

Macro

{% from "govuk/components/signpost/macro.njk" import govukSignpost %}

{{ govukSignpost({
  icon: '<span class="material-icons" aria-hidden="true">home</span>\n',
  layout: "horizontal",
  withArrow: true,
  asLink: true
}) }}
Code

Markup






<div class='govuk-signpost govuk-signpost__card--text' href="#">
    <div class='govuk-signpost__container'>
        <div>
 <a href="#">             <h3 class='govuk-signpost__title' >Dlhý nadpis</h3>
 <a/>             <p class='govuk-signpost__description'>Tento text slúži iba ako ukážka naplneného obsahu v danom komponente. Nepoužívať pri implementácii a dizajne.</p>
        </div>
    </div>
</div>

Macro

{% from "govuk/components/signpost/macro.njk" import govukSignpost %}

{{ govukSignpost({
  layout: "text"
}) }}
Code

Markup






<div class='govuk-signpost govuk-signpost__card--text' href="#">
    <div class='govuk-signpost__container'>
        <div>
 <a href="#">             <h3 class='govuk-signpost__title' >Dlhý nadpis</h3>
 <a/>             <p class='govuk-signpost__subtitle'>Tento text slúži iba ako ukážka naplneného obsahu v danom komponente.</p>
            <p class='govuk-signpost__description'>Tento text slúži iba ako ukážka naplneného obsahu v danom komponente. Nepoužívať pri implementácii a dizajne.</p>
        </div>
    </div>
</div>

Macro

{% from "govuk/components/signpost/macro.njk" import govukSignpost %}

{{ govukSignpost({
  layout: "text",
  subtitle:
    "Tento text slúži iba ako ukážka naplneného obsahu v danom komponente."
}) }}
Code

Markup






<div class='govuk-signpost govuk-signpost__card--text' href="#">
    <div class='govuk-signpost__container'>
        <div>
 <a href="#">             <h3 class='govuk-signpost__title' >Dlhý nadpis</h3>
 <a/>             <p class='govuk-signpost__description'>Tento text slúži iba ako ukážka naplneného obsahu v danom komponente. Nepoužívať pri implementácii a dizajne.</p>
            <div class='govuk-signpost__actions'>
                <a href="#" class='govuk-link'>Hypertextovy link</a>
            </div>
        </div>
    </div>
</div>

Macro

{% from "govuk/components/signpost/macro.njk" import govukSignpost %}

{{ govukSignpost({
  layout: "text",
  actions: `<a href="#" class='govuk-link'>Hypertextovy link</a>\n`
}) }}
Code

Markup






<div class='govuk-signpost govuk-signpost__card--text' href="#">
    <div class='govuk-signpost__container'>
        <div>
 <a href="#">             <h3 class='govuk-signpost__title' >Dlhý nadpis</h3>
 <a/>             <p class='govuk-signpost__description'>Tento text slúži iba ako ukážka naplneného obsahu v danom komponente. Nepoužívať pri implementácii a dizajne.</p>
            <p class='govuk-signpost__tag'>1.1. 2020   —   Tag 1   |  Tag 2  |  Tag 3</p>
        </div>
    </div>
</div>

Macro

{% from "govuk/components/signpost/macro.njk" import govukSignpost %}

{{ govukSignpost({
  layout: "text",
  tag: "1.1. 2020   —   Tag 1   |  Tag 2  |  Tag 3"
}) }}