-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
174 lines (149 loc) · 7.16 KB
/
index.html
File metadata and controls
174 lines (149 loc) · 7.16 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Daniel Trattner</title>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!--<link href="https://maxcdn.bootstrapcdn.com/bootswatch/4.0.0-beta.3/darkly/bootstrap.min.css" rel="stylesheet" integrity="sha384-novkfxI48G9YvcamVHf01KL+Sm6JFherxeJKqUdbez8EoEsAued2k/cD43lYG+B1" crossorigin="anonymous">-->
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/4.0.0-beta.3/lux/bootstrap.min.css" rel="stylesheet" integrity="sha384-XI0PIujkSZEzZ5m8WTEm+krRuIpfO+vHrEznaIrhTAkbrbIvfs11kzCqUarPR7yn" crossorigin="anonymous">
<!--
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/slate/bootstrap.min.css" rel="stylesheet" integrity="sha384-RpX8okQqCyUNG7PlOYNybyJXYTtGQH+7rIKiVvg1DLg6jahLEk47VvpUyS+E2/uJ" crossorigin="anonymous">
-->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
body {
background: rgb(0, 0, 0);
}
.card {
margin-top: 30px;
}
@media (min-width: 1200px) {
.container {
max-width: 600px;
}
}
@media (min-width: 992px) {
.container {
max-width: 600px;
}
}
@media (min-width: 768px) {
.container {
max-width: 600px;
}
}
img.bg-img {
/* Set rules to fill background */
min-height: 100%;
min-width: 1024px;
/* Set up proportionate scaling */
width: 100%;
height: auto;
/* Set up positioning */
position: fixed;
top: 0;
left: 0;
z-index:-1;
}
@media screen and (max-width: 1024px) { /* Specific to this particular image */
img.bg-img {
left: 50%;
margin-left: -512px; /* 50% */
}
}
h1, h2, h3, a, a:active, a:visited, a:hover{
color: #fff!important;
}
</style>
</head>
<body>
<img src="bg.jpg" class="bg-img"/>
<div class="container">
<div class="jumbotron text-white bg-primary">
<h1 class="text-white">Daniel Trattner</h1>
<p>Experiments using angular, three.js, whatever... </p>
</div>
<div class="card text-white bg-primary collect">
<div class="card-header">
Falling Sofas
<a href="/sofa" class="btn btn-default btn-sm pull-right" style="margin-top: -4px;float: right;">
<span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span> Start
</a>
</div>
<div class="card-body">
<ul>
<li>Hit 1 for earth gravity</li>
<li>Hit 2 for moon gravity</li>
<li>Hit s for a screenshot (highres)</li>
</ul>
</div>
</div>
<div class="card text-white bg-primary collect">
<div class="card-header">
Spaceship Zero
<a href="/space" class="btn btn-default btn-sm pull-right" style="margin-top: -4px;float: right;">
<span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span> Start
</a>
</div>
<div class="card-body">
<ul>
<li>Hit 1 - 3 to change camera</li>
</ul>
</div>
</div>
<div class="card text-white bg-primary collect">
<div class="card-header">
Bot
<a href="https://www.danieltrattner.at" class="btn btn-default btn-sm pull-right" style="margin-top: -4px;float: right;">
<span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span> Start
</a>
</div>
<div class="card-body">
A simple implementation of DialogFlow, features:<br/>
<ul>
<li>German language only</li>
<li>Simple Questions, like "Wie heisst du?", "Wie geht es dir", etc. </li>
<li>Using numbersapi and google translate, can respond to numbers.</li>
</ul>
</div>
</div>
<div class="card text-white bg-primary collect">
<div class="card-header">
Link Collection
</div>
<div class="card-body text-white bg-primary" id="linkcollection">
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<!--<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/JQuery-Snowfall/1.7.4/snowfall.jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.8.6/showdown.min.js"></script>
<script src="bug-min.js"></script>
<script>
$(document).snowfall({collection:$('.collect')});
//new BugController({'minBugs':10, 'maxBugs':50, 'mouseOver':'die'});
$.get( "https://raw.githubusercontent.com/d-trattner/d-trattner.github.io/master/README.md", function( data ) {
var converter = new showdown.Converter({
openLinksInNewWindow: true,
simplifiedAutoLink: true
}),
html = converter.makeHtml(data);
$("#linkcollection").html( html );
});
</script>
</body>
</html>