<div class="jumbotron jumbotron__with_image">
<div class="jumbotron__background-image__container">
<div class="jumbotron__background-image" style="background: url(../../assets/images/iia-jumbotron-bg.png) no-repeat scroll center center/cover;"></div>
<div class="jumbotron__background-filter"></div>
</div>
<div class="jumbotron__content__container">
<div class="jumbotron__content align__center">
<img width="120px" height="auto" src="../../assets/images/iia_logo.png">
<h2 class="h1 jumbotron__title">Visit us today</h2>
<div class="jumbotron__cta">
<button class="btn btn--transparent">Learn more</button>
</div>
</div>
</div>
</div>
<div class="jumbotron jumbotron__with_image">
<div class="jumbotron__background-image__container">
<div class="jumbotron__background-image" style="background: url({{ image_src }}) no-repeat scroll center center/cover;"></div>
<div class="jumbotron__background-filter"></div>
</div>
<div class="jumbotron__content__container">
<div class="jumbotron__content align__{{ align }}">
{% if image %}
<img width="120px" height="auto" src="{{ image }}">
{% endif %}
<h2 class="h1 jumbotron__title">{{ title }}</h2>
{% if text %}
<div class="jumbotron__description">{{ text }}</div>
{% endif %}
{% if label %}
<div class="jumbotron__cta">
{% include '@buttons' %}
</div>
{% endif %}
</div>
</div>
</div>
{
"image": "../../assets/images/iia_logo.png",
"title": "Visit us today",
"label": "Learn more",
"mods": "transparent",
"image_src": "../../assets/images/iia-jumbotron-bg.png",
"align": "center"
}
.jumbotron {
display: flex;
position: relative;
&__big {
display: flex;
.jumbotron__content__container {
min-height: 80vh;
@include mq($breakpoint-lg) {
min-height: 34vw;
}
.jumbotron__content {
padding: $space-xl;
@include mq($breakpoint-lg) {
max-width: 65%;
}
.jumbotron__title {
font-weight: $font-weight-bold;
text-transform: uppercase;
}
.jumbotron__description {
font-weight: $font-weight-light;
}
}
}
}
&__with_image {
.jumbotron__content__container .jumbotron__content .jumbotron__title {
margin: $space-lg 0 $space-xl;
}
}
}
.jumbotron__background-image__container {
width: 100%;
height: 100%;
position: absolute;
.jumbotron__background-image {
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 100%;
position: absolute;
}
.jumbotron__background-filter {
width: 100%;
height: 100%;
position: absolute;
background-color: rgba(0,0,0,0.45);
opacity: .9;
}
}
.jumbotron__content__container {
max-width: $breakpoint-xxl;
margin: auto;
position: relative;
min-height: 350px;
padding: $spacer;
display: flex;
.jumbotron__content {
max-width: $container-sm;
align-self: center;
img {
width: 120px !important;
}
&.align__right {
margin: 0 0 0 auto;
text-align: right;
}
&.align__center {
margin: 0 auto;
text-align: center;
}
.jumbotron__title {
color: $white;
line-height: $line-height-sm;
}
.jumbotron__description {
margin-top: $spacer;
color: $white;
}
.jumbotron__cta {
margin-top: $spacer;
}
}
}
There are no notes for this item.