Skip to content

Commit ce396ea

Browse files
committed
Finished Leaderboard page & Various Fixes
1 parent d8e2c7f commit ce396ea

File tree

5 files changed

+122
-78
lines changed

5 files changed

+122
-78
lines changed

archive.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
</div>
7474
</nav>
7575

76-
<div id="Schedule" class="container">
76+
<div id="Archive" class="container">
7777
<div class="row">
7878
<div class="col-10 offset-1">
7979
<h1>Archive</h1>
@@ -125,7 +125,7 @@ <h4>
125125
<div class="row">
126126
<div class="col-10 offset-1">
127127
<div class="alert alert-warning mt-4" role="alert">
128-
Issues with any of the questions/solutions? <a href="https://github.com/codehackathon/codehackathon.github.io" class="alert-link">Message us</a> your queries &amp; doubts.
128+
Issues with any of the questions/solutions? <a href="contact" class="alert-link" target="_blank">Message us</a> your queries &amp; doubts.
129129
</div>
130130
<a href="schedule">
131131
<div id="suggest-one" class="suggestion-card">

contact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ <h1>Contact Us</h1>
137137
<div class="row">
138138
<div class="col-sm-10 offset-sm-1 col-md-8 offset-md-2">
139139
<div class="alert alert-warning mt-4" role="alert">
140-
Issues with this website? Check out the <a href="https://github.com/codehackathon/codehackathon.github.io" class="alert-link">official GitHub repository</a>.
140+
Issues with this website? Check out the official <a href="https://github.com/codehackathon/codehackathon.github.io" class="alert-link" target="_blank">GitHub repository</a>.
141141
</div>
142142
<h1>Common Queries</h1>
143143
<ul>

leaderboard.html

Lines changed: 97 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6-
6+
77
<!-- OpenGraph tags -->
88
<meta property="og:description" content="We are a team of students in GITAM that aim to promote coding as being fun, challenging & most of all 'Not Boring'. In collaboration with the Department of CSE, we organise frequent coding competitions called 'Code Hackathons' on a bi-weekly basis on Saturday afternoons (except for during important college events). We may on occasion also take classes to discuss and try out various programming techniques and challenges to further enhance your skills.">
99
<meta property="og:image" content="https://codehackathon.github.io/assets/brand/main-logo.png">
1010
<meta property="og:site_name" content="Code Hackathon">
1111
<meta property="og:title" content="Code Hackathon">
1212
<meta property="og:type" content="website">
1313
<meta property="og:url" content="https://codehackathon.github.io/">
14-
14+
1515
<!-- Favicon & Theme -->
1616
<link rel="apple-touch-icon" sizes="114x114" href="assets/favicon/apple-icon-114x114.png">
1717
<link rel="apple-touch-icon" sizes="120x120" href="assets/favicon/apple-icon-120x120.png">
@@ -30,12 +30,9 @@
3030
<meta name="msapplication-TileColor" content="#12002D">
3131
<meta name="msapplication-TileImage" content="assets/favicon/ms-icon-144x144.png">
3232
<meta name="theme-color" content="#12002D">
33-
3433
<title>Leaderboard · Code Hackathon · GITAM</title>
35-
3634
<!-- Bootstrap core CSS -->
3735
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
38-
3936
<!-- Custom CSS -->
4037
<link href="style.css" rel="stylesheet">
4138
</head>
@@ -47,11 +44,11 @@
4744
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#PrimaryMenu" aria-controls="menu" aria-expanded="false" aria-label="Toggle Navigation">
4845
<span class="navbar-toggler-icon"></span>
4946
</button>
50-
47+
5148
<a class="navbar-brand" href="index">
5249
<img class="d-inline-block align-top" src="./assets/brand/main-logo.png" alt="Code Hackathon">
5350
</a>
54-
51+
5552
<div id="PrimaryMenu" class="collapse navbar-collapse">
5653
<ul class="navbar-nav ml-auto">
5754
<li class="nav-item">
@@ -72,66 +69,106 @@
7269
</ul>
7370
</div>
7471
</nav>
75-
76-
<div id="Schedule" class="container">
72+
73+
<div id="Leaderboard" class="container">
7774
<div class="row">
7875
<div class="col-10 offset-1">
79-
<h1>Leaderboard</h1>
80-
<h3>⚠️ This section is still being developed!</h3>
81-
<p>All winners of previous Code Hackathons will be listed here soon. Stay tuned!</p>
82-
<p>Meanwhile, check the <code><a href="schedule">Schedule</a></code> for upcoming events:</p>
83-
</div>
76+
<h1>Leaderboard</h1>
77+
<p>Check out our winners from previous Code Hackathons! Want your name here? Either actually win something or pay us Rs. 25,000. Google Pay/Tez or PayTM accepted 😉</p>
78+
<div class="event-card">
79+
<h3>️Week #5 <a href="https://www.hackerrank.com/week-5-code-hackathon" class="badge badge-success" target="_blank">Full list</a></h3>
80+
<ul class="list-group">
81+
<li class="list-group-item d-flex justify-content-between align-items-center">
82+
<span class="badge badge-primary">1<sup>st</sup></span>
83+
Krishna Prasad
84+
<span class="badge badge-dark">3/4, B13</span>
85+
</li>
86+
<li class="list-group-item d-flex justify-content-between align-items-center">
87+
<span class="badge badge-dark">2<sup>nd</sup></span>
88+
Krishna Aditya Attaluri
89+
<span class="badge badge-dark">3/4, B17</span>
90+
</li>
91+
</ul>
92+
</div>
93+
<div class="event-card">
94+
<h3>️Week #4 <a href="https://www.hackerrank.com/week-4-codehackathon" class="badge badge-success" target="_blank">Full list</a></h3>
95+
<ul class="list-group">
96+
<li class="list-group-item d-flex justify-content-between align-items-center">
97+
<span class="badge badge-primary">1<sup>st</sup></span>
98+
V. Srikanth
99+
<span class="badge badge-dark">2/4, B17</span>
100+
</li>
101+
<li class="list-group-item d-flex justify-content-between align-items-center">
102+
<span class="badge badge-dark">2<sup>nd</sup></span>
103+
Krishna Sampath
104+
<span class="badge badge-dark">2/4, B17</span>
105+
</li>
106+
</ul>
107+
</div>
108+
<div class="event-card">
109+
<h3>️Week #3</h3>
110+
<ul class="list-group">
111+
<li class="list-group-item d-flex justify-content-between align-items-center">
112+
<span class="badge badge-primary">1<sup>st</sup></span>
113+
Viswalahiri
114+
<span class="badge badge-dark">2/4, B17</span>
115+
</li>
116+
<li class="list-group-item d-flex justify-content-between align-items-center">
117+
<span class="badge badge-dark">2<sup>nd</sup></span>
118+
V. Srikanth
119+
<span class="badge badge-dark">2/4, B17</span>
120+
</li>
121+
</ul>
122+
</div>
123+
<div class="event-card">
124+
<h3>️Week #2</h3>
125+
<ul class="list-group">
126+
<li class="list-group-item d-flex justify-content-between align-items-center">
127+
<span class="badge badge-primary">1<sup>st</sup></span>
128+
V. Srikanth
129+
<span class="badge badge-dark">2/4, B17</span>
130+
</li>
131+
<li class="list-group-item d-flex justify-content-between align-items-center">
132+
<span class="badge badge-dark">2<sup>nd</sup></span>
133+
M. Navneet
134+
<span class="badge badge-dark">2/4, B7</span>
135+
</li>
136+
</ul>
137+
</div>
138+
</div>
84139
</div>
85-
</div>
86-
87-
<div id="suggestion-grid" class="container">
88-
<div class="row">
89-
<div class="col-10 offset-1">
90-
<a href="schedule">
91-
<div id="suggest-one" class="suggestion-card">
92-
<h3>🗓️ Schedule</h3>
93-
<h5>Save the date</h5>
94-
</div>
95-
</a>
96-
</div>
97-
</div>
98-
</div>
140+
</div>
141+
142+
<div id="suggestion-grid" class="container">
143+
<div class="row">
144+
<div class="col-10 offset-1">
145+
<div class="alert alert-warning mt-4" role="alert">
146+
Issues with any of the questions/solutions? <a href="contact" class="alert-link" target="_blank">Message us</a> your queries &amp; doubts.
147+
</div>
148+
<a href="schedule">
149+
<div id="suggest-one" class="suggestion-card">
150+
<h3>🗓️ Schedule</h3>
151+
<h5>Save the date</h5>
152+
</div>
153+
</a>
154+
</div>
155+
</div>
156+
</div>
99157
</div>
100-
101-
<footer id="End-Game" class="container-fluid">
102-
<div class="container">
103-
<div class="row">
104-
<div class="col-sm-10 offset-sm-1 col-md-10 offset-md-1 col-lg-10 offset-lg-1">
105-
<h2>Questions? We'd be happy to help! <a href="contact" class="btn">Contact Us</a></h2>
106-
</div>
107-
</div>
108-
</div>
109-
</footer>
110158

