Skip to content

Commit

Permalink
Update site for Code Jam 2024 (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShakyaMajumdar authored Jul 3, 2024
1 parent 0c16750 commit ad36098
Show file tree
Hide file tree
Showing 13 changed files with 301 additions and 72 deletions.
1 change: 1 addition & 0 deletions pydis_site/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@
"primary-light": "#2B3660",
"success-dark": "#EFFAF5", # Bulma's success-light
"success-light": "#214133",
"success": "#31815D",
"danger-dark": "#FEECF0", # Bulma's danger-light
"danger-light": "#4C1822",
"info-dark": "#EFF5FB", # Bulma's info-light
Expand Down
Binary file not shown.
Binary file not shown.
18 changes: 12 additions & 6 deletions pydis_site/templates/events/current_event.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,28 @@

{# Current/next event to promote #}
<div class="box has-background-warning-light" style="padding: 2rem; padding-top: .75rem; margin-top: 2rem;">
<small class="has-text-grey">Recent event</small>
<small class="has-text-grey">Upcoming event</small>
<div class="columns is-3 mt-1" style="--columnGap: 0.75rem;">
<div class="column">
<h2 class="title is-4"><a href="https://pyweek.org/37/">PyWeek 37</a></h2>
<h2 class="title is-4"><a href="{% url "events:page" path="code-jams/11" %}">Summer Code Jam 2024</a></h2>
<p class="subtitle is-6" style="margin-top: -.75rem;">
<span class="icon-text">
<span class="icon"><i class="fa-regular fa-calendar"></i></span><span>March 17-24</span>
<span class="icon"><i class="fa-regular fa-calendar"></i></span><span>July 3 - August 1</span>
</span>
</p>
</div>
<div class="column">
<img src="https://pyweek.readthedocs.io/en/latest/_static/pyweek.svg" style="border-radius: 10px;" alt="PyWeek logo">
<img src="{% static "images/events/summer_code_jam_2024/banner.webp" %}" style="border-radius: 10px;" alt="Code Jam 2024">
</div>
</div>
<p>A bi-annual game jam where participants write a game in Python in a week, either individually or as a team. The theme is voted by the competitors prior to the challenge, and the entries are also judged by the competitors after the challenge.</p>
<a class="button is-primary" href="https://pyweek.org/37/">
<div class="notification is-success">
The <strong>2024 Summer Code Jam</strong> is currently underway and you can still enter!
<strong>The qualifier is open until July 10</strong>; check out the details <a href="{% url "events:page" path="code-jams/11" %}">here</a>.
</div>
<p>Once a year we host a code jam for members of our server to participate in. The code jam is an event where we place you
in a team with 5 other random server members. You then have 11 days to code some sort of application or program in Python.
Your program must use the specified technology/framework and incorporate the theme chosen by the server.</p>
<a class="button is-primary" href="{% url "events:page" path="code-jams/11" %}">
<span class="icon-text">
<span>Learn more</span><span class="icon"><i class="fa-solid fa-arrow-right"></i></span>
</span>
Expand Down
61 changes: 61 additions & 0 deletions pydis_site/templates/events/pages/code-jams/11/_index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{% extends "events/base_sidebar.html" %}

{% load static %}

{% block title %}Summer Code Jam 2024{% endblock %}

{% block breadcrumb %}
<li><a href="{% url "events:index" %}">Events</a></li>
<li><a href="{% url "events:page" path="code-jams" %}">Code Jams</a></li>
<li class="is-active"><a href="#">Code Jam 2024</a></li>
{% endblock %}

{% block event_content %}
<p>Once a year we host a code jam for members of our server to participate in. The code jam is an event where we place you
in a team with 5 other random server members. You then have 11 days to code some sort of application or program in Python.
Your program must use the specified technology/framework and incorporate the theme chosen by the server.
</p>
<p>
After the 11 days are complete, your team has 4 days to finish documentation and create a video presentation showcasing
and walking through the program that your team has created. More details and specifics of this will be released within the next 2 weeks.
</p>

<h3 id="important-dates"><a href="#important-dates">Important Dates</a></h3>
<ul>
<li>Wednesday, July 3 - The Qualifier is released</li>
<li>Wednesday, July 10 - The Qualifier closes</li>
<li>Wednesday, July 10 - Voting for the theme opens</li>
<li>Thursday, July 18 - Code Jam Begins</li>
<li>Sunday, July 28 - Coding portion of the jam ends</li>
<li>Thursday, August 1 - Presentation and documentation process ends</li>
</ul>

<h3 id="qualifier"><a href="#qualifier">The Qualifier</a></h3>
<p>
The qualifier is a coding challenge that you are required to complete before registering for the code jam.
This is meant as a basic assessment of your skills to ensure you have enough Python knowledge to effectively contribute in a team environment.
</p>
<p>
<strong>The qualifier has been released! Submissions are open until July 10.</strong>
You can find the instructions <a href="https://github.com/python-discord/code-jam-11-qualifier" target="_blank">on our GitHub</a>,
and submit using <a href="https://forms.pythondiscord.com/form/cj11-2024-qualifier" target="_blank">this form</a> when you're done.
</p>

<h3 id="technology"><a href="#technology">Technology</a></h3>
<p>
The chosen technology for this year is <strong>Discord Applications</strong>.
Each team must make use of <a href="{% url "events:page" path="code-jams/11/frameworks" %}">the approved frameworks</a> to create a Discord Application.
</p>

<h3 id="prizes"><a href="#prizes">Prizes</a></h3>
<p>
Prizes for the code jam will be announced in the coming weeks.
</p>

{% endblock %}

{% block sidebar %}

{% include "events/sidebar/code-jams/11.html" %}

{% endblock %}
106 changes: 106 additions & 0 deletions pydis_site/templates/events/pages/code-jams/11/frameworks.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{% extends "events/base_sidebar.html" %}

{% load static %}

{% block title %}Summer Code Jam 2024{% endblock %}

{% block breadcrumb %}
<li><a href="{% url "events:index" %}">Events</a></li>
<li><a href="{% url "events:page" path="code-jams" %}">Code Jams</a></li>
<li><a href="{% url "events:page" path="code-jams/11" %}">Code Jam 2024</a></li>
<li class="is-active"><a href="#">Approved Frameworks</a></li>
{% endblock %}

{% block event_content %}
<p>
Below is the list of approved frameworks that you can use for the code jam.
Please work with your team to choose a library (or multiple) that everyone can and want to develop with.
If there is a library not listed below that you think should be here, you're welcome to discuss it with the Events Team over in the Discord server.

</p>

<h3 id="approved-frameworks"><a href="#approved-frameworks">Approved Frameworks</a></h3>

<div class="card mb-4">
<div class="card-content">
<div class="content">
<p class="subtitle">discord.py</p>
<p>
discord.py is a modern, easy to use, feature-rich, and async ready API wrapper for Discord.
</p>
</div>
</div>
<div class="card-footer">
<a href="https://discordpy.readthedocs.io/en/stable/" class="card-footer-item"><i class="fas fa-book"></i>&ensp;Documentation</a>
<a href="https://github.com/Rapptz/discord.py" class="card-footer-item"><i class="fab fa-github"></i>&ensp;GitHub</a>
</div>
</div>

<div class="card mb-4">
<div class="card-content">
<div class="content">
<p class="subtitle">nextcord</p>
<p>
Nextcord is a modern, easy-to-use, feature-rich, and async-ready API wrapper for Discord, forked from discord.py.
</p>
</div>
</div>
<div class="card-footer">
<a href="https://docs.nextcord.dev/en/stable/" class="card-footer-item"><i class="fas fa-book"></i>&ensp;Documentation</a>
<a href="https://github.com/nextcord/nextcord" class="card-footer-item"><i class="fab fa-github"></i>&ensp;GitHub</a>
</div>
</div>

<div class="card mb-4">
<div class="card-content">
<div class="content">
<p class="subtitle">disnake</p>
<p>
disnake is a modern, easy to use, feature-rich, and async-ready API wrapper for Discord.
</p>
</div>
</div>
<div class="card-footer">
<a href="https://docs.disnake.dev/en/stable/" class="card-footer-item"><i class="fas fa-book"></i>&ensp;Documentation</a>
<a href="https://github.com/DisnakeDev/disnake" class="card-footer-item"><i class="fab fa-github"></i>&ensp;GitHub</a>
</div>
</div>

<div class="card mb-4">
<div class="card-content">
<div class="content">
<p class="subtitle">hikari</p>
<p>
An opinionated, static typed Discord microframework for Python3 and asyncio that supports Discord's v10 REST and Gateway APIs.
Built on good intentions and the hope that it will be extendable and reusable, rather than an obstacle for future development.
</p>
</div>
</div>
<div class="card-footer">
<a href="https://docs.hikari-py.dev/en/2.0.0.dev126/" class="card-footer-item"><i class="fas fa-book"></i>&ensp;Documentation</a>
<a href="https://github.com/hikari-py/hikari" class="card-footer-item"><i class="fab fa-github"></i>&ensp;GitHub</a>
</div>
</div>

<div class="card mb-4">
<div class="card-content">
<div class="content">
<p class="subtitle">pycord</p>
<p>
Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord.
</p>
</div>
</div>
<div class="card-footer">
<a href="https://docs.pycord.dev/en/stable/" class="card-footer-item"><i class="fas fa-book"></i>&ensp;Documentation</a>
<a href="https://github.com/Pycord-Development/pycord" class="card-footer-item"><i class="fab fa-github"></i>&ensp;GitHub</a>
</div>
</div>

{% endblock %}

{% block sidebar %}

{% include "events/sidebar/code-jams/11.html" %}

{% endblock %}
85 changes: 85 additions & 0 deletions pydis_site/templates/events/pages/code-jams/11/rules.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{% extends "events/base_sidebar.html" %}

{% block title %}Summer Code Jam 2024{% endblock %}

{% block breadcrumb %}
<li><a href="{% url "events:index" %}">Events</a></li>
<li><a href="{% url "events:page" path="code-jams" %}">Code Jams</a></li>
<li><a href="{% url "events:page" path="code-jams/11" %}">Code Jam 2024</a></li>
<li class="is-active"><a href="#">Rules</a></li>
{% endblock %}

{% block event_content %}
<ol>
<li><p>Your solution must use one or more of the approved frameworks. It is not permitted to circumvent this rule by e.g. using the approved framework as a wrapper for another framework.</p></li>
<li>
<p>
<strong>The core of your project must focus on and incorporate Discord Applications.</strong>
</p>
</li>
<li><p>Your solution should be platform agnostic. For example, if you use filepaths in your submission, use <code>pathlib</code> to create platform agnostic Path objects instead of hardcoding the paths.</p></li>
<li>
<p>
You must document precisely how to install and run your project.
This should be as easy as possible, which means you should consider using dependency managers like <code>pipenv</code> or <code>poetry</code>.
We would also encourage you to use <code>docker</code> and <code>docker-compose</code> to containerize your project, but this isn't a requirement.
</p>
</li>
<li>
You must get contributions from every member of your team, if you have an issue with someone on your team please contact a member of the administration team.
These contributions do not necessarily have to be code, for example it's absolutely fine for someone to contribute management, documentation, graphics or audio.
<strong>
Team members that do not contribute will be removed from the Code Jam, and will not receive their share of any prizes the team may win.
They may also be barred from entering future events.
</strong>
</li>
<li><p>You must use GitHub as source control.</p></li>
<li>
<p>
All code and assets must be compatible with the <a href="https://en.wikipedia.org/wiki/MIT_License">MIT license</a>.
This is because we will be merging your submission into our <code>summer-code-jam-2024</code> repo at the end of the jam,
and this repo is licensed with the MIT license.
<strong>Projects that include assets that are incompatible with this license may be disqualified.</strong>
</p>
</li>
<li><p>All code must be written and committed within the time constrictions of the jam. Late commits may be reverted, so make sure you leave enough time to bug test your program.</p></li>
<li>
<p>
Use English as the main language for your project, including names, comments, documentation, and commit messages.
Any text displayed in your application should also be in English,
although you are allowed to provide the user with options for internationalisation and translation.
</p>
</li>
<li>
<p>
Your team, once the coding portion of the code jam is complete, must create a video presentation that showcases and explains your final product.
This must be in a video format and must be uploaded somewhere for the judges to view (i.e. unlisted Youtube video, Vimeo, etc.)
The video can be as simple as a screen recording with annotated text.
Teams who do not submit a final video presentation may be disqualified.
</p>
</li>
<li>
<p>
Any images or videos used must have one of the following licenses and follow the licensing guidelines:
<ul>
<li>Public Domain License</li>
<li>Copyright Free Image License</li>
<li>CC-BY (Creative Commons "By")</li>
<li>CC-BY-SA (Creative Commons "Share Alike")</li>
</ul>
</p>
</li>
</ol>

<blockquote>
Please note that our regular
<a href="/pages/rules">community rules</a> and <a href="/pages/code-of-conduct">code of conduct</a>
also apply during the event and that we reserve the right to make changes to these rules at any time.
</blockquote>
{% endblock %}

{% block sidebar %}

{% include "events/sidebar/code-jams/11.html" %}

{% endblock %}
5 changes: 5 additions & 0 deletions pydis_site/templates/events/pages/code-jams/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
{% block title %}Code Jams{% endblock %}

{% block event_content %}
<div class="notification is-success">
The <strong>2024 Summer Code Jam</strong> is currently underway and you can still enter!
<strong>The qualifier is open until July 10</strong>; check out the details <a href="{% url "events:page" path="code-jams/11" %}">here</a>.
</div>
<p>
If you've been around the server for a while, or you just happened to join at the right time,
you may have heard of something known as a Code Jam.
Expand Down Expand Up @@ -66,6 +70,7 @@ <h2 class="title is-4" id="how-experienced-do-i-need-to-be-to-join-a-code-jam">
{% endblock %}

{% block sidebar %}
{% include "events/sidebar/code-jams/ongoing-code-jam.html" %}
{% include "events/sidebar/code-jams/previous-code-jams.html" %}
{% include "events/sidebar/code-jams/useful-information.html" %}
{% endblock %}
50 changes: 2 additions & 48 deletions pydis_site/templates/events/scheduled_events.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,12 @@ <h2 class="title is-5" style="margin-bottom: 2rem;">Scheduled events</h2>
<article class="media">
<div class="media-left">
<p class="image is-64x64">
<a href="https://pyweek.org/37/"><img class="is-rounded" src="/static/images/events/icons/pyweek.png"></a>
<a href="{% url "events:page" path="code-jams/11" %}"><img class="is-rounded" src="/static/images/events/summer_code_jam_2024/logo.webp"></a>
</p>
</div>
<div class="media-content">
<div class="content">
<h5 class="title is-4"><a href="https://pyweek.org/37/">PyWeek 37</a></h5>
<p class="subtitle is-6">
<span class="icon-text">
<span class="icon date-icon"><i class="fa-regular fa-calendar"></i></span>
<span>March 17-24, 2024</span>
</span>
</p>
<p>The bi-annual game-jam where you are allowed one week to write a game from scratch, either as an individual or as a team.</p>
</div>
<a class="button is-small is-link is-outlined" href="https://pyweek.org/37/">
<span class="icon date-icon"><i class="fas fa-circle-info"></i></span>
<span>Learn more</span>
</a>
</div>
</article>
<article class="media">
<div class="media-left">
<p class="image is-64x64">
<a href="{% url "events:page" path="revivalofcode" %}"><img class="is-rounded" src="/static/images/events/icons/adventofcode.png"></a>
</p>
</div>
<div class="media-content">
<div class="content">
<h5 class="title is-4"><a href="{% url "events:page" path="revivalofcode" %}">Revival of Code</a></h5>
<p class="subtitle is-6">
<span class="icon-text">
<span class="icon date-icon"><i class="fa-regular fa-calendar"></i></span>
<span>May 2024</span>
</span>
</p>
<p>Revisit past years' Advent of Code problems! Puzzles are relased every other day and there will be dedicated solution threads for you to discuss with other participants.</p>
</div>
<a class="button is-small is-link is-outlined" href="{% url "events:page" path="revivalofcode" %}">
<span class="icon date-icon"><i class="fas fa-circle-info"></i></span>
<span>Learn more</span>
</a>
</div>
</article>
<article class="media">
<div class="media-left">
<p class="image is-64x64">
<a href="{% url "events:page" path="code-jams" %}"><img class="is-rounded" src="/static/images/events/icons/codejam.svg"></a>
</p>
</div>
<div class="media-content">
<div class="content">
<h5 class="title is-4"><a href="{% url "events:page" path="code-jams" %}">Code Jam</a></h5>
<h5 class="title is-4"><a href="{% url "events:page" path="code-jams/11" %}">Summer Code Jam 2024</a></h5>
<p class="subtitle is-6">
<span class="icon-text">
<span class="icon date-icon"><i class="fa-regular fa-calendar"></i></span>
Expand Down
11 changes: 11 additions & 0 deletions pydis_site/templates/events/sidebar/code-jams/11.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% load static %}
<div class="panel">
<p class="panel-heading">Important Links</p>
<a class="panel-block has-text-link" href="{% url "events:page" path="code-jams/11/rules" %}">Rules</a>
<a class="panel-block has-text-link" href="{% url "events:page" path="code-jams/11/frameworks" %}">Approved Frameworks</a>
<a class="panel-block has-text-link" href="{% url "events:page" path="code-jams/code-style-guide" %}">The Code Style Guide</a>
</ul>
</div>
<div class="box">
<img src="/static/images/events/summer_code_jam_2024/logo.webp" alt="logo">
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div class="box">
<h4 class="menu-label">Upcoming Code Jam</h4>
<a href="{% url "events:page" path="code-jams/10" %}">
<img src="{% static "images/events/summer_code_jam_2023/banner2.png" %}" alt="Code Jam 2023">
<a href="{% url "events:page" path="code-jams/11" %}">
<img src="{% static "images/events/summer_code_jam_2024/banner.webp" %}" alt="Code Jam 2024">
</a>
</div>
Loading

0 comments on commit ad36098

Please sign in to comment.