Skip to content

Commit

Permalink
Tasks and Leaderboard is now live
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperChamp234 committed Jun 28, 2023
1 parent efebd38 commit dd01a72
Show file tree
Hide file tree
Showing 44 changed files with 5,024 additions and 352 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ collections:
output: true
permalink: /projects/:path/
tasks:
output: false
output: true
permalink: /tasks/:path/

announcements:
Expand Down Expand Up @@ -208,7 +208,7 @@ exclude:
- Gemfile
- Gemfile.lock
- vendor
- _pages/leaderboard.md
- _pages/leaderboard_temporary.md
- _pages/projects_.md
keep_files:
- CNAME
Expand Down
2 changes: 1 addition & 1 deletion _pages/leaderboard_temporary.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ horizontal: false
---

<div class="alert alert-secondary text-center" role="alert">
Competing team's scores will be revealed here on <b>July 28th 2023</b>. Stay tuned!
Competing team's scores will be revealed here on <b>June 28th 2023</b>. Stay tuned!
</div>

<!-- <div id="leaderboard">
Expand Down
7 changes: 0 additions & 7 deletions _pages/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ nav: true
nav_order: 2
horizontal: false
---

<div class="alert alert-secondary text-center" role="alert">
For selection in the Eklavya mentorship program, you are required to complete a number of tasks that will be revealed here on <b>June 28th 2023</b>. Stay tuned!
</div>



<!-- pages/projects.md -->

<div class="projects">
Expand Down
36 changes: 18 additions & 18 deletions _site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Head -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="refresh" content="3; url=/eklavya.github.io//"> <!-- Metadata, OpenGraph and Schema.org -->
<meta http-equiv="refresh" content="3; url=/"> <!-- Metadata, OpenGraph and Schema.org -->


<!-- Standard metadata -->
Expand Down Expand Up @@ -36,17 +36,17 @@

<!-- Styles -->

<link rel="shortcut icon" href="/eklavya.github.io/assets/img/favicon.ico">
<link rel="shortcut icon" href="/assets/img/favicon.ico">

<link rel="stylesheet" href="/eklavya.github.io/assets/css/main.css">
<link rel="canonical" href="http://localhost:4000/eklavya.github.io/404.html">
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="canonical" href="http://localhost:4000/404.html">

<!-- Dark Mode -->

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jwarby/jekyll-pygments-themes@master/native.css" media="none" id="highlight_theme_dark">

<script src="/eklavya.github.io/assets/js/theme.js"></script>
<script src="/eklavya.github.io/assets/js/dark_mode.js"></script>
<script src="/assets/js/theme.js"></script>
<script src="/assets/js/dark_mode.js"></script>


</head>
Expand All @@ -60,8 +60,8 @@
<!-- Nav Bar -->
<nav id="navbar" class="navbar navbar-light navbar-expand-sm fixed-top">
<div class="container">
<a class="navbar-brand title font-weight-lighter" href="/eklavya.github.io//"><!-- <span class="font-weight-bold">Eklavya 2023&nbsp;</span> -->
<img src="/eklavya.github.io//assets/img/Eklavya_2023_j-removebg-preview.png" alt="heading" style="width: 300px; height: 40px; object-fit: cover; object-position: 0% 45%"></a>
<a class="navbar-brand title font-weight-lighter" href="/"><!-- <span class="font-weight-bold">Eklavya 2023&nbsp;</span> -->
<img src="/assets/img/Eklavya_2023_j-removebg-preview.png" alt="heading" style="width: 300px; height: 40px; object-fit: cover; object-position: 0% 45%"></a>
<!-- Navbar Toggle -->
<button class="navbar-toggler collapsed ml-auto" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="sr-only">Toggle navigation</span>
Expand All @@ -75,19 +75,19 @@

<!-- About -->
<li class="nav-item ">
<a class="nav-link" href="/eklavya.github.io/">Home</a>
<a class="nav-link" href="/">Home</a>
</li>


<!-- Other pages -->
<li class="nav-item ">
<a class="nav-link" href="/eklavya.github.io/leaderboard/">Leaderboard</a>
<a class="nav-link" href="/leaderboard/">Leaderboard</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="/eklavya.github.io/projects/">Eklavya Projects</a>
<a class="nav-link" href="/projects/">Eklavya Projects</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="/eklavya.github.io/tasks/">Tasks</a>
<a class="nav-link" href="/tasks/">Tasks</a>
</li>

