Skip to content

Commit

Permalink
[Update]: add tasks and leaderboard (#212)
Browse files Browse the repository at this point in the history
* add task PCB designing

Co-authored-by: AtharvaAtre <[email protected]>

* added leaderboard and updated PCB task

* add task Task 3: turtlesim

Co-authored-by: DoobyDoPap <[email protected]>

* add Embedded task

Co-authored-by: Shankari02 <[email protected]>
Co-authored-by: SurajSonawane2415 <[email protected]>

* add mech design task

Co-authored-by: SKYBIRDSGP <[email protected]>

* fix leaderboard and update task 3

* add cv task

Co-authored-by: Faulty404 <[email protected]>

* minor updates in tasks and leaderboard

* update news and add task 1

Co-authored-by: Atharv1035 <[email protected]>

---------

Co-authored-by: AtharvaAtre <[email protected]>
Co-authored-by: DoobyDoPap <[email protected]>
Co-authored-by: Shankari02 <[email protected]>
Co-authored-by: SurajSonawane2415 <[email protected]>
Co-authored-by: SKYBIRDSGP <[email protected]>
Co-authored-by: Faulty404 <[email protected]>
Co-authored-by: Atharv1035 <[email protected]>
  • Loading branch information
8 people authored Jun 9, 2024
1 parent 394979e commit 9d765d6
Show file tree
Hide file tree
Showing 30 changed files with 2,565 additions and 212 deletions.
8 changes: 8 additions & 0 deletions _news/announcement_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: post
date: 2024 June 10
inline: true
related_posts: false
---

[Tasks](tasks/) are now live. Good luck to all participating teams!
7 changes: 2 additions & 5 deletions _pages/leaderboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ nav_order: 2
horizontal: false
---

<!-- <div id="leaderboard">
<div id="leaderboard">
<table class="table" id="leaderboardTable">
<thead>
<tr>
Expand All @@ -21,10 +21,7 @@ horizontal: false
</tbody>
</table>
</div> -->

<div class="alert alert-secondary text-center" role="alert">
Competing team's scores will be revealed here. Stay tuned!
</div>


<script src="{{ '/assets/js/leaderboard.js' | relative_url }}"></script>
62 changes: 62 additions & 0 deletions _pages/tasks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
layout: page
title: Tasks
permalink: /tasks/
description:
nav: true
nav_order: 2
horizontal: false
---
<!-- pages/projects.md -->

<div class="projects">
{%- if site.enable_project_categories and page.display_categories %}
<!-- Display categorized projects -->
{%- for category in page.display_categories %}
<h2 class="category">{{ category }}</h2>
{%- assign categorized_projects = site.tasks | where: "category", category -%}
{%- assign sorted_projects = categorized_projects | sort: "importance" %}
<!-- Generate cards for each project -->
{% if page.horizontal -%}
<div class="container">
<div class="row row-cols-2">
{%- for project in sorted_projects -%}
{% include projects_horizontal.html %}
{%- endfor %}
</div>
</div>
{%- else -%}
<div class="grid">
{%- for project in sorted_projects -%}
{% include projects.html %}
{%- endfor %}
</div>
{%- endif -%}
{% endfor %}

{%- else -%}

<!-- Display projects without categories -->

{%- assign sorted_projects = site.tasks | sort: "importance" -%}

<!-- Generate cards for each project -->

{% if page.horizontal -%}

<div class="container">
<div class="row row-cols-2">
{%- for project in sorted_projects -%}
{% include projects_horizontal.html %}
{%- endfor %}
</div>
</div>
{%- else -%}
<div class="grid">
{%- for project in sorted_projects -%}
{% include projects.html %}
{%- endfor %}
</div>
{%- endif -%}
{%- endif -%}
</div>
Binary file added _site/assets/img/maze.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _site/assets/img/stars.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _site/assets/img/task_2_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions _site/assets/js/leaderboard.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
let SHEET_ID = "1K9QtML3lSrBIk0UNDydKRtBL3TNEnZO5VyU08mqwE1Q";
let SHEET_TITLE = "Eklavya Leaderboard";
let SHEET_ID = "1SicFCrILTarw2dsadPwuciuanI6aIcLU1i8DWhv62k0";
let SHEET_TITLE = "Eklavya Leaderboard 24";
let SHEET_RANGE = "A2:B42";

let full_URI = `https://docs.google.com/spreadsheets/d/${SHEET_ID}/gviz/tq?sheet=${SHEET_TITLE}/&range=${SHEET_RANGE}`;
Expand Down
10 changes: 10 additions & 0 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@
<li class="nav-item ">
<a class="nav-link" href="/projects/">Eklavya Projects</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="/tasks/">Tasks</a>
</li>

<!-- Toogle theme mode -->
<!-- <li class="toggle-container">
Expand Down Expand Up @@ -176,6 +179,13 @@ <h2><a href="/news/" style="color: inherit;">news</a></h2> <div class="
<div class="table-responsive">
<table class="table table-sm table-borderless">

<tr>
<th scope="row">Jun 10, 2024</th>
<td>
<a href="tasks/">Tasks</a> are now live. Good luck to all participating teams!

</td>
</tr>
<tr>
<th scope="row">May 14, 2024</th>
<td>
Expand Down
9 changes: 4 additions & 5 deletions _site/leaderboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@
<li class="nav-item ">
<a class="nav-link" href="/projects/">Eklavya Projects</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="/tasks/">Tasks</a>
</li>

<!-- Toogle theme mode -->
<!-- <li class="toggle-container">
Expand Down Expand Up @@ -120,7 +123,7 @@ <h1 class="post-title">Leaderboard</h1>
</header>

<article>
<!-- <div id="leaderboard">
<div id="leaderboard">
<table class="table" id="leaderboardTable">
<thead>
<tr>
Expand All @@ -133,10 +136,6 @@ <h1 class="post-title">Leaderboard</h1>

</tbody>
</table>
</div> -->

<div class="alert alert-secondary text-center" role="alert">
Competing team's scores will be revealed here. Stay tuned!
</div>

<script src="/assets/js/leaderboard.js"></script>
Expand Down
Loading

0 comments on commit 9d765d6

Please sign in to comment.