Merge pull request #23 from Programvareverkstedet/video-embed
Replace slideshow with promo video
This commit is contained in:
commit
1f32c03d86
|
@ -2,8 +2,8 @@ header.landing {
|
||||||
display:block;
|
display:block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-top: 3em;
|
margin-top: 3em;
|
||||||
padding: 3vh 15vw;
|
padding: 3vh 10vw;
|
||||||
width: 70vw;
|
width: 80vw;
|
||||||
background-color: #002244;
|
background-color: #002244;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,10 +40,29 @@ $doorTime = date("H:i", $doorEntry->time);
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<header class="landing">
|
<header class="landing">
|
||||||
<div id="imageSlideshow">
|
<!-- HACK INCOMING! -->
|
||||||
<?php include("galleri/slideshow.php"); ?>
|
<style>
|
||||||
<script src="js/slideshow.js"></script>
|
.iframe-container {
|
||||||
</div>
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
aspect-ratio: 16/9;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.responsive-iframe {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
width: 100%;
|
||||||
|
aspect-ratio: 16/9;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<div class="iframe-container" style="max-width: 100em;">
|
||||||
|
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/Uy6HAvMdeuA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen ></iframe>
|
||||||
|
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<h2>Velkommen til Programvare­verkstedet</h2>
|
<h2>Velkommen til Programvare­verkstedet</h2>
|
||||||
|
|
Loading…
Reference in New Issue