<!-- Toogle theme mode -->
Expand Down Expand Up @@ -123,7 +123,7 @@ <h1 class="post-title">Page not found</h1>
</header>

<article>
<p>You will be redirected to the main page within 3 seconds. If not redirected, please go back to the <a href="/eklavya.github.io//">home page</a>.</p>
<p>You will be redirected to the main page within 3 seconds. If not redirected, please go back to the <a href="/">home page</a>.</p>

</article>

Expand Down Expand Up @@ -151,19 +151,19 @@ <h1 class="post-title">Page not found</h1>
<!-- Masonry & imagesLoaded -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/masonry.pkgd.min.js" integrity="sha256-Nn1q/fx0H7SNLZMQ5Hw5JLaTRZp0yILA/FRexe19VdI=" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/imagesloaded@4/imagesloaded.pkgd.min.js"></script>
<script defer src="/eklavya.github.io/assets/js/masonry.js" type="text/javascript"></script>
<script defer src="/assets/js/masonry.js" type="text/javascript"></script>

<!-- Medium Zoom JS -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/medium-zoom.min.js" integrity="sha256-7PhEpEWEW0XXQ0k6kQrPKwuoIomz8R8IYyuU1Qew4P8=" crossorigin="anonymous"></script>
<script defer src="/eklavya.github.io/assets/js/zoom.js"></script>
<script defer src="/assets/js/zoom.js"></script>

<!-- Bootstrap Table -->
<script defer src="https://unpkg.com/[email protected]/dist/bootstrap-table.min.js"></script>

<!-- Load Common JS -->
<script src="/eklavya.github.io/assets/js/no_defer.js"></script>
<script defer src="/eklavya.github.io/assets/js/common.js"></script>
<script defer src="/eklavya.github.io/assets/js/copy_code.js" type="text/javascript"></script>
<script src="/assets/js/no_defer.js"></script>
<script defer src="/assets/js/common.js"></script>
<script defer src="/assets/js/copy_code.js" type="text/javascript"></script>


<script async src="https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js"></script>
Expand Down
21 changes: 12 additions & 9 deletions _site/assets/js/leaderboard.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
let SHEET_ID = "1K9QtML3lSrBIk0UNDydKRtBL3TNEnZO5VyU08mqwE1Q";
let SHEET_TITLE = "Eklavya Leaderboard";
let SHEET_RANGE = "A2:B9";
let SHEET_RANGE = "A2:B42";

let full_URI = `https://docs.google.com/spreadsheets/d/${SHEET_ID}/gviz/tq?sheet=${SHEET_TITLE}/&range=${SHEET_RANGE}`;

fetch(full_URI)
.then((res) => res.text())
.then((rep) => {
let data = JSON.parse(rep.substr(47).slice(0, -2));
let leaderboardData = {};
let leaderboardData = [];

for (row in data.table.rows) {
let teamName = data.table.rows[row]["c"][0]["v"];
let Score = data.table.rows[row]["c"][1]["f"];
leaderboardData[teamName] = Score;
let score = data.table.rows[row]["c"][1]["f"];
leaderboardData.push({ teamName, score });
}

// Sort the leaderboardData array based on the score
leaderboardData.sort((a, b) => b.score - a.score);

let leaderboardBody = document.getElementById("leaderboardBody");
leaderboardBody.innerHTML = ""; // Clear existing content

if (Object.keys(leaderboardData).length === 0) {
if (leaderboardData.length === 0) {
// If leaderboardData is empty, display "No matching record found" message
let row = document.createElement("tr");
let cell = document.createElement("td");
Expand All @@ -29,22 +32,22 @@ fetch(full_URI)
leaderboardBody.appendChild(row);
} else {
let count = 1;
for (let key in leaderboardData) {
for (let i = 0; i < leaderboardData.length; i++) {
let row = document.createElement("tr");
let idCell = document.createElement("th");
idCell.setAttribute("scope", "row");
idCell.textContent = count++;
row.appendChild(idCell);

let firstCell = document.createElement("td");
firstCell.textContent = key;
firstCell.textContent = leaderboardData[i].teamName;
row.appendChild(firstCell);

let lastCell = document.createElement("td");
lastCell.textContent = leaderboardData[key];
lastCell.textContent = leaderboardData[i].score;
row.appendChild(lastCell);

leaderboardBody.appendChild(row);
}
}
});
});
2 changes: 1 addition & 1 deletion _site/feed.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/eklavya.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/eklavya.github.io/" rel="alternate" type="text/html" hreflang="en" /><updated>2023-06-20T23:15:10+05:30</updated><id>http://localhost:4000/eklavya.github.io/feed.xml</id><title type="html">blank</title><subtitle>A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design.
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" hreflang="en" /><updated>2023-06-28T11:55:16+05:30</updated><id>http://localhost:4000/feed.xml</id><title type="html">blank</title><subtitle>A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design.
</subtitle></feed>
86 changes: 64 additions & 22 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@

