-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
270 lines (264 loc) · 9.86 KB
/
form.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Title -->
<title>Sheikh Jamal Innovation Grant</title>
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<!-- Preconnect to Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- Google Fonts and Tailwind CSS -->
<link
href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,500&display=swap"
rel="stylesheet"
/>
<link href="./output.css" rel="stylesheet" />
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<style>
nav,
nav * {
cursor: auto !important;
}
.dropdown-menu {
position: absolute;
z-index: 1000; /* Ensure it's above other content */
/* Additional styling */
}
</style>
</head>
<body class="font-dm">
<nav class="bg-blue relative">
<div
class="py-[15px] mx-4 md:mx-8 lg:mx-20 flex flex-wrap items-center justify-between font-dm text-[18px]"
>
<a
href="https://drmcitclub.com/"
class="flex items-center space-x-3 rtl:space-x-reverse"
>
<img
src="./public/DITC_logo.png"
class="h-14"
alt="DRMC IT Club
Logo"
/>
</a>
<button
id="menuToggle"
data-collapse-toggle="navbar-dropdown"
type="button"
class="inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
aria-controls="navbar-dropdown"
aria-expanded="false"
>
<span class="sr-only">Open main menu</span>
<svg
class="w-5 h-5"
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 17 14"
>
<path
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M1 1h15M1 7h15M1 13h15"
/>
</svg>
</button>
<div class="hidden w-full md:block md:w-auto" id="navbar-dropdown">
<ul
class="flex flex-col font-medium p-4 md:p-0 mt-4 rounded-lg md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0"
>
<li>
<a
href="https://drmcitclub.com/"
class="block py-2 px-3 text-white hover:text-green bg-blue-700 rounded md:bg-transparent md:p-0"
aria-current="page"
>Home</a
>
</li>
<li>
<button
id="dropdownNavbarLink"
data-dropdown-toggle="dropdownNavbar"
class="relative flex items-center justify-between w-full py-2 px-3 text-green hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 md:w-auto md:dark:hover:text-blue-500 dark:focus:text-white dark:border-gray-700 dark:hover:bg-gray-700 md:dark:hover:bg-transparent"
>
Innovation Grant
<svg
class="w-2.5 h-2.5 ms-2.5"
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 10 6"
>
<path
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="m1 1 4 4 4-4"
/>
</svg>
</button>
<!-- Dropdown menu -->
<div
id="dropdownNavbar"
class="absolute top-full z-10 font-normal bg-blue divide-y divide-gray-100 shadow w-44 dark:divide-gray-600 bg-opacity-90 hidden"
>
<ul
class="py-2 text-sm text-white"
aria-labelledby="dropdownLargeButton"
>
<li>
<a
href="https://sjig.drmcitclub.com/"
class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
>About SJ Innovation Grant</a
>
</li>
<li>
<a
href="#sec2"
class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
>At a Glance</a
>
</li>
<li>
<a
href="#sec3"
class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
>Objective</a
>
</li>
<li>
<a
href="#roadmap"
class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
>Roadmap</a
>
</li>
<li>
<a
href="#sec4"
class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
>Who Can Apply?</a
>
</li>
<li>
<a
href="#sps"
class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
>Selection Process and Steps</a
>
</li>
<li>
<a
href="#sec7"
class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
>Terms & Conditions</a
>
</li>
<li>
<a
href="#sec8"
class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
>Pitch Deck Guideline</a
>
</li>
</ul>
</div>
</li>
<li>
<a
class="block py-2 px-3 text-white hover:text-green bg-blue-700 rounded md:bg-transparent md:p-0"
aria-current="page"
href="https://drmcitclub.com/achievements"
>Achievements</a
>
</li>
<li>
<a
class="block py-2 px-3 text-white hover:text-green bg-blue-700 rounded md:bg-transparent md:p-0"
aria-current="page"
href="https://drmcitclub.com/gallery"
>Gallery</a
>
</li>
<li>
<a
class="block py-2 px-3 text-white hover:text-green bg-blue-700 rounded md:bg-transparent md:p-0"
aria-current="page"
href="https://drmcitclub.com/publications"
>Publications</a
>
</li>
<li>
<a
class="block py-2 px-3 text-white hover:text-green bg-blue-700 rounded md:bg-transparent md:p-0"
aria-current="page"
href="https://drmcitclub.com/events"
>Events</a
>
</li>
<li>
<a
class="block py-2 px-3 text-white hover:text-green bg-blue-700 rounded md:bg-transparent md:p-0"
aria-current="page"
href="https://drmcitclub.com/executives"
>Executives</a
>
</li>
<li>
<a
class="block py-2 px-3 text-white hover:text-green bg-blue-700 rounded md:bg-transparent md:p-0"
aria-current="page"
href="https://drmcitclub.com/contact"
>Contact us</a
>
</li>
</ul>
</div>
<div>
<a
id="apply"
href="./apply"
target="_blank"
class="px-3 py-2 bg-blue shadow-inner border border-green backdrop-blur-[10px] text-green text-xl font-bold font-dm uppercase"
>
Apply Now
</a>
</div>
</div>
</nav>
<script>
document.addEventListener("DOMContentLoaded", function () {
const dropdownToggle = document.getElementById("dropdownNavbarLink");
const dropdownMenu = document.getElementById("dropdownNavbar");
dropdownToggle.addEventListener("click", function () {
dropdownMenu.classList.toggle("hidden");
});
});
document.addEventListener("DOMContentLoaded", function () {
const menuToggle = document.getElementById("menuToggle");
const navbarDropdown = document.getElementById("navbar-dropdown");
menuToggle.addEventListener("click", function () {
// Toggle the 'hidden' class on the menu
navbarDropdown.classList.toggle("hidden");
});
});
</script>
</body>
</html>