TWEAK THE PAGE AND CUSTOM INVITES!

This commit is contained in:
2017-07-21 13:32:52 +03:00
parent 12186a0d08
commit 8f32672d6e
4 changed files with 97 additions and 8 deletions

View File

@@ -1,15 +1,24 @@
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<meta name=viewport content="width=device-width, initial-scale=1">
<meta name=viewport content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"">
<meta property="og:title" content="Sünnipäeva kutse" />
<meta property="og:url" content="https://zirk.arti.ee/22/invite/" />
<meta property="og:image" content="https://zirk.arti.ee/22/og.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<link rel="stylesheet" type="text/css" href="style.css">
<div class="container">
<div class="slide">
<h1>18. august</h1>
<h1 id="t1">Tere!</h1>
</div>
<div class="slide">
<h1>Oled oodatud</h1>
<h1>18. augustil <br> kell 19:00 <br> oled oodatud</h1>
</div>
<div class="slide">
@@ -27,8 +36,23 @@
</div>
<div class="slide">
<h1>Näeme 18. august</h1>
<small>:wq!</small>
<h1>Näeme</h1>
<h2>18. augustil kell 19:00</h2>
<small id="t2">:wq!</small>
</div>
<div class="slide">
<span>Rohkem infot Facebooki evendil.</span>
</div>
</div>
<script>
var jsonStr = window.atob(window.location.search.slice(1));
var jsonObj = JSON.parse(jsonStr);
var t1 = document.getElementById("t1");
t1.innerText = "Tere "+jsonObj+"!";
var t3 = document.getElementById("t3");
t2.innerText = ":wq! invite_from_arti_to_"+jsonObj.toLowerCase()+".txt";
</script>
</html>