22/invite/index.html

63 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<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äevakutse" />
<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 id="t1">Tere!</h1>
</div>
<div class="slide">
<h1>18. augustil <br> kell 19:00 <br> oled oodatud</h1>
</div>
<div class="slide">
<h1>Minu</h1>
<img src="me.jpg">
</div>
<div class="slide">
<h1>Sünnipäevale</h1>
</div>
<div class="slide">
<h1>Lapikute kontoris</h1>
<h2>Akadeemia tee 5</h2>
</div>
<div class="slide">
<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 rawStr = window.location.search.slice(1);
if (rawStr.indexOf("%") !== -1) {
rawStr = window.decodeURIComponent(rawStr);
}
var jsonStr = window.atob(rawStr);
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>