Skip to content

Commit 68babac

Browse files
committed
update app/routes/index.js and app/views/index.ejs
1 parent db43f54 commit 68babac

File tree

3 files changed

+143
-1
lines changed

3 files changed

+143
-1
lines changed

app/routes/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ router.get('/organisation', function(req, res, next) {
2626
res.render('organisation');
2727
});
2828

29+
//hackathon-info page
30+
router.get('/hackathon-info', function(req, res, next) {
31+
res.render('hackathon-info');
32+
});
33+
2934
module.exports = router;

app/views/hackathon-info.ejs

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
<!-- ######### BY Ash-Codes18 -> Ashmit Mehta ########### -->
2+
<!DOCTYPE html>
3+
<html>
4+
<head>
5+
<title>CodeForge</title>
6+
<link rel="preconnect" href="https://fonts.googleapis.com">
7+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8+
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600&display=swap" rel="stylesheet">
9+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
10+
<link rel="shortcut icon" href="images/assets/logo-favicon-color.svg" type="image/svg+xml" />
11+
<link rel="stylesheet" href="stylesheets/style.css">
12+
<script src="https://cdn.tailwindcss.com"></script>
13+
14+
</head>
15+
<body>
16+
<header class="text-gray-600 body-font" id="header">
17+
<div class="container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center">
18+
<a class="flex title-font font-medium items-center text-gray-900 mb-4 md:mb-0">
19+
<img src="images/assets/logo.svg" height="150" width="150">
20+
<!-- <span class="ml-0 text-xl">CodeForge</span> -->
21+
</a>
22+
<nav class="md:ml-auto md:mr-auto flex flex-wrap items-center text-base justify-center">
23+
<a class="mr-5 hover:text-gray-900" >Hackathons</a>
24+
<a class="mr-5 hover:text-gray-900">Organizations</a>
25+
<a class="mr-5 hover:text-gray-900">Winners</a>
26+
</nav>
27+
<button class="inline-flex items-center bg-gray-100 border-0 py-1 px-3 focus:outline-none hover:bg-gray-200 rounded text-base mt-4 md:mt-0">Log In
28+
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 ml-1" viewBox="0 0 24 24">
29+
<path d="M5 12h14M12 5l7 7-7 7"></path>
30+
</svg>
31+
</button>
32+
</div>
33+
</header>
34+
35+
36+
37+
38+
39+
40+
41+
42+
43+
44+
<footer class="text-gray-600 body-font" id="footer">
45+
<div class="container px-5 py-24 mx-auto flex md:items-center lg:items-start md:flex-row md:flex-nowrap flex-wrap flex-col">
46+
<div class="w-64 flex-shrink-0 md:mx-0 mx-auto text-center md:text-left">
47+
<a class="flex title-font font-medium items-center md:justify-start justify-center text-gray-900">
48+
<img src="images/assets/logo.svg">
49+
<!-- <span class="ml-3 text-xl">CodeForge</span> -->
50+
</a>
51+
<p class="mt-2 text-sm text-gray-500">The platform to Launch and Join Hackathons</p>
52+
</div>
53+
<div class="flex-grow flex flex-wrap md:pl-20 -mb-10 md:mt-0 mt-10 md:text-left text-center">
54+
<div class="lg:w-1/4 md:w-1/2 w-full px-4">
55+
<h2 class="title-font font-medium text-gray-900 tracking-widest text-sm mb-3">Products</h2>
56+
<nav class="list-none mb-10">
57+
<li>
58+
<a class="text-gray-600 hover:text-gray-800">Hackathons</a>
59+
</li>
60+
<li>
61+
<a class="text-gray-600 hover:text-gray-800">Host a Hackathon</a>
62+
</li>
63+
</nav>
64+
</div>
65+
66+
<div class="lg:w-1/4 md:w-1/2 w-full px-4">
67+
<h2 class="title-font font-medium text-gray-900 tracking-widest text-sm mb-3">Community</h2>
68+
<nav class="list-none mb-10">
69+
<li>
70+
<a class="text-gray-600 hover:text-gray-800">Organizations</a>
71+
</li>
72+
<li>
73+
<a class="text-gray-600 hover:text-gray-800">Discord</a>
74+
</li>
75+
</li>
76+
<li>
77+
<a class="text-gray-600 hover:text-gray-800">Past Winners</a>
78+
</li>
79+
</nav>
80+
</div>
81+
82+
<div class="lg:w-1/4 md:w-1/2 w-full px-4">
83+
<h2 class="title-font font-medium text-gray-900 tracking-widest text-sm mb-3">Company</h2>
84+
<nav class="list-none mb-10">
85+
<li>
86+
<a class="text-gray-600 hover:text-gray-800">About Us</a>
87+
</li>
88+
<li>
89+
<a class="text-gray-600 hover:text-gray-800">Careers</a>
90+
</li>
91+
</nav>
92+
</div>
93+
<div class="lg:w-1/4 md:w-1/2 w-full px-4">
94+
<h2 class="title-font font-medium text-gray-900 tracking-widest text-sm mb-3">Help</h2>
95+
<nav class="list-none mb-10">
96+
<li>
97+
<a class="text-gray-600 hover:text-gray-800">FAQs</a>
98+
</li>
99+
<li>
100+
<a class="text-gray-600 hover:text-gray-800">Support</a>
101+
</li>
102+
<li>
103+
<a class="text-gray-600 hover:text-gray-800">Terms & Conditions</a>
104+
</li>
105+
<li>
106+
<a class="text-gray-600 hover:text-gray-800">Privacy Policy</a>
107+
</li>
108+
</nav>
109+
</div>
110+
</div>
111+
</div>
112+
<div class="bg-gray-100">
113+
<div class="container mx-auto py-4 px-5 flex flex-wrap flex-col sm:flex-row">
114+
<p class="text-gray-500 text-sm text-center sm:text-left">Copyright © 2024 — CodeForge All rights reserved.
115+
</p>
116+
<span class="inline-flex sm:ml-auto sm:mt-0 mt-2 justify-center sm:justify-start">
117+
<a class="text-gray-500">
118+
<i class="fa-brands fa-github"></i>
119+
</a>
120+
<a class="ml-3 text-gray-500">
121+
<i class="fa-brands fa-linkedin"></i>
122+
</a>
123+
<a class="ml-3 text-gray-500">
124+
<i class="fa-brands fa-discord"></i>
125+
</a>
126+
<a class="ml-3 text-gray-500">
127+
<i class="fa-brands fa-instagram"></i>
128+
</a>
129+
</span>
130+
</div>
131+
</div>
132+
</footer>
133+
134+
135+
</body>
136+
</html>
137+

app/views/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
<p class="mb-8 leading-relaxed">Keeping your security at the highest level is our top priority. Our web application has been rigorously checked for any potential loopholes and constantly updated to ensure the safety of your data.
188188
</p>
189189
</div>
190-
<img class="h-25 w-50 mb-10 object-cover object-center rounded" alt="hero" src="https://taikai.network/product-shots/submission-dashboard.svg">
190+
<img class="h-25 w-50 mb-10 object-cover object-center rounded" alt="hero" src="https://taikai.network/product-shots/audit.svg">
191191
</div>
192192
</section>
193193

0 commit comments

Comments
 (0)