Embed webinar video (#14419)

This commit is contained in:
Seth Vargo 2017-05-12 06:32:43 -04:00 committed by Paul Stack
parent deda15ace0
commit 5c39f5b2d2
2 changed files with 10 additions and 2 deletions

View File

@ -211,12 +211,19 @@
}
&#news {
img {
img, iframe {
box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.25);
margin: 0 0 20px 0;
max-width: 100%;
}
iframe {
@media (min-width: $screen-sm) and (max-width: $screen-md) {
width: 100vw;
height: 56.25vw;
}
}
h2 {
margin-bottom: 50px;
}

View File

@ -178,7 +178,8 @@ description: |-
</div>
<div class="col-md-5 col-sm-12">
<div class="latest-item">
<%= image_tag 'news/webinar-Terraform-4-4-2017.png', :alt=>'Webinar April 4, 2017, 10:00 AM PST' %>
<iframe width="560" height="270" src="https://www.youtube.com/embed/nLg7fpVcIv4?color=white&modestbranding=1" frameborder="0" allowfullscreen></iframe>
<%#= image_tag 'news/webinar-Terraform-4-4-2017.png', alt: 'Webinar April 4, 2017, 10:00 AM PST' %>
<h3>Webinar: Multi-Cloud, One Command with Terraform</h3>
<p>
Watch our recent webinar with Mitchell Hashimoto to learn how Terraform provisions infrastructure across different clouds using a consistent workflow.