<!-- Styles -->

<link rel="shortcut icon" href="/eklavya.github.io/assets/img/favicon.ico">
<link rel="shortcut icon" href="/assets/img/favicon.ico">

<link rel="stylesheet" href="/eklavya.github.io/assets/css/main.css">
<link rel="canonical" href="http://localhost:4000/eklavya.github.io/">
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="canonical" href="http://localhost:4000/">

<!-- Dark Mode -->

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jwarby/jekyll-pygments-themes@master/native.css" media="none" id="highlight_theme_dark">

<script src="/eklavya.github.io/assets/js/theme.js"></script>
<script src="/eklavya.github.io/assets/js/dark_mode.js"></script>
<script src="/assets/js/theme.js"></script>
<script src="/assets/js/dark_mode.js"></script>


</head>
Expand Down Expand Up @@ -74,19 +74,19 @@

<!-- About -->
<li class="nav-item active">
<a class="nav-link" href="/eklavya.github.io/">Home<span class="sr-only">(current)</span></a>
<a class="nav-link" href="/">Home<span class="sr-only">(current)</span></a>
</li>


<!-- Other pages -->
<li class="nav-item ">
<a class="nav-link" href="/eklavya.github.io/leaderboard/">Leaderboard</a>
<a class="nav-link" href="/leaderboard/">Leaderboard</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="/eklavya.github.io/projects/">Eklavya Projects</a>
<a class="nav-link" href="/projects/">Eklavya Projects</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="/eklavya.github.io/tasks/">Tasks</a>
<a class="nav-link" href="/tasks/">Tasks</a>
</li>

<!-- Toogle theme mode -->
Expand Down Expand Up @@ -120,7 +120,7 @@
<span class="font-weight-bold">Eklavya 2023</span>
</h1> -->
<!-- add image for heading -->
<img src="/eklavya.github.io//assets/img/Eklavya_2023_j-removebg-preview.png" alt="heading" style="width: 300px; height: 60px; object-fit: cover; object-position: 50% 25%;">
<img src="/assets/img/Eklavya_2023_j-removebg-preview.png" alt="heading" style="width: 300px; height: 60px; object-fit: cover; object-position: 50% 25%;">
<p class="desc"></p>
</header>

Expand All @@ -131,13 +131,13 @@

<picture>

<source class="responsive-img-srcset" media="(max-width: 480px)" srcset="/eklavya.github.io/assets/img/Profile-480.webp"></source>
<source class="responsive-img-srcset" media="(max-width: 800px)" srcset="/eklavya.github.io/assets/img/Profile-800.webp"></source>
<source class="responsive-img-srcset" media="(max-width: 1400px)" srcset="/eklavya.github.io/assets/img/Profile-1400.webp"></source>
<source class="responsive-img-srcset" media="(max-width: 480px)" srcset="/assets/img/Profile-480.webp"></source>
<source class="responsive-img-srcset" media="(max-width: 800px)" srcset="/assets/img/Profile-800.webp"></source>
<source class="responsive-img-srcset" media="(max-width: 1400px)" srcset="/assets/img/Profile-1400.webp"></source>


<!-- Fallback to the original file -->
<img src="/eklavya.github.io/assets/img/Profile.png" class="" width="auto" height="auto" alt="Profile.png" onerror="this.onerror=null; $('.responsive-img-srcset').remove();">
<img src="/assets/img/Profile.png" class="" width="auto" height="auto" alt="Profile.png" onerror="this.onerror=null; $('.responsive-img-srcset').remove();">

</picture>

Expand All @@ -150,15 +150,57 @@
</div>

