Skip to content

Commit 7baff2a

Browse files
authored
adding social media to index (#24)
1 parent b9b0448 commit 7baff2a

File tree

5 files changed

+28
-0
lines changed

5 files changed

+28
-0
lines changed

_static/css/markdown.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
width: 30vw;
77
}
88

9+
section#python-peru:has(p.social-media) {
10+
text-align: center;
11+
}
12+
913
.head-title h1 {
1014
color: var(--sy-c-link-hover);
1115
text-align: center;
@@ -51,6 +55,8 @@ html.dark div.sketchviz-image {
5155
--i-linkedin-url: url("/_static/icons/linkedin.svg");
5256
--i-facebook-url: url("/_static/icons/facebook.svg");
5357
--i-instagram-url: url("/_static/icons/instagram.svg");
58+
--i-meetup-url: url("/_static/icons/meetup.svg");
59+
--i-whatsapp-url: url("/_static/icons/whatsapp.svg");
5460
}
5561

5662
.i-icon.linkedin {
@@ -65,6 +71,14 @@ html.dark div.sketchviz-image {
6571
--icon-url: var(--i-instagram-url);
6672
}
6773

74+
.i-icon.meetup {
75+
--icon-url: var(--i-meetup-url);
76+
}
77+
78+
.i-icon.whatsapp {
79+
--icon-url: var(--i-whatsapp-url);
80+
}
81+
6882
.i-icon.social-media {
6983
width: 2em;
7084
height: 2em;

_static/icons/meetup.svg

Lines changed: 1 addition & 0 deletions
Loading

_static/icons/whatsapp.svg

Lines changed: 1 addition & 0 deletions
Loading

blog/members/hellhound.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ https://linkedin.com/in/jpchauvel
3030
```{rst-class} i-icon social-media facebook
3131
https://facebook.com/hellhovnd
3232
```
33+
```{rst-class} i-icon social-media instagram
34+
https://www.instagram.com/hellhoundorf
35+
```
3336
```{rst-class} i-icon social-media x-twitter
3437
https://twitter.com/hellhoundorf
3538
```

index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ myst:
1212
{.lead}
1313
¡Bienvenidos a la Comunidad Peruana de Python!
1414

15+
```{rst-class} i-icon social-media github
16+
https://github.com/pythonpe/python.pe
17+
```
18+
```{rst-class} i-icon social-media meetup
19+
https://www.meetup.com/pythonperu/
20+
```
21+
```{rst-class} i-icon social-media whatsapp
22+
https://chat.whatsapp.com/D9bPvUrddvSBUIkMSoTqrk
23+
```
1524

1625
````{rst-class} head-button
1726
:::{container} buttons

0 commit comments

Comments
 (0)