-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (53 loc) · 1.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<html>
<head>
<title>Presentations | M. Olcay Tercanlı</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/css/tachyons.min.css" />
<style>
div.bg-olcay {
background-color: #123456;
}
a.bg-olcay {
background-color: #456789;
}
</style>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TQRQQH2HVC"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-TQRQQH2HVC');
</script>
</head>
<body>
<div class="bg-olcay washed-blue flex justify-center h-100 avenir">
<article class="vh-100 dt w-100">
<div class="dtc v-mid tc ph3 ph4-l">
<!--<h2 class="f2">Here are presentations from me</h2>-->
<h2 class="f2">Placeholder for presentations</h2>
<div class="mt4 pa4 b--blue" id="presentations">
</div>
</div>
</article>
</div>
<script>
const presentations = [
]
presentations.forEach(presentation => {
createPresentationDiv(presentation)
})
function createPresentationDiv(presentation) {
const a = document.createElement('a')
a.setAttribute('class', 'no-underline washed-blue bg-animate bg-olcay hover-bg-gray inline-flex items-center ma2 tc br3 pa3')
a.setAttribute('href', `${presentation.destination}/index.html`)
a.setAttribute('target', '_blank')
const span = document.createElement('span')
span.setAttribute('class', 'f5 ml1 mr1 pl2 pr2')
span.innerText = presentation.name
a.appendChild(span)
document.getElementById('presentations').appendChild(a)
}
</script>
</body>
</html>