Skip to content

Commit dd2d630

Browse files
authored
Merge branch 'gh-pages' into fix/825-remove-home-link
2 parents fc21774 + 071e439 commit dd2d630

File tree

14 files changed

+219
-162
lines changed

14 files changed

+219
-162
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ _includes/svg_symbol.html
1111
_includes/disqus_comments.html
1212
_includes/posts.html
1313
_data/conferences.yml
14+
_layouts/_includes/sponsored-events.html

_data/foundational_supporters.json

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,31 @@
11
{
22
"2025": [
3-
"Aman Singh",
4-
"Al Sweigart",
3+
"Albert Sweigart",
54
"Alla Barbalat",
6-
"Ned Batchelder",
5+
"Aman Singh",
6+
"Andrew Sutherland",
7+
"Angela Andrews",
8+
"Carol Willing",
9+
"David Scharbach",
10+
"Deb Nicholson",
11+
"Erik Johnson",
712
"Henrietta Dombrovskaya",
8-
"Nyah Macklin",
9-
"Tim Schilling",
13+
"Hugh Dyar",
1014
"Jannis Leidel",
11-
"Angela Andrews",
12-
"Vance Arocho",
13-
"Jonathan Banafato",
1415
"Jeremy Carbaugh",
16+
"Joseph Bannerman",
17+
"Melanie Arbor",
1518
"Mike Fiedler",
16-
"Savannah Bailey",
17-
"Seth Larson",
19+
"Ned Batchelder",
20+
"Nick Muoh",
1821
"Peter Pinch",
19-
"Carol Willing",
20-
"Hugh Dyar",
21-
"Melanie Arbor",
22-
"Joseph Bannerman",
2322
"Philip James",
24-
"Erik Johnson",
25-
"Deb Nicholson",
26-
"Andrew Sutherland",
27-
"David Scharbach"
23+
"Rizel Scarlett",
24+
"Savannah Bailey",
25+
"Seth Larson",
26+
"Tim Schilling",
27+
"Vance Arocho",
28+
"Jonathan Banafato"
2829
],
2930
"2024": [
3031
"Albert Sweigart",

_data/sponsored_events.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
{
2-
"2024": {
3-
"Africa": ["PyCon Africa", "PyCon South Africa", "PyCon Zimbabwe", "PyCon Nigeria", "IndabaX - Botswana", "PyCon Uganda", "PyHo - Ghana"],
4-
"North America": ["PyTexas", "PyOhio"]
5-
},
6-
"2025": {
7-
"Africa": ["Django Girls - Koforidua", "Django Girls - Ho", "PyCon Africa", "DjangoCon Africa", "IndabaX - Botswana", "PyCon Namibia", "PyTogo", "Zero to Hero Mentorship Program - Nigeria", "PyCon Nigeria"],
8-
"North America": ["PyTexas Foundation", "PyOhio", "PyBeach", "PyBay", "PyDay Santo Domingo (SDQ)"],
9-
"South America": ["Ubuntu Tech - Colombia", "Django Girls - Colombia"]
2+
"bpd": [
3+
{
4+
"title": "Black Python Devs Leadership Summita 2024",
5+
"url": "/bpd-events/black-python-devs-leadership-summit-2024.html"
6+
}
7+
],
8+
"sponsored": {
9+
"2024": {
10+
"Africa": ["PyCon Africa", "PyCon South Africa", "PyCon Zimbabwe", "PyCon Nigeria", "IndabaX - Botswana", "PyCon Uganda", "PyHo - Ghana"],
11+
"North America": ["PyTexas", "PyOhio"]
12+
},
13+
"2025": {
14+
"Africa": ["Django Girls - Koforidua", "Django Girls - Ho", "PyCon Africa", "DjangoCon Africa", "IndabaX - Botswana", "PyCon Namibia", "PyTogo", "Zero to Hero Mentorship Program - Nigeria", "PyCon Nigeria"],
15+
"North America": ["PyTexas Foundation", "PyOhio", "PyBeach", "PyBay", "PyDay Santo Domingo (SDQ)"],
16+
"South America": ["Ubuntu Tech - Colombia", "Django Girls - Colombia"]
17+
}
1018
}
1119
}

_layouts/_includes/event-list.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<article>
2+
<h2>BPD Organized Events</h2>
3+
<ul>
4+
{% for page in data.bpd %}
5+
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
6+
{% endfor %}
7+
</ul>
8+
</article>

_layouts/_includes/header.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,22 @@ <h1 class="site-title">
66
<nav class="site-navigation" aria-label="Main navigation" style="padding-right: 2em">
77
<div class="site-navigation-wrap">
88
<ul class="menu" role="menu">
9-
{% for item in navigation %} {% set current = nil %} {% set nav_lang = nil %} {% if url == item.url %} {% set current = 'nav-current' %} {% endif %} {% if lang != 'en' %} {% set nav_lang = lang %} {% endif %}
9+
{% for item in navigation %} {% set current = nil %} {% set nav_lang = nil %} {% if item.url and url == item.url %} {% set current = 'nav-current' %} {% endif %} {% if lang != 'en' %} {% set nav_lang = lang %} {% endif %}
1010
<li class="menu-item {{ current }}" role="menuitem">
11+
{% if item.subitems %}
12+
<details class="dropdown">
13+
<summary><i class="{{ item.fa }}" aria-hidden="true"></i>&nbsp;{{ item.text }}</summary>
14+
<ul class="dropdown-menu">
15+
{% for sub in item.subitems %}
16+
<li class="dropdown-item">
17+
<a href="{{ nav_lang }}{{ sub.url }}"><i class="{{ sub.fa }}" aria-hidden="true"></i>&nbsp;{{ sub.text }}</a>
18+
</li>
19+
{% endfor %}
20+
</ul>
21+
</details>
22+
{% else %}
1123
<a class="{{ current }}" href="{{ nav_lang }}{{ item.url }}"> <i class="{{ item.fa }}" aria-hidden="true"></i>&nbsp;{{ item.text }} </a>
24+
{% endif %}
1225
</li>
1326
{% endfor %} {% if locales | length > 1 %}
1427
<li class="menu-item" role="menuitem">

_layouts/_includes/meetups.html

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,7 @@
1-
{% if site.data.events.meetups.size > 0 %}
2-
<div class="conference grid">
3-
{% for meetup in site.data.events.meetups %}
4-
<article>
5-
<h2>
6-
<a href="https://discord.gg/XUc3tFqCT3">{{ meetup.name }}</a>
7-
</h2>
8-
<h5>Speaking: {{ meetup.speaker }}</h5>
9-
<p>
10-
<strong>{{ meetup.date }}</strong><br />
11-
<strong>{{ meetup.location }}</strong>
12-
</p>
13-
<p>{{ meetup.description }}</p>
14-
15-
<p>{{ conference.topic }}</p>
16-
</article>
17-
{% endfor %}
18-
</div>
19-
{% else %}
20-
<b>No Meetups</b>
21-
{% endif %}
22-
23-
<hr />
1+
<article>
2+
<h2>Regular Meetups</h2>
3+
<p>
4+
Join us every Friday for a cup of coffee and a chance to code with fellow Python enthusiasts. Our community is open to all levels of experience, sharing tips and tricks, and working on projects together. Whether you're looking to learn something
5+
new or just want to hang out with like-minded people, this is the perfect opportunity to do so. We look forward to seeing you there!
6+
</p>
7+
</article>
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!-- This file is ignored by Prettier due to Jinja syntax conflicts -->
2+
<article>
3+
<section>
4+
<h2>Supported Events</h2>
5+
6+
<p>Black Python Devs aims to partner with Python conferences and events around the world to increase the visibility and opportunities for Black developers and leaders in the Python community.</p>
7+
8+
<p>We believe that sponsorships does the following:</p>
9+
<ul>
10+
<li>👫 - raises awareness amongst our community to attend events.</li>
11+
<li>🌐 - supports Python events that are accessible to black communities</li>
12+
13+
</ul>
14+
<p>Here is a look at events this year that we've supported:</p>
15+
</section>
16+
17+
18+
<section>
19+
<h2>Events Sponsored by year</h2>
20+
{% for segment_year in data.sponsored | sort(reverse=True) %}
21+
{% if segment_year == year %}
22+
<details name="{{segment_year}}" open>
23+
{% else %}
24+
<details name="{{segment_year}}">
25+
{% endif %}
26+
<summary>{{segment_year}}</summary>
27+
<section class="grid">
28+
{% for segment in data.sponsored[segment_year] | sort %}
29+
<article>
30+
<h3>{{segment}}</h3>
31+
{% for event in data.sponsored[segment_year][segment] | sort %}
32+
<p>{{event}}</p>
33+
{% endfor %}
34+
</article>
35+
{% endfor %}
36+
</section>
37+
</details>
38+
<hr/>
39+
{% endfor %}
40+
</section>
41+
42+
<section>
43+
<p>Interested in Black Python Devs supporting your event. Review our <a href="https://github.com/BlackPythonDevs/blackpythondevs/blob/main/policies/event-grants.md#22-budget-considerations">Grant Criteria</a> and email your prospectus to <a href="mailto:sponsorships@blackpythondevs.com">sponsorships@blackpythondevs.com</a></p>
44+
</section>
45+
</article>

_layouts/event-list.html

Lines changed: 0 additions & 14 deletions
This file was deleted.

_layouts/events.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{% extends "default.html" %}
2+
{% block content %}
3+
{% include "_includes/sponsored-events.html" %}
4+
{% include "_includes/event-list.html" %}
5+
{% include "_includes/meetups.html" %}
6+
{% endblock %}

_layouts/partnerships.html

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +0,0 @@
1-
{% extends "default.html" %}
2-
3-
{% block content %}
4-
<div>
5-
<h2>Partnerships</h2>
6-
7-
<p>We're happy to share with you our proud sponsors who offer their products at discounted rates and a portion of proceeds go to support Black Python Devs!</p>
8-
9-
{% for partner in data %}
10-
<article>
11-
<div class="grid">
12-
<div>
13-
<img src="{{partner['logo']}}" alt="{{partner['name']}} Logo" style="max-height: 14em" />
14-
</div>
15-
<div>
16-
<h3><a href="{{partner['url']}}">{{ partner['name'] }}</a></h3>
17-
<p>{{ partner['description'] }}</p>
18-
<a href="{{ partner[url] }}">Learn more</a>
19-
</div>
20-
</div>
21-
</article>
22-
{% endfor %}
23-
</div>
24-
{%endblock%}

0 commit comments

Comments
 (0)