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">Collection of two tiles</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-1">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-1">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>
</div>
</div>
</div>
{
"widget_title": "Collection of two tiles",
"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-1"
},
{
"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-1"
}
]
}