on master help sign in
index.html: tweaking line breaks
c1e52dfMatilde Park
static/scripts.js+10−1
@@ -412,4 +412,13 @@ if (document.body.classList.contains("page-indiced")) {
412 }
412 }
413 });
413 });
414 })
414 })
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 @@
37</section>
37</section>
38
38
39<section class="full lh-copy c7-12-md c7-11-lg mt4 mb6">
39<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">
40+ <video class="vid-insert bg-black" id="ocean" autoplay="" muted="" loop="" poster="https://media.urbit.org/site/sea30-poster.jpg">
41− Your browser does not support the video tag.
42 </video>
41 </video>
43</section>
42</section>
44
43
@@ -106,7 +105,7 @@
106 Ask questions in our <a class="b--black bb" href="https://discord.gg/Mae2bk7">Discord</a>
105 Ask questions in our <a class="b--black bb" href="https://discord.gg/Mae2bk7">Discord</a>
107 </p>
106 </p>
108 <p class="lh-copy">
107 <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.)
110 </p>
109 </p>
111</section>
110</section>
112
111