-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
181 lines (166 loc) · 8.5 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="revealjs/css/reveal.css">
<link rel="stylesheet" href="revealjs/css/theme/black.css" id="theme">
<!-- Some additional style modifications and helper classes -->
<style>
/* Stretch the presentation */
.reveal-container, .reveal {
width: 100%;
height: 100%;
}
.reveal table {
font-size: 0.7em;
}
.left-aligned {
text-align: left;
}
.reveal a {
font-family: Segoe UI;
}
/* Style the info panel */
.info-panel {
font-family: Calibri;
position: absolute;
color: white;
font-size: 1.5em;
position: absolute;
left: 50%;
top: 25%;
transform: translate(-50%);
}
.info-panel dt {
font-size: 1.5em;
}
.info-panel a {
color: slategrey;
}
</style>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!-- Code syntax highlighting -->
<link rel="stylesheet" href="revealjs/lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'revealjs/css/print/pdf.css' : 'revealjs/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal-container">
<div class="reveal">
<div class="slides">
<section data-markdown="demo.md"
data-separator="^(\r\n|\n)--- NEXT SLIDE ---(\r\n|\n)"
data-separator-vertical="^(\r\n|\n)--- VERTICAL SLIDE ---(\r\n|\n)"
data-separator-notes="^Note:"
data-charset="utf8">
</section>
</div>
</div>
</div>
<script src="revealjs/lib/js/head.min.js"></script>
<script src="revealjs/js/reveal.js"></script>
<script>
(function () {
var queryStringArgs = (function(a) {
if (a == "") return {};
var b = {};
for (var i = 0; i < a.length; ++i)
{
var p=a[i].split('=', 2);
if (p.length == 1)
b[p[0]] = "";
else
b[p[0]] = decodeURIComponent(p[1].replace(/\+/g, " "));
}
return b;
})(window.location.search.substr(1).split('&'));
if (!queryStringArgs["lecture"]) {
// No lecture chosen; show a list of all lectures
var revealContainer = document.body.querySelector(".reveal-container");
document.body.removeChild(revealContainer);
var lectures = [ {
// Note: file name shouldn't contain extension
file: "programming-in-ue4-is-better",
name: "Why programming in Unreal Engine 4 is better than...",
description: "A comparison between the technology and programmer workflow in UE4 and similar engines. Sofia Game Dev Meetup, February 2018."
}, {
file: "hackconf2016-cpp-is-great",
name: "Как програмирането от ниско ниво ни прави по-добри програмисти на високо",
description: "Разказ за техниките, които се пораждат в C++ поради нуждата да е бърз и тяхното приложение на други места. HackConf2016."
},{
file: "the-game-industry-at-home",
name: "The state of the game industry in Bulgaria",
description: "Describes some of the companies working in the game-dev industry in Bulgaria as of 2016. Image-only. Talk at BGA 2016."
},{
file: "introduction-to-unreal",
name: "Въведение в Unreal Engine",
description: "Разходката в предверието на Unreal Engine, причините за неговото съществуване и разработката на игри като кариера. Семинар в SoftUni, 2023."
},
]
var infoPanel = document.createElement("div");
infoPanel.classList.add("info-panel");
var heading = document.createElement("h1");
heading.textContent = "This is a list of slides for some talks I've given. Some of them are in Bulgarian only."
infoPanel.appendChild(heading);
var slidesList = document.createElement("dl");
for (var i = 0; i < lectures.length; i++) {
var anchor = document.createElement("a");
anchor.href="index.html?lecture=" + lectures[i].file;
anchor.textContent = lectures[i].name;
var dt = document.createElement("dt");
dt.appendChild(anchor);
var dd = document.createElement("dd");
dd.textContent = lectures[i].description;
slidesList.appendChild(dt);
slidesList.appendChild(dd);
}
infoPanel.appendChild(slidesList);
document.body.appendChild(infoPanel);
return;
}
// Lecture chosen - initialize reveal.js
var revealSection = document.querySelector(".reveal .slides section");
revealSection.dataset.markdown = "slides/" + queryStringArgs["lecture"] + ".md";
// Attempt to add any css for this particular presentation
var link = document.createElement("link");
link.rel = "stylesheet";
link.type = "text/css";
link.href = "slides/resources/" + queryStringArgs["lecture"] + "/" + "extra.css";
document.head.appendChild(link);
// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
touch: true,
mouseWheel: true,
overview: true,
progress: true,
slideNumber: "c / t",
history: true,
center: true,
help: true,
transition: 'slide',
dependencies: [
{ src: 'revealjs/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'revealjs/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'revealjs/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'revealjs/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'revealjs/plugin/zoom-js/zoom.js', async: true },
{ src: 'revealjs/plugin/math/math.js', async: true },
{ src: 'revealjs/plugin/notes/notes.js', async: true, condition: function () { return !!document.body.classList; } }
]
});
})();
</script>
</body>
</html>