-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
63 lines (56 loc) · 2.12 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Adrián Tóth</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"/>
</head>
<body>
<button onclick="button_action()" id="button_hideshow">Hide</button>
<div class="vertical-center">
<div id="content" class="container">
<div class="text-center text-light">
<div class="me">
<img src="https://avatars2.githubusercontent.com/u/22373707?s=400&v=4" alt="me"/>
<h1>Adrián Tóth</h1>
</div>
<div class="container about">
<div class="row justify-content-md-center">
<div class="col col-lg-2">
<a href="https://github.com/europ">
<img src="img/github.svg" alt="img/github.svg" width="46px" height="46px"/>
</a>
</div>
<div class="col col-lg-2">
<a href="https://sourcerer.io/europ">
<img src="img/sourcerer.png" alt="img/sourcerer.png" width="40px" height="46px"/>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="particles-js"></div>
</body>
<script type="text/javascript" src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/particles.js/2.0.0/particles.min.js"></script>
<script type="text/javascript">
particlesJS.load('particles-js', 'particlesjs.json', function() {
console.log('callback - particles.js config loaded');
});
function button_action() {
var element = document.getElementById("content");
var button = document.getElementById("button_hideshow");
if(element.style.display === "none") {
element.style.display = "block";
button.innerHTML = "Hide";
}
else {
element.style.display = "none";
button.innerHTML = "Show";
}
};
</script>
</html>