Skip to content

Commit 825d7f8

Browse files
kjaymilleroleksis
authored andcommitted
adds join us block and updates
1 parent 5e0edf4 commit 825d7f8

File tree

8 files changed

+52
-24
lines changed

8 files changed

+52
-24
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ bpdevs:
4949
- { platform: mastodon, user_url: "https://mastodon.social/@blackpythondevs" }
5050
- { platform: youtube, user_url: "https://www.youtube.com/@BlackPythonDevs" }
5151
- { platform: x, user_url: "https://x.com/blackpythondevs" }
52-
- { platform: email, user_url: "mailto:[email protected]" }
52+
- { platform: email, user_url: "[email protected]" }
5353

5454
# Build settings
5555
markdown: kramdown

_includes/join_us.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<div class="grid">
2+
<article id="join-us">
3+
<h2>Not a member yet?</h2>
4+
<p>Are you a Black Python Developer</p>
5+
<div class="grid">
6+
<a href="https://discord.gg/XUc3tFqCT3" role="button" class="pico-background-violet-650"
7+
><span><i class="fab fa-discord"></i></span> Join our Discord</a
8+
>
9+
<a href="https://www.linkedin.com/groups/14336241/" role="button" class="pico-background-azure-650"
10+
><span><i class="fab fa-linkedin"></i></span> Join our LinkedIn Group</a
11+
>
12+
</div>
13+
</article>
14+
<article id="support">
15+
<h2>Want to support us? (Coming Soon)</h2>
16+
<p>We're working to establish our non-profit status.</p>
17+
<p>Join our <a href="https://buttondown.email/black-python-devs">newsletter</a> and get monthly updates including an announcement when we're ready for your support!</p>
18+
</article>
19+
</div>

_includes/latest-posts.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if site.paginate %} {% assign posts = paginator.posts %} {% else %} {% assign posts = site.posts %} {% endif %} {%- if posts.size > 0 -%} {%- if page.list_title -%}
22
<h2 class="post-list-heading">{{ page.list_title }}</h2>
33
{%- endif -%}
4-
<div class="post-list">
4+
<article class="post-list">
55
{%- assign date_format = site.bpdevs.date_format | default: "%b %-d, %Y" -%} {% assign count = 0 %} {% assign limit_posts = 3 %} {%- for post in posts -%} {%- if count < limit_posts -%}
66
<div>
77
<h3>
@@ -11,7 +11,7 @@ <h3>
1111
{%- if site.show_excerpts -%} {{ post.excerpt }} {%- endif -%}
1212
</div>
1313
{%- assign count = count | plus:1 -%} {%- endif -%} {%- endfor -%}
14-
</div>
14+
</article>
1515

1616
{% if site.paginate %}
1717
<div class="pager">

_includes/newsletter_form.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
<div id="newsletter">
1+
<article>
22
<h3>Learn what the community and its members are doing from our newsletter!</h3>
3-
4-
<form action="https://buttondown.email/api/emails/embed-subscribe/black-python-devs" method="post" target="popupwindow" onsubmit="window.open('https://buttondown.email/black-python-devs', 'popupwindow')" class="embeddable-buttondown-form">
5-
<input type="email" name="email" id="bd-email" placeholder="Enter your email" />
6-
7-
<input type="submit" value="Subscribe" />
3+
<form action="https://buttondown.email/api/emails/embed-subscribe/black-python-devs" method="post" target="popupwindow" onsubmit="window.open('https://buttondown.email/black-python-devs', 'popupwindow')">
4+
<fieldset role="group">
5+
<input type="email" name="email" id="bd-email" placeholder="Enter your email" />
6+
<input type="submit" value="Subscribe" />
7+
</fieldset>
88
</form>
99
<p>
1010
<a href="https://buttondown.email/refer/black-python-devs" target="_blank">Powered by Buttondown.</a>
1111
</p>
1212
<p>
1313
<a href="https://buttondown.email/black-python-devs/archive">Read the latest issue.</a>
1414
</p>
15-
</div>
15+
</article>

