No notes defined.
<section class="image-quote-v3">
{% render '@uol-gallery--single-video-with-play-icon', { gallery: gallery } %}
<div class="image-quote-v3__text-container">
<div class="image-quote-v3__text-container--inner">
{% render '@uol-typography-blockquote', quote %}
</div>
</div>
</section>
<section class="image-quote-v3">
<section class="uol-gallery-container" aria-label="Gallery of 1 items">
<div class="uol-gallery uol-gallery--count-1">
<div class="uol-gallery__item uol-gallery__item--video uol-gallery__item--video-play-icon" data-video="https://www.youtube.com/watch?v=j4pt8l7e3u8">
<h2 class="uol-gallery__item__title">Studying in a different country</h2>
<figure class="uol-gallery__figure">
<div class="uol-gallery__image-container">
<img src="#" alt="">
</div>
</figure>
<noscript>
<a href="https://www.youtube.com/watch?v=j4pt8l7e3u8">https://www.youtube.com/watch?v=j4pt8l7e3u8</a>
</noscript>
</div>
</div>
</section>
<div class="image-quote-v3__text-container">
<div class="image-quote-v3__text-container--inner">
<blockquote class="uol-typography-blockquote">
This whole experience has taught me to put myself out there, and do what makes me uncomfortable.
<footer>
<cite>
Name, course
</cite>
</footer>
</blockquote>
</div>
</div>
</section>
.image-quote-v3 {
margin: 32px 0;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
@include media('>=uol-media-l') {
max-width: none;
flex-direction: row;
}
.image-quote-v3__edge {
min-width: 48px;
@include media('>=uol-media-m') {
width: calc((100% - 1440px) / 2);
}
}
.image-quote-v3__text-container {
padding: 64px 24px 24px;
display: flex;
align-items: center;
@include media('>=uol-media-l') {
width: 100%;
display: flex;
align-items: center;
min-height: inherit;
padding: 10px 0 10px 48px;
}
}
.image-quote-v3__text-container--inner {
line-height: 22px;
padding-left: 0;
height: 80%;
display: flex;
align-items: center;
}
.uol-typography-blockquote {
@extend %uol-font-sans-serif;
font-style: normal;
font-weight: 600;
line-height: 1.75rem; //28px
font-size: 1.25rem!important; //20px
padding: 20px 10px 0 10px;
&:first-child {
margin-top: 0;
}
margin-bottom: 16px !important;
@include media('>=uol-media-m') {
margin-bottom: 0;
}
@include media('>=uol-media-m') {
max-width: 49rem;
}
@include media('>=uol-media-m', '<uol-media-l') {
margin-bottom: 1.75rem;
}
&::before {
color: $color-black;
left: -0.625rem;
}
cite {
display: block;
color: $color-black;
font-style: normal;
margin-top: 1rem;
}
}
}
.uol-course__content,
.uol-article__content,
.uol-page__content {
.image-quote-v3 {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
background-image: none;
@include media('>=uol-media-xl') {
max-width: none;
flex-direction: row;
}
}
.image-quote-v3__text-container {
padding: calc(64px + 32px) 32px 32px;
display: flex;
align-items: center;
@include media('>=uol-media-xl') {
display: flex;
align-items: flex-end;
min-height: inherit;
padding: 34px 0 10px 40px;
}
}
}
{
"theme": "cream",
"image": {
"src": "/placeholders/new-homepage/student-portrait-2.png",
"alt": "Portrait of Jefferson Sanchez"
},
"gallery": {
"headingLevel": 2,
"videoPlayIcon": true,
"items": [
{
"title": "Studying in a different country",
"type": "video",
"video": "https://www.youtube.com/watch?v=j4pt8l7e3u8",
"img": {
"caption": ""
}
}
]
},
"quote": {
"content": "This whole experience has taught me to put myself out there, and do what makes me uncomfortable.",
"cite": {
"content": "Name, course"
}
}
}