on master help sign in
index.html: tweaking line breaks
commitc1e52dffb96d5d11699748a3bc85abc71e82abb3 authorMatilde Park <matilde@tlon.io> dateTue 29 Sep 2020, 15:36 (6 years ago) parente82d536
2 files changed+12−4
static/scripts.js+10−1 templates/index.html+2−3
static/scripts.js+10−1
@@ -412,4 +412,13 @@ if (document.body.classList.contains("page-indiced")) {
412412 }
413413 });
414414 })
415−};
415+};
416+
417+let oceanvid = document.getElementById("ocean");
418+
419+if ((oceanvid !== null) && (window.innerWidth > window.innerHeight)) {
420+ oceanvid.innerHTML = `<source
421+ src="https://media.urbit.org/site/sea30-1440.mp4"
422+ type="video/mp4"/>
423+ Your browser does not support the video tag.`
424+}
templates/index.html+2−3
@@ -37,8 +37,7 @@
3737</section>
3838
3939<section class="full lh-copy c7-12-md c7-11-lg mt4 mb6">
40− <video class="vid-insert bg-black" id="ocean" autoplay="" muted="" loop="" poster="https://media.urbit.org/site/sea30-poster.jpg"><source src="https://storage.googleapis.com/media.urbit.org/site/sea30-1440.mp4" type="video/mp4">
41− Your browser does not support the video tag.
40+ <video class="vid-insert bg-black" id="ocean" autoplay="" muted="" loop="" poster="https://media.urbit.org/site/sea30-poster.jpg">
4241 </video>
4342</section>
4443
@@ -106,7 +105,7 @@
106105 Ask questions in our <a class="b--black bb" href="https://discord.gg/Mae2bk7">Discord</a>
107106 </p>
108107 <p class="lh-copy">
109− Boot Urbit and join:<br /> <code>~bitbet-bolbel/urbit-community</code><br /> (That's where we hang out.)
108+ Boot Urbit and join:<br /> <code>~bitbet-bolbel/urbit-community</code><br /><br/> (That's where we hang out.)
110109 </p>
111110</section>
112111