<div class="clearfix">
<p>Eklavya is a mentorship program conducted by Society of Robotics and Automation (SRA) where First Years will get an opportunity to work on full-fledged projects under the mentorship of SRA seniors.</p>
<p>SRA had conducted various workshops over the course of this year, starting from Inception till MARIO where we tried to give you exposure to various domains:
C++/Python programming, embedded systems, ROS (Robot Operating System), OpenCV (Image processing), interesting theory (meh) and exciting hands-on hardware experience 😎
Now, it’s time to utilise all the knowledge you gained from these workshops in your own research level projects.</p>

<p>Eklavya presents you the opportunity to work on projects in various domains where you will be mentored by your seniors over the coarse of two whole months!
Here’s the link of all projects with their respective domains.</p>

<p>Whether you are applying for an internship or trying to lit your profile just to brag among your buddies, the level of projects you do in your undergrad life provides you the edge on the same and on top of that, doing a project at the end of the first year itself is a big achievement.</p>

<p>How can we participate in this mentorship program?</p>

<p>Here’s the procedure for the program:</p>

<ol>
<li>
<p>Logic building and technical round
Here you will get tasks with a defined problem statement and you’ll have to solve it with knowledge you gained from the workshops.
For this round you need a team of two members.
TIP: Try to have a teammate who has access to SRA board as it might come handy for the tasks
Top performers in this round will go for the next round</p>
</li>
<li>
<p>Interview round</p>
</li>
<li>
<p>Commencement of Eklavya</p>
</li>
</ol>

<p>So, when is the technical round?</p>

<p>First round starts from 28th June and ends on 8th of July.</p>

<p>What preparations should I do for the first round</p>

<ol>
<li>Go through SRA exclusive resources, i.e. ppts from workshops and assignments
Note: assignments will be prioritized in your selections as well, so do attempt all the incomplete assignment s from all workshops</li>
</ol>

<p>And that’s it! 😤</p>

<p>You need to register for the mentorship program before the commencement of selection rounds with a cool team 😎</p>

<!--<a href="https://github.com/SRA-VJTI" title="GitHub"><i class="fab fa-github"></i></a>
-->

</div>

<!-- News -->
<h2><a href="/eklavya.github.io/news/" style="color: inherit;">news</a></h2> <div class="news">
<h2><a href="/news/" style="color: inherit;">news</a></h2> <div class="news">
<div class="table-responsive">
<table class="table table-sm table-borderless">

Expand All @@ -174,7 +216,7 @@ <h2><a href="/eklavya.github.io/news/" style="color: inherit;">news</a></h2>
</div>

<!-- Latest posts -->
<!-- <h2><a href="/eklavya.github.io/blog/" style="color: inherit;">latest posts</a></h2>
<!-- <h2><a href="/blog/" style="color: inherit;">latest posts</a></h2>
<div class="news">
<div class="table-responsive" >
<table class="table table-sm table-borderless">
Expand Down Expand Up @@ -232,19 +274,19 @@ <h2><a href="/eklavya.github.io/news/" style="color: inherit;">news</a></h2>
<!-- Masonry & imagesLoaded -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/masonry.pkgd.min.js" integrity="sha256-Nn1q/fx0H7SNLZMQ5Hw5JLaTRZp0yILA/FRexe19VdI=" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/imagesloaded@4/imagesloaded.pkgd.min.js"></script>
<script defer src="/eklavya.github.io/assets/js/masonry.js" type="text/javascript"></script>
<script defer src="/assets/js/masonry.js" type="text/javascript"></script>

<!-- Medium Zoom JS -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/medium-zoom.min.js" integrity="sha256-7PhEpEWEW0XXQ0k6kQrPKwuoIomz8R8IYyuU1Qew4P8=" crossorigin="anonymous"></script>
<script defer src="/eklavya.github.io/assets/js/zoom.js"></script>
<script defer src="/assets/js/zoom.js"></script>

<!-- Bootstrap Table -->
<script defer src="https://unpkg.com/[email protected]/dist/bootstrap-table.min.js"></script>

<!-- Load Common JS -->
<script src="/eklavya.github.io/assets/js/no_defer.js"></script>
<script defer src="/eklavya.github.io/assets/js/common.js"></script>
<script defer src="/eklavya.github.io/assets/js/copy_code.js" type="text/javascript"></script>
<script src="/assets/js/no_defer.js"></script>
<script defer src="/assets/js/common.js"></script>
<script defer src="/assets/js/copy_code.js" type="text/javascript"></script>


<script async src="https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js"></script>
Expand Down
Loading

0 comments on commit dd01a72

Please sign in to comment.