-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
153 lines (143 loc) · 4.65 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>DSC NIT Raipur</title>
<link rel="shortcut icon" href="images/dsc.png" type="image/x-icon" />
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link
href="https://fonts.googleapis.com/css?family=Open+Sans"
rel="stylesheet"
/>
<!-- Bulma Version 0.7.4-->
<link rel="stylesheet" href="styles/css/bulma.min.css" />
<style type="text/css">
html,
body {
font-family: "Open Sans";
}
</style>
</head>
<body>
<section class="hero is-fullheight is-default is-bold">
<div class="hero-head">
<div class="container">
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a
role="button"
class="navbar-burger burger"
aria-label="menu"
aria-expanded="false"
data-target="navbarBasicExample"
>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item">
<strong>DSC NIT RAIPUR</strong>
</a>
</div>
<div class="navbar-end">
<a class="navbar-item">
Home
</a>
<a class="navbar-item">
About
</a>
<a class="navbar-item">
Bootcamps
</a>
<a class="navbar-item">
Previous Events
</a>
<div class="navbar-item">
<div class="buttons">
<a class="button is-light">
Register
</a>
</div>
</div>
</div>
</div>
</nav>
</div>
</div>
<div class="hero-body" style="padding-top: 0px;">
<div class="container">
<div class="columns is-vcentered">
<div class="column is-4">
<h1 class="title is-2" style="margin-bottom: 0px;">
Where Creativity
</h1>
<h1 class="title is-2">
Meets Technology.
</h1>
<h2 class="subtitle is-4" style="margin-bottom: 0px;">
Design . Innovate . Create
</h2>
<br />
<p>
<a class="button is-link is-medium">
Get Started
</a>
</p>
</div>
<div class="column is-8">
<img src="images/home_cover.png" alt="Cover" />
</div>
</div>
</div>
</div>
<div class="hero-foot">
<div class="container">
<footer class="footer">
<div class="content has-text-centered">
<p>
<strong>DSC NIT Raipur</strong> Official Website
<a href="https://opensource.org/licenses/mit-license.php">MIT</a
>. The website content is licensed
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"
>CC BY NC SA 4.0</a
>.
</p>
</div>
</footer>
</div>
</div>
</section>
<!-- <script src="../js/bulma.js"></script> -->
</body>
<script>
document.addEventListener("DOMContentLoaded", () => {
// Get all "navbar-burger" elements
const $navbarBurgers = Array.prototype.slice.call(
document.querySelectorAll(".navbar-burger"),
0
);
// Check if there are any navbar burgers
if ($navbarBurgers.length > 0) {
// Add a click event on each of them
$navbarBurgers.forEach(el => {
el.addEventListener("click", () => {
// Get the target from the "data-target" attribute
const target = el.dataset.target;
const $target = document.getElementById(target);
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
el.classList.toggle("is-active");
$target.classList.toggle("is-active");
});
});
}
});
</script>
</html>