-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathprebuild-index.html
executable file
·97 lines (76 loc) · 2.82 KB
/
prebuild-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
<!doctype html>
<html>
<head>
<title>GDG DC</title>
<!--SCRIPT FOR BACKGROUND-->
<script type="text/javascript">
function changeImg(imgNumber) {
var myImages = ["./images/bg/bg-01.jpg", "./images/bg/bg-02.jpg", "./images/bg/bg-03.jpg", "./images/bg/bg-04.jpg", "./images/bg/bg-05.jpg", "./images/bg/bg-07.jpg", "./images/bg/bg-08.jpg", "./images/bg/bg-09.jpg", "./images/bg/bg-10.jpg", "./images/bg/bg-11.jpg"];
var imgShown = document.body.style.backgroundImage;
var newImgNumber = Math.floor(Math.random()*myImages.length);
document.body.style.backgroundImage = 'url('+myImages[newImgNumber]+')';
}
window.onload=changeImg;
</script>
<!--ANALYTICS-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-56247141-1', 'auto');
ga('send', 'pageview');
</script>
<!--META-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<!--WEB COMPONENTS-->
<script src="./bower_components/webcomponentsjs/webcomponents.js"></script>
<!--CORE-->
<!--<link rel="import" href="./bower_components/core-icons/core-icons.html">-->
<!--<link rel="import" href="./bower_components/core-item/core-item.html">-->
<!--FONTS-->
<!--<link rel="import" href="./bower_components/font-roboto/roboto.html">-->
<!--MAIN SCAFFOLD-->
<link rel="import" href="./main-scaffold.html">
<style>
html {
height:100%;
}
body {
/*font-family: 'Helvetica Neue', Helvetica, Arial;*/
font-family: RobotoDraft, sans-serif;
-webkit-font-smoothing: antialiased !important;
margin: 0;
height:100%;
}
section {
padding: 40px;
min-height: 300px;
}
.bg {
background-size: cover;
background-attachment: fixed;
background-repeat: no-repeat;
background-position: center center;
}
div.transbox {
background-color: #fff;
opacity: 0.5;
height: 100%;
width: 100%;
position: absolute;
}
</style>
</head>
<body unresolved class="bg">
<div class="transbox"></div>
<main-scaffold label="GDG DC">
<core-item label="DevFestDC '14" url="./pages/devfest14.html"></core-item>
<core-item label="Code Lab / Hackathon" url="./pages/codehack.html"></core-item>
<core-item label="About GDG DC" url="./pages/aboutgdg.html"></core-item>
</main-scaffold>
</body>
</html>