aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-01-20 16:23:37 +0800
committerGravatar hedy <[email protected]>2024-01-20 16:23:37 +0800
commit09180515049b7138cf186fbf259315155660cb2f (patch)
tree82ece1faf6dc5b3eee46fa16c388beae9436fb86
parentEvents: Initial redesign (diff)
Events: Update content and remove fillers
-rw-r--r--pydis_site/templates/events/current_event.html17
-rw-r--r--pydis_site/templates/events/index.html10
-rw-r--r--pydis_site/templates/events/pages/pixels/_index.html11
-rw-r--r--pydis_site/templates/events/pages/revivalofcode/_index.html11
-rw-r--r--pydis_site/templates/events/sidebar/events_list.html2
-rw-r--r--pydis_site/templates/events/sidebar/pixels.html10
-rw-r--r--pydis_site/templates/events/upcoming_event.html7
7 files changed, 38 insertions, 30 deletions
diff --git a/pydis_site/templates/events/current_event.html b/pydis_site/templates/events/current_event.html
index 11a98343..dd94fb3f 100644
--- a/pydis_site/templates/events/current_event.html
+++ b/pydis_site/templates/events/current_event.html
@@ -1,18 +1 @@
{# Current or ongoing event #}
-
-{% load static %}
-<h2 class="title is-4">Current event</h2>
-<div class="box">
- <h2 class="title is-4"><a href="{% url "events:page" path="code-jams/10" %}">Code Jam 2023</a></h2>
- <div class="columns is-3" style="--columnGap: 0.75rem;">
- <div class="column">
- <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 href="{% url "events:page" path="code-jams/10" %}" class="button is-link">
- Join now
- </a>
- </div>
- <div class="column">
- <img src="/static/images/events/summer_code_jam_2023/banner3.png" alt="Code Jam 2023">
- </div>
- </div>
-</div>
diff --git a/pydis_site/templates/events/index.html b/pydis_site/templates/events/index.html
index 547368da..e248edd6 100644
--- a/pydis_site/templates/events/index.html
+++ b/pydis_site/templates/events/index.html
@@ -29,8 +29,8 @@
<div class="box">
<h2 class="title is-6">July-December</h2>
<ul>
- <li><a href="{% url "events:page" path="revivalofcode" %}">Revival of Code</a></li>
- <li><a href="{% url "events:page" path="code-jams" %}">Code Jam</a></li>
+ <li>TBD: <a href="{% url "events:page" path="revivalofcode" %}">Revival of Code</a></li>
+ <li>TBD: <a href="{% url "events:page" path="code-jams" %}">Code Jam</a></li>
<li>September: <a href="{% url "events:page" path="pyweek" %}">Pyweek</a></li>
<li>December 1-25: <a href="{% url "events:page" path="adventofcode" %}">Advent of Code</a></li>
</ul>
@@ -67,7 +67,7 @@
<div class="column is-one-third-desktop is-half-tablet">
<div class="box">
<h2 class="title is-4"><a href="{% url "events:page" path="pixels" %}">Pixels</a></h2>
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque risus mi, tempus quis placerat ut, porta nec nulla. Vestibulum rhoncus ac ex sit amet fringilla. Nullam gravida purus diam, et dictum felis venenatis efficitur.</p>
+ <p>A collaborative canvas where users paint pixel by pixel, by POSTing co-ordinates and a color code to an API.</p>
<div class="has-text-centered">
<img src="/static/images/events/pixels_logo_transparent.gif" alt="Logo for pixels">
</div>
@@ -87,7 +87,9 @@
<div class="column is-one-third-desktop is-half-tablet">
<div class="box">
<h2 class="title is-4"><a href="{% url "events:page" path="revivalofcode" %}">Revival of Code</a></h2>
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque risus mi, tempus quis placerat ut, porta nec nulla. Vestibulum rhoncus ac ex sit amet fringilla. Nullam gravida purus diam, et dictum felis venenatis efficitur.</p>
+ <p>
+ Revival of Code is a Python Discord hosted event where we release old Advent of Code puzzles from a previous year. The puzzles start off easy and gradually get more difficult, all while revealing a fun little story that is appropriate for some seasons more than others. Questions will be posted every other day, and you'll be able to discuss your solutions in dedicated threads.
+ </p>
<div class="has-text-centered">
<img src="https://raw.githubusercontent.com/python-discord/branding/main/events/christmas/server_icons/festive_256.gif" alt="Server icon for AoC">
</div>
diff --git a/pydis_site/templates/events/pages/pixels/_index.html b/pydis_site/templates/events/pages/pixels/_index.html
index 4ecc7417..fbe41423 100644
--- a/pydis_site/templates/events/pages/pixels/_index.html
+++ b/pydis_site/templates/events/pages/pixels/_index.html
@@ -9,8 +9,17 @@
{% block event_content %}
<p>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque risus mi, tempus quis placerat ut, porta nec nulla. Vestibulum rhoncus ac ex sit amet fringilla. Nullam gravida purus diam, et dictum felis venenatis efficitur.
+ The core idea of Pixels is to have a collaborative canvas, where users paint pixel by pixel, by POSTing co-ordinates and a color code to an API.
</p>
+<p>
+ Our main goal for this event is to focus on it being a learning tool, for users who may not have previous experience with APIs.
+</p>
+<p>
+ With that said however, users of all experience levels are both welcome and encouraged to join in with the event!
+</p>
+
+<iframe width="560" height="315" src="https://www.youtube.com/embed/obC-l9JWx2M?si=rqzzg8F4Y9Acdq8Q" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
+
{% endblock %}
{% block sidebar %}
diff --git a/pydis_site/templates/events/pages/revivalofcode/_index.html b/pydis_site/templates/events/pages/revivalofcode/_index.html
index bc33c722..30ec377a 100644
--- a/pydis_site/templates/events/pages/revivalofcode/_index.html
+++ b/pydis_site/templates/events/pages/revivalofcode/_index.html
@@ -15,7 +15,16 @@
in any programming language you like, including Python.
</p>
<p>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque risus mi, tempus quis placerat ut, porta nec nulla. Vestibulum rhoncus ac ex sit amet fringilla. Nullam gravida purus diam, et dictum felis venenatis efficitur.
+ Revival of Code is a Python Discord hosted event where we release old Advent of Code puzzles from a previous year. The puzzles start off easy and gradually get more difficult, all while revealing a fun little story that is appropriate for some seasons more than others. Questions will be posted every other day, and you'll be able to discuss your solutions in dedicated threads.
+</p>
+
+<h3 class="is-title is-3">Keeping up with the puzzles</h3>
+<p>
+ To be notified when new problems are posted you can subscribe to the <code>@Revival of Code role</code> in <code>#roles</code>.
+</p>
+
+<p>
+ If you have any questions or want to discuss the event in general, come talk about it in⁠<code>#Revival of Code Discussion</code>.
</p>
{% endblock %}
diff --git a/pydis_site/templates/events/sidebar/events_list.html b/pydis_site/templates/events/sidebar/events_list.html
index 3f517028..4bc7ce45 100644
--- a/pydis_site/templates/events/sidebar/events_list.html
+++ b/pydis_site/templates/events/sidebar/events_list.html
@@ -8,7 +8,7 @@
</ul>
</div>
-<div class="box">
+<div class="box is-hidden-mobile">
<h4 class="is-title is-6">All events</h4>
<ul class="menu-list">
<li><a class="has-text-link" href="{% url "events:page" path="code-jams" %}">Code Jams</a></li>
diff --git a/pydis_site/templates/events/sidebar/pixels.html b/pydis_site/templates/events/sidebar/pixels.html
index b8b0e46b..7b6ffd82 100644
--- a/pydis_site/templates/events/sidebar/pixels.html
+++ b/pydis_site/templates/events/sidebar/pixels.html
@@ -1 +1,9 @@
-<img src="/static/images/events/pixels_logo_transparent.gif" style="border-radius: 10px;" alt="Server icon for Pixels">
+<div class="box">
+ <div class="has-text-centered">
+ <img src="/static/images/events/pixels_logo_transparent.gif" style="border-radius: 10px;" alt="Server icon for Pixels">
+ </div>
+ <p class="menu-label">Pixels Links</p>
+ <ul class="menu-list">
+ <li><a class="has-text-link" href="https://blog.pythondiscord.com/pixels-summer-2021/">Pixels 2021</a></li>
+ </ul>
+</div>
diff --git a/pydis_site/templates/events/upcoming_event.html b/pydis_site/templates/events/upcoming_event.html
index 9c027243..842a0ee2 100644
--- a/pydis_site/templates/events/upcoming_event.html
+++ b/pydis_site/templates/events/upcoming_event.html
@@ -2,14 +2,11 @@
<h2 class="title is-4">Upcoming event</h2>
<div class="box">
- <h2 class="title is-4"><a href="{% url "events:page" path="code-jams/10" %}">Pyweek 37</a></h2>
+ <h2 class="title is-4"><a href="https://pyweek.org/">PyWeek 37</a></h2>
<p><strong>March 17-24</strong></p>
<div class="columns is-3" style="--columnGap: 0.75rem;">
<div class="column">
- <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 href="{% url "events:page" path="code-jams/10" %}" class="button is-link">
- Join now
- </a>
+ <p>PyWeek has been running a bi-annual game jam for the Python language. As of 2020, we are excited to say we are officially partnered with PyWeek to co-run these events.</p>
</div>
<div class="column">
<img src="https://pyweek.readthedocs.io/en/latest/_static/pyweek.svg" style="border-radius: 10px;" alt="Pyweek logo">