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 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-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 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": "Collection of two 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-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"
},
{
"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>"
}
}
]
}