-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (51 loc) · 1.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<title>Descent Nexus</title>
<link rel="shortcut icon" type="image/x-icon" href="cloak.ico">
<link rel="stylesheet" href="/css/nexus.css" />
</head>
<body>
<!-- Background + Text -->
<div class="hero-image">
<div class="hero-text">
<h1>Gateway to all things Descent</h1>
</div>
</div>
<a href="./indexbottom.html" id="circle-link">
<div class="circle-container">
<h3 style="white-space: nowrap; margin-bottom: 110px; color: white;">More Descent</h3>
<div class="arrow-down"></div>
</div>
</a>
<div id="welcome-bubble" class="bubble">
<p>Welcome back <span id="username">USER</span>, you are logged in</p>
</div>
<!-- Navigation Bar -->
<div class="nav">
<h1 class="nav-title">Descent Nexus</h1>
<hr>
<a href="./RDL/rdl.html">RDL</a>
<a href="./news.html">News</a>
<a href="#">Coming Soon</a>
<hr>
<a href="./login.php">Login</a>
<a href="./signup.html">Sign up</a>
<a href="./inbox.html" class="nav-notification">Notifications</a>
<span id="badge" class="badge">2</span>
</div>
</body>
<script>
/*script for the login button fading when clicking */
var bubble = document.getElementById('welcome-bubble');
function hideBubble() {
bubble.style.opacity = '0';
setTimeout(function() {
bubble.classList.add('hidden');
}, 500);
}
bubble.addEventListener('click', hideBubble);
</script>
</html>