<article class="event-odd-even bg-mist-green text-racing-green flex flex-col lg:flex-row justify-between">

    <div class="p-6">

        <div class="mb-5 flex">

            <date class="pr-5">11.00am — 12.00am</date>
            <div> / strategy </div>
        </div>

        <div class="text-xl font-bold">Thomas vinterberg </div>
        <div class="text-xl"> Academy Award Winner @  Zentropa </div>

    </div>

    <a href="#" class=" text-racing-green hover:no-underline">
        <div class="p-4 lg:p-1 relative w-52">

            <img src="/img/program.png" alt="img" class="rounded-lg">
        </div>
    </a>

</article>
{% if odd %}
  {% set bg ="bg-mist-green" %}
{% else %}
  {% set bg ="bg-mist-green-2" %}
{% endif %}

<article class="event-odd-even {{ bg }} text-racing-green flex flex-col lg:flex-row justify-between">

  <div class="p-6">

    <div class="mb-5 flex">

      {% if live %}
        <div class="bg-23 text-white inline-block px-2 mr-2">Live</div>
      {% endif %}

      <date class="pr-5">{{time }}</date>
      <div> / {{type}} </div>
    </div>

    <div class="text-xl font-bold">{{ speaker }} </div>
    <div class="text-xl"> {{ speaker_title }} </div>

  </div>

  <a href="#" class=" text-racing-green hover:no-underline">
    <div class="p-4 lg:p-1 relative w-52">

      {% if ondemand %}
      <div class="bg-23 text-white inline-block px-2
      absolute top-1/2 left-6 mx-auto">Watch On Demand</div>
      {% endif %}

      <img src="/img/program.png" alt="img" class="rounded-lg">
    </div>
  </a>

</article>
{
  "title": "Lorem ipsum dolor sit amet",
  "titlelong": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor",
  "text": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
  "date": "2. januar 2018",
  "data-small": "05/08/2019",
  "user": "Steve Jobs",
  "email": "steve@apple.com",
  "url": "https://thememachine.io",
  "streetaddress": "Rådhuspladsen 1",
  "zip": 1321,
  "city": "kbh",
  "phone": "+45 12 13 14 15",
  "labeltext": "Label",
  "linktext": "Click !",
  "items": [
    {
      "item": null,
      "title": "This is a title for an item",
      "url": "https://test.dk",
      "text": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"
    },
    {
      "item": null,
      "title": "This is sanother title for another item",
      "url": "https://test.dk",
      "text": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"
    },
    {
      "item": null,
      "title": "This is a third title",
      "url": "https://test.dk",
      "text": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"
    }
  ],
  "time": "11.00am — 12.00am",
  "speaker": "Thomas vinterberg",
  "speaker_title": "Academy Award Winner  @  Zentropa",
  "type": "strategy",
  "odd": true,
  "live": null,
  "ondemand": null,
  "placeholder": "placeholder text",
  "value": "text value",
  "id": "idname",
  "state": "required",
  "class": "fooo"
}

No notes defined.