-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathindex.html
66 lines (66 loc) · 2.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>30 Days of Code</title>
<link rel="stylesheet" href="./assets/css/index.css" />
<link rel="shortcut icon" href="./assets/img/favicon.png" type="image/x-icon">
<meta name="description" content="30 days of code is a platform to help developers grow and improve in their field through consistent practice and problem solving">
<meta property="og:type" content="website">
<meta name="keywords" content="30 days of code, engineering career expo, ECX, ecx, dsc unilag, code, design, competition">
<meta property="og:url" content="https://30daysofcode.xyz">
<meta property="og:site_name" content="30 days of code">
<meta property="og:image" content="./assets/img/favicon.png">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0"/>
</head>
<body>
<div class="body-content flex col">
<header>
<nav>
<button id="sign-in-btn" class="btn flex row cnt">
<a href="./sign_in.php">SIGN IN</a>
</button>
</nav>
</header>
<div class="stretch flex col">
<main class="main-content flex col">
<h1>30 DAYS OF CODE & DESIGN</h1>
<img src="./assets/img/lbs.png" alt="learnBuildShare" />
<p>
<strong>
30 days of code is a platform to help developers grow and improve in their field through consistent practice and problem solving. <br>
Solve daily challenges and get graded!
</strong>
</p>
<button id="sign-up-btn" class="btn flex row cnt">
<a href="./sign_up.php">SIGN UP TO PARTICIPATE</a>
</button>
</main>
<footer class="flex col">
<p class="track">TRACKS</p>
<ul class="flex row">
<li>FRONTEND</li>
<li>BACKEND</li>
<li>ML</li>
<li>MOBILE</li>
</ul>
<p class="copy">© 30 Days of Code 2020</p>
</footer>
</div>
</div>
<script>
var btns = Array.from(document.getElementsByClassName("btn"));
for (var i = 0; i < btns.length; ++i) {
btns[i].addEventListener("click", function (e) {
if (e.target.tagName == "BUTTON") {
window.location.href = e.target.children[0].href;
}
});
}
</script>
</body>
</html>