diff --git a/website/site/layouts/index.html b/website/site/layouts/index.html index 2e2ba564..6600085b 100755 --- a/website/site/layouts/index.html +++ b/website/site/layouts/index.html @@ -18,8 +18,7 @@
- ▶ Watch how to get started in just over 2 minutes -

+ ▶ Watch how to get started in just over 2 minutes

diff --git a/website/src/css/imports/hero.css b/website/src/css/imports/hero.css index ff77920e..ec1942f0 100644 --- a/website/src/css/imports/hero.css +++ b/website/src/css/imports/hero.css @@ -74,7 +74,8 @@ margin: 0; } - img { + img, iframe { + width: 100%; border-radius: $largeBorderRadius; box-shadow: 0 10px 30px 0 rgba(0,0,0,0.15), 0 3px 9px 0 rgba(0,0,0,0.30); } diff --git a/website/src/js/app.js b/website/src/js/app.js index f8ede71a..d920839b 100755 --- a/website/src/js/app.js +++ b/website/src/js/app.js @@ -122,3 +122,12 @@ var eventInfoLoad = function() { } eventInfoLoad(); + + +// Load inline YouTube video +var embedcode = ''; + +$('.hero-videolink').click(function() { + $('.hero-graphic img').replaceWith(embedcode); + $(this).remove(); +});