Skip to content

Commit 53f56b0

Browse files
committed
added link to github
1 parent 91f8055 commit 53f56b0

File tree

4 files changed

+95
-15
lines changed

4 files changed

+95
-15
lines changed

.editorconfig

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 4
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true
13+
14+
# Shell scripts
15+
[*.{sh,bat.tpl,Makefile.tpl}]
16+
indent_style = tab
17+
18+
# Makefiles
19+
[Makefile]
20+
indent_style = tab
21+
22+
# Markdown
23+
[*.md]
24+
trim_trailing_whitespace = false
25+
indent_style = space
26+
indent_size = 2
27+
28+
# diff files
29+
[*.diff]
30+
trim_trailing_whitespace = false

assets/logos/github.svg

Lines changed: 3 additions & 0 deletions
Loading

index.html

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<img src="assets/logos/python-logo-outline.svg" alt="Python Snake">
1313
<div>
1414
<h1>Python Australia</h1>
15+
1516
<p class="intro">Python Australia is a community-run organisation dedicated to bringing together Python enthusiasts from across the country. We aim to connect Python-appreciators with local meetups, events, and initiatives to help grow and connect the Python community in Australia.</p>
1617
</div>
1718
<button class="theme-toggle" type="button" title="Toggle theme" aria-label="Toggle theme" onClick="toggleTheme()">
@@ -21,17 +22,35 @@ <h1>Python Australia</h1>
2122
</button>
2223
</header>
2324

24-
<section class="discord-promo">
25-
<div class="discord-container">
26-
<img src="assets/logos/pyaus-logo.svg" alt="Discord Logo" class="discord-logo">
27-
<div class="discord-info">
25+
<section class="promo">
26+
<div class="promo-container discord-container">
27+
<img src="assets/logos/pyaus-logo.svg" alt="Discord Logo" class="promo-logo">
28+
<div class="promo-info discord-promo-color">
2829
<h2>Join the Python Australia Community Discord!</h2>
2930
<p>Connect with Python enthusiasts from all over Australia. Our Discord server is the perfect place to chat, get notified about events in your area, and discover new ways to get involved in the community. Please remember to abide by our <a href="https://policies.python.org/python.org/code-of-conduct/">Code of Conduct</a> (courtesy of the PSF).</p>
30-
<a href="https://discord.gg/HNt6YddsaK" class="discord-link" target="_blank">Join the Python Australia Discord</a>
31+
<a href="https://discord.gg/HNt6YddsaK" class="promo-link" target="_blank">Join the Python Australia Discord</a>
3132
</div>
3233
</div>
3334
</section>
3435

36+
<section class="promo">
37+
<div class="promo-container github-border github-promo-colour">
38+
<img src="assets/logos/github.svg" alt="Github Logo" class="promo-logo github-border github-promo-colour">
39+
<!-- TODO: would be great if this SVG was a better colour -->
40+
<div class="promo-info github-promo-colour">
41+
<h2>Python Australia Github</h2>
42+
<p>
43+
<!-- TODO: need to gind better wording for this-->
44+
Python Australia hosts it's PAEPs (Python Australia Enhancement Proposal) on GitHub.
45+
if you are interested in the any of the Python Australia Documents you can find them here.<br/>
46+
<a href="https://github.com/python-australia/" target="_blank">github.com/python-australia</a>
47+
</p>
48+
</div>
49+
</div>
50+
</section>
51+
52+
53+
3554

3655
<main class="meetups">
3756
<h2>Local Python Meetups</h2>

style/style.css

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
--dark-background: #36393e;
1414
--light-card: #ffffff;
1515
--dark-card: #494c51;
16+
--github-light-grey: #909090;
17+
--github-dark-grey: #303030;
1618
}
1719

1820
.theme-light {
@@ -42,14 +44,14 @@ a:hover, a:focus {
4244
}
4345
/* Discord Promo Section */
4446

45-
.discord-promo {
47+
.promo {
4648
display: flex;
4749
align-content: center;
4850
justify-content: center;
4951
margin: 2rem;
5052
}
5153

52-
.discord-container {
54+
.promo-container {
5355
display: flex;
5456
flex-wrap: wrap;
5557
gap: 2rem;
@@ -62,7 +64,9 @@ a:hover, a:focus {
6264
border: 2px solid light-dark(var(--python-yellow), var(--dark-yellow));
6365
}
6466

65-
.discord-logo {
67+
68+
69+
.promo-logo {
6670
width: 90px;
6771
height: 90px;
6872
object-fit: contain;
@@ -72,30 +76,54 @@ a:hover, a:focus {
7276
box-shadow: 0 2px 8px var(--faint-shadow);
7377
}
7478

75-
.discord-info {
79+
.promo-info {
7680
flex: 1;
7781
min-width: 220px;
7882
}
7983

80-
.discord-info h2 {
84+
.promo-info h2 {
8185
margin: 0 0 0.5rem 0;
8286
font-size: 1.7rem;
83-
color: light-dark(var(--python-blue), var(--python-yellow));
8487
letter-spacing: 1px;
8588
}
8689

87-
.discord-info p {
90+
.promo-info p {
8891
font-size: 1.1rem;
8992
margin-bottom: 1rem;
9093

91-
a {
94+
}
95+
96+
.discord-promo-color {
97+
color: light-dark(var(--python-blue), var(--python-yellow));
98+
99+
p a {
92100
color: light-dark(var(--dark-blue), var(--python-yellow));
93101
text-decoration-color: light-dark(var(--python-blue), var(--python-yellow));
94102
}
95103
}
104+
.github-border {
105+
border: 2px solid light-dark(var(--github-light-grey), var(--github-light-grey));
106+
107+
}
108+
.github-promo-colour {
109+
background: light-dark(var(--github-light-grey), var(--dark-background));
110+
111+
h2 {
112+
text-decoration-color: light-dark(var(--dark-text), var(--github-light-grey));
96113

114+
}
115+
p {
116+
text-decoration-color: light-dark(var(--dark-text), var(--github-light-grey));
117+
color: light-dark(var(--dark-text), var(--github-light-grey));
118+
}
119+
p a {
120+
color: light-dark(var(--dark-blue), var(--python-yellow));
121+
text-decoration-color: light-dark(var(--python-blue), var(--python-yellow));
122+
}
123+
124+
}
97125

98-
.discord-link {
126+
.promo-link {
99127
display: inline-block;
100128
background: var(--python-blue);
101129
color: var(--light-text);
@@ -108,7 +136,7 @@ a:hover, a:focus {
108136
transition: background 0.2s, color 0.2s;
109137
}
110138

111-
.discord-link:hover {
139+
.promo-link:hover {
112140
color: var(--light-text);
113141
}
114142

0 commit comments

Comments
 (0)