-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (81 loc) · 2.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Welcome - HyperAgents</title>
<style>
html, body, #container {
height: 100%;
margin:0;
padding:0;
}
#particle-canvas {
width: 100%;
height: 100%;
z-index: -1;
}
#panel-wrapper {
position: absolute;
display: flex;
height: 100%;
width: 100%;
justify-content: center;
align-items: center;
}
#panel {
position: relative;
text-align: center;
}
#logo {
height: 80px;
padding: 8px;
}
#tagline {
text-align: center;
margin-top: 0.5em;
font-size: 2em;
}
.button {
background-color: #90c74b;
color: #fff;
border-radius: 5px;
padding: 0.5em 1em;
font-size: 1.2em;
text-align: center;
text-decoration: none;
display: inline-block;
}
.button:hover {
text-decoration: underline;
}
body {
color: #fff;
}
</style>
</head>
<body>
<div id="container">
<div id="panel-wrapper">
<div id="panel">
<img id="logo" src="img/logo-white.png" alt="HyperAgents" />
<div id="tagline">Weaving a Web for people and artificial agents.</div>
<div style="margin-top: 1.8em;">
<a href="http://project.hyperagents.org" class="button">Research</a>
</div>
</div>
</div>
<div id="particle-canvas"></div>
</div>
<script src="js/particle-network.min.js"></script>
<script>
var canvasDiv = document.getElementById('particle-canvas');
var options = {
particleColor: '#fff',
background: 'img/stars-bg.jpg',
interactive: true,
speed: 'fast',
density: 'high'
};
var particleCanvas = new ParticleNetwork(canvasDiv, options);
</script>
</body>
</html>