_layouts/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
---
44
<div class="home">
55
{% assign t = site.data.locales[page.lang][page.lang] %} {% if page.title %} {% assign header = page.title %} {% else %} {% assign header = site.title %} {% endif %}
6-
<article class="hero grid">
6+
<article class="hero">
77
<div class="hero-text">{{ t.index.lead }}</div>
88
</article>
99
{{ content }}
1010

1111
<img src="{{'/assets/images/dcus.jpg' | relative_url }}" />
1212

1313
{%- include latest-posts.html -%}
14+
{%- include join_us.html -%}
1415
{%- include newsletter_form.html -%}
1516
</div>

assets/css/bpd.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,14 @@ footer {
410410
background-image: url("/assets/images/hero-bpd-background.jpg");
411411
background-color: RGBA(25, 25, 25, 0.8);
412412
height: 25rem;
413+
display: flex;
413414
flex-flow: column;
414415
justify-content: center;
415-
align-items: center;
416+
}
417+
418+
.hero > p {
419+
color: #fff;
420+
font-size: larger;
416421
}
417422

418423
.hero-text {
@@ -426,3 +431,7 @@ img.leadership-photo {
426431
border-radius: 1em;
427432
max-width: 10rem;
428433
}
434+
435+
.post-title > h3 {
436+
font-size: smaller;
437+
}

community.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Join our [LinkedIn Group](https://www.linkedin.com/groups/14336241/) to connect
2828

2929
### **Email** <i class="far fa-envelope"></i>
3030

31-
Contact us via email at [[email protected]](mailto:[email protected]) for inquiries, collaborations, or any other questions.
31+
Contact us via email at [[email protected]](mailto:[email protected]) for inquiries, collaborations, or any other questions.
3232

3333
## **Get Involved**
3434

index.html

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,27 @@
55
list_title: Recently on the blog
66
---
77

8-
<h2 id="what-is-black-python-devs">What is Black Python Devs</h2>
9-
<hr />
10-
11-
<article>Black Python Devs is an online-first community for python developers of all skill levels that identify as Black.</article>
128
<h2>Our Mission</h2>
13-
<div class="grid">
9+
<div class="grid hero-section">
1410
<article class="pico-background-sand-100">
1511
<h3>Secure the bag</h3>
1612
<p>Establish guidance, mentorship, and career support for <em>Black Python Devs</em> Members</p>
1713
<p><a class="contrast" href="/about">Learn More</a></p>
1814
</article>
19-
<article class="pico-background-pumpkin-500">
20-
<h3 class="pico-color-pumpkin-50">Own your masters</h3>
21-
<p><a href="/about">Learn More</a></p>
22-
</article>
2315
<article class="pico-background-pumpkin-650">
16+
<h3 class="pico-color-pumpkin-50">Diversity By Inclusion</h3>
17+
<p class="pico-color-pumpkin-50">We encourage members to get involved beyond participation. Members can become maintainers, maintainers become leaders.</p>
18+
<p><a class="contrast" href="/about">Learn More</a></p>
19+
</article>
20+
<article class="pico-background-pumpkin-800">
2421
<h3 class="pico-color-pumpkin-50">Extend their reach</h3>
22+
<p class="pico-color-pumpkin-50">Great programs exist. Our goal is to help those programs make it our local communities.</p>
2523
<p><a href="/about">Learn More</a></p>
2624
</article>
27-
<article class="pico-background-pumpkin-800"
25+
<article class="pico-background-zinc-800"
2826
">
29-
<h3 class="pico-color-pumpkin-50">Support the Ecosystem</h3>
27+
<h3 class="pico-color-pumpkin-50">Say it loud!</h3>
28+
<p class="pico-color-pumpkin-50">Our stack and our decisions are open source by default and we share what we're doing as loudly and often as possible.</p>
3029
<p><a href="/about">Learn More</a></p>
3130
</article>
3231
</div>

0 commit comments

Comments
 (0)