159+
<footer id="End-Game" class="container-fluid">
160+
<div class="container">
161+
<div class="row">
162+
<div class="col-sm-10 offset-sm-1 col-md-10 offset-md-1 col-lg-10 offset-lg-1">
163+
<h2>Questions? We'd be happy to help! <a href="contact" class="btn">Contact Us</a></h2>
164+
</div>
165+
</div>
166+
</div>
167+
</footer>
168+
111169
<!-- Bootstrap core JavaScript -->
112170
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
113171
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
114-
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
115-
116-
<script>
117-
$(function () {
118-
var navbar = $(".navbar")
119-
var topMenu = $("#PrimaryMenu"),
120-
topMenuHeight = topMenu.outerHeight() + 15,
121-
menuItems = topMenu.find("li a"),
122-
scrollItems = menuItems.map(function () {
123-
var item = $($(this).attr("href"));
124-
if (item.length) {
125-
return item;
126-
}
127-
});
128-
129-
// Close navbar on click
130-
$('.nav-link').on('click', function () {
131-
$('.navbar-collapse').collapse('hide');
132-
});
133-
});
134-
</script>
135-
172+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
136173
</body>
137174
</html>

sass/style.sass

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ h1, h2, h3, h4, h5, h6
136136
margin: 1rem auto
137137
width: 100%
138138

139-
#Schedule, #Contact
140-
margin-top: 12rem
139+
#Archive, #Leaderboard, #Schedule, #Contact
140+
margin-top: 9rem
141141
h1
142142
color: $primary-dark
143143
font-size: 2.5rem
@@ -208,11 +208,14 @@ h1, h2, h3, h4, h5, h6
208208
width: 48%
209209
&:hover
210210
box-shadow: 0 10px 30px rgba($off-dark, 0.4)
211+
@media( #{$bp-sm})
212+
margin: 1rem auto
213+
width: 100%
211214
a.badge
212215
color: $off-light
213216
box-shadow: 0 2px 10px rgba($off-dark, 0.3)
214217
&:hover
215218
box-shadow: 0 5px 15px rgba($off-dark, 0.4)
216-
@media( #{$bp-sm})
217-
margin: 1rem auto
218-
width: 100%
219+
ul li
220+
border: none
221+
background: inherit

style.css

Lines changed: 14 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)