From ad3609812d228c38ca62479b05e62f45ced0d2c9 Mon Sep 17 00:00:00 2001 From: Shakya Majumdar Date: Wed, 3 Jul 2024 22:42:54 +0530 Subject: Update site for Code Jam 2024 (#1353) --- pydis_site/settings.py | 1 + .../images/events/summer_code_jam_2024/banner.webp | Bin 0 -> 68544 bytes .../images/events/summer_code_jam_2024/logo.webp | Bin 0 -> 16294 bytes pydis_site/templates/events/current_event.html | 18 ++-- .../events/pages/code-jams/11/_index.html | 61 ++++++++++++ .../events/pages/code-jams/11/frameworks.html | 106 +++++++++++++++++++++ .../templates/events/pages/code-jams/11/rules.html | 85 +++++++++++++++++ .../templates/events/pages/code-jams/_index.html | 5 + pydis_site/templates/events/scheduled_events.html | 50 +--------- .../templates/events/sidebar/code-jams/11.html | 11 +++ .../events/sidebar/code-jams/ongoing-code-jam.html | 4 +- .../templates/events/sidebar/main_sidebar.html | 24 ++--- pydis_site/templates/home/index.html | 8 +- 13 files changed, 301 insertions(+), 72 deletions(-) create mode 100644 pydis_site/static/images/events/summer_code_jam_2024/banner.webp create mode 100644 pydis_site/static/images/events/summer_code_jam_2024/logo.webp create mode 100644 pydis_site/templates/events/pages/code-jams/11/_index.html create mode 100644 pydis_site/templates/events/pages/code-jams/11/frameworks.html create mode 100644 pydis_site/templates/events/pages/code-jams/11/rules.html create mode 100644 pydis_site/templates/events/sidebar/code-jams/11.html diff --git a/pydis_site/settings.py b/pydis_site/settings.py index c4ff205a..f59b179a 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -328,6 +328,7 @@ BULMA_SETTINGS = { "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 diff --git a/pydis_site/static/images/events/summer_code_jam_2024/banner.webp b/pydis_site/static/images/events/summer_code_jam_2024/banner.webp new file mode 100644 index 00000000..8dac0136 Binary files /dev/null and b/pydis_site/static/images/events/summer_code_jam_2024/banner.webp differ diff --git a/pydis_site/static/images/events/summer_code_jam_2024/logo.webp b/pydis_site/static/images/events/summer_code_jam_2024/logo.webp new file mode 100644 index 00000000..6a6ea087 Binary files /dev/null and b/pydis_site/static/images/events/summer_code_jam_2024/logo.webp differ diff --git a/pydis_site/templates/events/current_event.html b/pydis_site/templates/events/current_event.html index e099ccb6..8a9bed01 100644 --- a/pydis_site/templates/events/current_event.html +++ b/pydis_site/templates/events/current_event.html @@ -2,22 +2,28 @@ {# Current/next event to promote #}
- Recent event + Upcoming event
-

PyWeek 37

+

Summer Code Jam 2024

- March 17-24 + July 3 - August 1

- PyWeek logo + Code Jam 2024
-

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.

- + +

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.

+ Learn more diff --git a/pydis_site/templates/events/pages/code-jams/11/_index.html b/pydis_site/templates/events/pages/code-jams/11/_index.html new file mode 100644 index 00000000..7c47cb0e --- /dev/null +++ b/pydis_site/templates/events/pages/code-jams/11/_index.html @@ -0,0 +1,61 @@ +{% extends "events/base_sidebar.html" %} + +{% load static %} + +{% block title %}Summer Code Jam 2024{% endblock %} + +{% block breadcrumb %} +
  • Events
  • +
  • Code Jams
  • +
  • Code Jam 2024
  • +{% endblock %} + +{% block event_content %} +

    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. +

    +

    + 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. +

    + +

    Important Dates

    + + +

    The Qualifier

    +

    + 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. +

    +

    + The qualifier has been released! Submissions are open until July 10. + You can find the instructions on our GitHub, + and submit using this form when you're done. +

    + +

    Technology

    +

    + The chosen technology for this year is Discord Applications. + Each team must make use of the approved frameworks to create a Discord Application. +

    + +

    Prizes

    +

    + Prizes for the code jam will be announced in the coming weeks. +

    + +{% endblock %} + +{% block sidebar %} + + {% include "events/sidebar/code-jams/11.html" %} + +{% endblock %} diff --git a/pydis_site/templates/events/pages/code-jams/11/frameworks.html b/pydis_site/templates/events/pages/code-jams/11/frameworks.html new file mode 100644 index 00000000..f6984ab3 --- /dev/null +++ b/pydis_site/templates/events/pages/code-jams/11/frameworks.html @@ -0,0 +1,106 @@ +{% extends "events/base_sidebar.html" %} + +{% load static %} + +{% block title %}Summer Code Jam 2024{% endblock %} + +{% block breadcrumb %} +
  • Events
  • +
  • Code Jams
  • +
  • Code Jam 2024
  • +
  • Approved Frameworks
  • +{% endblock %} + +{% block event_content %} +

    + 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. + +

    + +

    Approved Frameworks

    + +
    +
    +
    +

    discord.py

    +

    + discord.py is a modern, easy to use, feature-rich, and async ready API wrapper for Discord. +

    +
    +
    + +
    + +
    +
    +
    +

    nextcord

    +

    + Nextcord is a modern, easy-to-use, feature-rich, and async-ready API wrapper for Discord, forked from discord.py. +

    +
    +
    + +
    + +
    +
    +
    +

    disnake

    +

    + disnake is a modern, easy to use, feature-rich, and async-ready API wrapper for Discord. +

    +
    +
    + +
    + +
    +
    +
    +

    hikari

    +

    + 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. +

    +
    +
    + +
    + +
    +
    +
    +

    pycord

    +

    + Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord. +

    +
    +
    + +
    + +{% endblock %} + +{% block sidebar %} + + {% include "events/sidebar/code-jams/11.html" %} + +{% endblock %} diff --git a/pydis_site/templates/events/pages/code-jams/11/rules.html b/pydis_site/templates/events/pages/code-jams/11/rules.html new file mode 100644 index 00000000..84b224b0 --- /dev/null +++ b/pydis_site/templates/events/pages/code-jams/11/rules.html @@ -0,0 +1,85 @@ +{% extends "events/base_sidebar.html" %} + +{% block title %}Summer Code Jam 2024{% endblock %} + +{% block breadcrumb %} +
  • Events
  • +
  • Code Jams
  • +
  • Code Jam 2024
  • +
  • Rules
  • +{% endblock %} + +{% block event_content %} +
      +
    1. 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.

    2. +
    3. +

      + The core of your project must focus on and incorporate Discord Applications. +

      +
    4. +
    5. Your solution should be platform agnostic. For example, if you use filepaths in your submission, use pathlib to create platform agnostic Path objects instead of hardcoding the paths.

    6. +
    7. +

      + 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 pipenv or poetry. + We would also encourage you to use docker and docker-compose to containerize your project, but this isn't a requirement. +

      +
    8. +
    9. + 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. + + 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. + +
    10. +
    11. You must use GitHub as source control.

    12. +
    13. +

      + All code and assets must be compatible with the MIT license. + This is because we will be merging your submission into our summer-code-jam-2024 repo at the end of the jam, + and this repo is licensed with the MIT license. + Projects that include assets that are incompatible with this license may be disqualified. +

      +
    14. +
    15. 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.

    16. +
    17. +

      + 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. +

      +
    18. +
    19. +

      + 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. +

      +
    20. +
    21. +

      + Any images or videos used must have one of the following licenses and follow the licensing guidelines: +

        +
      • Public Domain License
      • +
      • Copyright Free Image License
      • +
      • CC-BY (Creative Commons "By")
      • +
      • CC-BY-SA (Creative Commons "Share Alike")
      • +
      +

      +
    22. +
    + +
    + Please note that our regular + community rules and code of conduct + also apply during the event and that we reserve the right to make changes to these rules at any time. +
    +{% endblock %} + +{% block sidebar %} + + {% include "events/sidebar/code-jams/11.html" %} + +{% endblock %} diff --git a/pydis_site/templates/events/pages/code-jams/_index.html b/pydis_site/templates/events/pages/code-jams/_index.html index c7975679..953e7382 100644 --- a/pydis_site/templates/events/pages/code-jams/_index.html +++ b/pydis_site/templates/events/pages/code-jams/_index.html @@ -8,6 +8,10 @@ {% block title %}Code Jams{% endblock %} {% block event_content %} +
    + The 2024 Summer Code Jam is currently underway and you can still enter! + The qualifier is open until July 10; check out the details here. +

    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. @@ -66,6 +70,7 @@ {% 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 %} diff --git a/pydis_site/templates/events/scheduled_events.html b/pydis_site/templates/events/scheduled_events.html index fe287b4d..aaff086c 100644 --- a/pydis_site/templates/events/scheduled_events.html +++ b/pydis_site/templates/events/scheduled_events.html @@ -3,58 +3,12 @@

    - +

    -
    PyWeek 37
    -

    - - - March 17-24, 2024 - -

    -

    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.

    -
    - - - Learn more - -
    -
    -
    -
    -

    - -

    -
    -
    -
    -
    Revival of Code
    -

    - - - May 2024 - -

    -

    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.

    -
    - - - Learn more - -
    -
    -
    -
    -

    - -

    -
    -
    -
    -
    Code Jam
    +
    Summer Code Jam 2024

    diff --git a/pydis_site/templates/events/sidebar/code-jams/11.html b/pydis_site/templates/events/sidebar/code-jams/11.html new file mode 100644 index 00000000..4a5b8eee --- /dev/null +++ b/pydis_site/templates/events/sidebar/code-jams/11.html @@ -0,0 +1,11 @@ +{% load static %} +

    +

    Important Links

    + Rules + Approved Frameworks + The Code Style Guide + +
    +
    + logo +
    diff --git a/pydis_site/templates/events/sidebar/code-jams/ongoing-code-jam.html b/pydis_site/templates/events/sidebar/code-jams/ongoing-code-jam.html index 8734064b..296f454b 100644 --- a/pydis_site/templates/events/sidebar/code-jams/ongoing-code-jam.html +++ b/pydis_site/templates/events/sidebar/code-jams/ongoing-code-jam.html @@ -2,7 +2,7 @@
    - - Code Jam 2023 + + Code Jam 2024
    diff --git a/pydis_site/templates/events/sidebar/main_sidebar.html b/pydis_site/templates/events/sidebar/main_sidebar.html index fb9da290..505b6d5f 100644 --- a/pydis_site/templates/events/sidebar/main_sidebar.html +++ b/pydis_site/templates/events/sidebar/main_sidebar.html @@ -3,52 +3,52 @@ diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html index 393e7c19..9ff6b393 100644 --- a/pydis_site/templates/home/index.html +++ b/pydis_site/templates/home/index.html @@ -11,8 +11,8 @@
    - - Code Jam 2023 + + Code Jam 2024
    @@ -47,8 +47,8 @@ {# Code Jam Banner #}
    -- cgit v1.2.3