No notes defined.

{% extends '@uol-widget' %}
{% block widget_content %}
    {% render '@uol-tiles', { tiles: tiles } %}
{% endblock %}
<div class="uol-widget-container">
    <div class="uol-widget">

        <div class="uol-widget__left-col">

            <div class="uol-widget__head">

                <h2 class="uol-widget__title">Five tiles with optional profile</h2>

                <div class="uol-widget__lead">
                    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim.</p>
                </div>

            </div>

        </div>

        <div class="uol-widget__content">

            <div class="uol-tiles">

                <div class="uol-tile uol-tile--img ">
                    <div class="uol-tile__inner">

                        <div class="uol-tile__text-container">
                            <h3 class="uol-tile__title">
                                <a class="uol-tile__link" href="/tile-link-">Like a card a tile contains content and actions about a single subject</a>
                            </h3>

                        </div>

                        <div class="uol-tile__img" role="img" aria-label="Campus view" style="background-image: url('../../placeholders/ph-tiles-1.jpg');"></div>

                    </div>
                </div>

                <div class="uol-tile uol-tile--img ">
                    <div class="uol-tile__inner">

                        <div class="uol-tile__text-container">
                            <h3 class="uol-tile__title">
                                <a class="uol-tile__link" href="/tile-link-">Like a card a tile contains content and actions about a single subject</a>
                            </h3>

                            <p class="uol-tile__subtitle">As well as a title users can add supporting content of up to 140 characters which is exactly how many characters are in this little snippet</p>

                        </div>

                        <div class="uol-tile__img" role="img" aria-label="Campus view" style="background-image: url('../../placeholders/ph-tiles-2.jpg');"></div>

                    </div>
                </div>

                <div class="uol-tile uol-tile--no-img uol-tile--small ">
                    <div class="uol-tile__inner">

                        <div class="uol-tile__text-container">
                            <h3 class="uol-tile__title">
                                <a class="uol-tile__link" href="/tile-link-">Like a card a tile contains content and actions about a single subject</a>
                            </h3>

                        </div>

                    </div>
                </div>

                <div class="uol-tile uol-tile--img uol-tile--video ">
                    <div class="uol-tile__inner">

                        <span role="presentation" class="uol-tile__icon uol-tile__icon--video"></span>

                        <div class="uol-tile__text-container">
                            <h3 class="uol-tile__title">
                                <a class="uol-tile__link" href="/tile-link-">Student life at Leeds - its one of a kind</a>
                            </h3>

                        </div>

                        <div class="uol-tile__img" role="img" aria-label="Women&#39;s lacrosse team" style="background-image: url('../../placeholders/ph-tiles-3.jpg');"></div>

                    </div>
                </div>

                <div class="uol-tile uol-tile--img ">
                    <div class="uol-tile__inner">

                        <div class="uol-tile__text-container">
                            <h3 class="uol-tile__title">
                                <a class="uol-tile__link" href="/tile-link-">Like a card a tile contains content and actions about a single subject</a>
                            </h3>

                        </div>

                        <div class="uol-tile__img" role="img" aria-label="The Brownlee brothers running in a race while spectators watch on" style="background-image: url('../../placeholders/ph-tiles-4.jpg');"></div>

                    </div>
                </div>

                <div class="uol-tile uol-tile--no-img uol-tile--profile ">
                    <div class="uol-tile__inner">

                        <h3 class="uol-tile__title">Profile: Jessica Osgerby</h3>

                        <blockquote class="uol-tile__profile-blockquote">
                            <div class="uol-tile__profile-quote">
                                <p>I however am a human of many words I like a long quote lorem ipsum dolor sit amet, est te enim consul contentiones, eum ne debet partem. Augue oratio ea mei. An quo equidem rationibus sadipscing, eos habeo molestie ei. Eu sale dolore aliquip sed, sonet facilisis delicatissimi eum an.</p>
                            </div>
                        </blockquote>

                        <p class="uol-tile__profile-detail">
                            <strong class="uol-tile__profile-name">Jessica Osgerby</strong>
                            <span class="uol-tile__profile-role">Student</span>
                            <span class="uol-tile__profile-position">BA UOL Design System</span>
                        </p>

                        <div class="uol-tile__profile-image" role="img" aria-label="Portrait of  Jessica Osgerby" style="background-image: url('../../placeholders/ph-profile-student-11.jpg');"></div>

                        <a class="uol-tile__profile-link" href="/profiles/jessica-osgerby"><span class="hide-accessible">View profile for Jessica Osgerby</span></a>

                    </div>
                </div>

            </div>

        </div>
    </div>
</div>
{
  "widget_title": "Five tiles with optional profile",
  "widget_lead": "<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim.</p>",
  "tiles": [
    {
      "title": "Like a card a tile contains content and actions about a single subject",
      "img": {
        "src": "/placeholders/ph-tiles-1.jpg",
        "alt": "Campus view"
      },
      "link": "/tile-link-"
    },
    {
      "title": "Like a card a tile contains content and actions about a single subject",
      "subTitle": "As well as a title users can add supporting content of up to 140 characters which is exactly how many characters are in this little snippet",
      "img": {
        "src": "/placeholders/ph-tiles-2.jpg",
        "alt": "Campus view"
      },
      "link": "/tile-link-"
    },
    {
      "type": [
        "small"
      ],
      "title": "Like a card a tile contains content and actions about a single subject",
      "link": "/tile-link-"
    },
    {
      "type": [
        "video"
      ],
      "title": "Student life at Leeds - its one of a kind",
      "img": {
        "src": "/placeholders/ph-tiles-3.jpg",
        "alt": "Women's lacrosse team"
      },
      "link": "/tile-link-"
    },
    {
      "title": "Like a card a tile contains content and actions about a single subject",
      "img": {
        "src": "/placeholders/ph-tiles-4.jpg",
        "alt": "The Brownlee brothers running in a race while spectators watch on"
      },
      "link": "/tile-link-"
    },
    {
      "type": [
        "profile"
      ],
      "link": "/profiles/jessica-osgerby",
      "profile": {
        "name": "Jessica Osgerby",
        "role": "Student",
        "position": "BA UOL Design System",
        "img": {
          "src": "/placeholders/ph-profile-student-11.jpg"
        },
        "quote": "<p>I however am a human of many words I like a long quote lorem ipsum dolor sit amet, est te enim consul contentiones, eum ne debet partem. Augue oratio ea mei. An quo equidem rationibus sadipscing, eos habeo molestie ei. Eu sale dolore aliquip sed, sonet facilisis delicatissimi eum an.</p>"
      }
    }
  ]
}