Callout – inline upozornění

Express (upsell s CTA)

  • Upozornění ihned má Realitní hlídač Expres
    69 Kč měsíčně z peněženky, až 30 hlídačů. První měsíc zdarma.
  •         {% include "@Components/callout/callout.twig" with { props: {
      variant: "express",
      title: "Upozornění ihned má Realitní hlídač Expres",
      text: "69 Kč měsíčně z peněženky, až 30 hlídačů. První měsíc zdarma.",
      button: {
        tag: "button",
        variant: "conversion",
        title: "Zapnout Expres",
        attributes: ['data-express-action="activate"']
      }
    } } %}
    
          
  •           <div class="callout callout--express">
      <span class="callout__icon" aria-hidden="true">
        <span class="icon">
          <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path d="M11.5 2L5 11h4l-1 7 6.5-9h-4l1-7z"/></svg>
      
      </span>
      </span>
      <div class="callout__content">
              <div class="callout__title">Upozornění ihned má Realitní hlídač Expres</div>
                  <div class="callout__text">69 Kč měsíčně z peněženky, až 30 hlídačů. První měsíc zdarma.</div>
          </div>
          <div class="callout__action">
          <button class="btn --conversion" data-express-action="activate">    <span class="btn__title ">Zapnout Expres</span>
          </button>
        </div>
      </div>
    
            

Info

  • Peněženku používáte i na inzerci nemovitostí. Kredit nikdy nepropadá.
  •         {% include "@Components/callout/callout.twig" with { props: {
      variant: "info",
      text: "Peněženku používáte i na inzerci nemovitostí. Kredit nikdy nepropadá."
    } } %}
    
          
  •           <div class="callout callout--info">
      <span class="callout__icon" aria-hidden="true">
        <span class="icon">
          <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="10" cy="10" r="7"/><path d="M10 9v4.5M10 6.6v0.1"/></svg>
      
      </span>
      </span>
      <div class="callout__content">
                  <div class="callout__text">Peněženku používáte i na inzerci nemovitostí. Kredit nikdy nepropadá.</div>
          </div>
      </div>
    
            

Success

  • Nabijeme vám 69 Kč na 1 měsíc zdarma.
  •         {% include "@Components/callout/callout.twig" with { props: {
      variant: "success",
      text: "Nabijeme vám <strong>69 Kč</strong> na 1 měsíc zdarma."
    } } %}
    
          
  •           <div class="callout callout--success">
      <span class="callout__icon" aria-hidden="true">
        <span class="icon">
          <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="10" cy="10" r="7"/><path d="M6.8 10.3l2.2 2.2 4.2-4.8"/></svg>
      
      </span>
      </span>
      <div class="callout__content">
                  <div class="callout__text">Nabijeme vám <strong>69 Kč</strong> na 1 měsíc zdarma.</div>
          </div>
      </div>
    
            

Danger

  •         {% include "@Components/callout/callout.twig" with { props: {
      variant: "danger",
      text: "Bez zapnutého kanálu vám nemůžeme nic poslat – hlídač bude neaktivní."
    } } %}
    
          
  •           <div class="callout callout--danger" role="alert">
      <span class="callout__icon" aria-hidden="true">
        <span class="icon">
          <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="10" cy="10" r="7"/><path d="M10 6.5v4.5M10 13.3v0.1"/></svg>
      
      </span>
      </span>
      <div class="callout__content">
                  <div class="callout__text">Bez zapnutého kanálu vám nemůžeme nic poslat – hlídač bude neaktivní.</div>
          </div>
      </div>
    
            

Schema

    {
  "props": {
    "variant": {
      "type": "string",
      "description": "info (default) | express (zlatý upsell Expresu s CTA) | success | danger"
    },
    "title": {
      "type": "string",
      "description": "Nadpis (typicky jen u express)"
    },
    "text": {
      "type": "string",
      "description": "Text; smí obsahovat , , 
. Texty se vypisují bez escapování (autoescape je vypnutý) – uživatelský obsah musí escapovat aplikace." }, "icon": { "type": "object", "description": "{ src } – vlastní inline SVG ikona; výchozí podle varianty (bolt | info | check-circle | alert)" }, "button": { "type": "object", "description": "Props komponenty button – akce vpravo (na mobilu pod textem přes celou šířku)" }, "id": { "type": "string", "description": "Id prvku" }, "hidden": { "type": "boolean", "description": "Vykreslí callout skrytý (atribut hidden) – zobrazí ho aplikace" }, "extraClass": { "type": "string", "description": "Extra CSS class" } } }