Skip to content

Commit 3ad91f0

Browse files
committed
Update links to social networks
1 parent 4744977 commit 3ad91f0

File tree

6 files changed

+66
-13
lines changed

6 files changed

+66
-13
lines changed

assets/main.scss

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $twitter-blue: #469be5;
2121
$discourse-yellow: #f7f0b1;
2222
$youtube-red: #e03021;
2323
$zulip-blue: #62a3f0;
24+
$bluesky-blue: #0a7aff;
2425

2526
$overline: #e0e0e0;
2627
$linkunderline: #aaaaaa;
@@ -99,6 +100,16 @@ $contentwidthwide: 92%;
99100
transition: background 200ms ease-out;
100101
@include button-icon;
101102
}
103+
.i-xcom::before {
104+
content: "𝕏";
105+
font-weight: 900;
106+
transition: background 200ms ease-out;
107+
}
108+
.i-bluesky::before {
109+
background: center / contain no-repeat url("/img/icons/bluesky.svg");
110+
transition: all 200ms ease-out;
111+
@include button-icon;
112+
}
102113

103114
.card:hover {
104115
.i-zulip::before {
@@ -107,6 +118,9 @@ $contentwidthwide: 92%;
107118
.i-discourse::before {
108119
background: url("/img/icons/discourse_inv.svg") no-repeat top left;
109120
}
121+
.i-bluesky::before {
122+
filter: invert(1);
123+
}
110124
}
111125

112126
// Cover buttons
@@ -126,6 +140,10 @@ $contentwidthwide: 92%;
126140
border-color: $twitter-blue;
127141
background-color: $twitter-blue;
128142
}
143+
.btn-bluesky:hover {
144+
border-color: $bluesky-blue;
145+
background-color: $bluesky-blue;
146+
}
129147
.btn-youtube:hover {
130148
border-color: $youtube-red;
131149
background-color: $youtube-red;
@@ -257,11 +275,27 @@ body {
257275
color: white;
258276
background-color: #4557c4;
259277
background: linear-gradient(135deg, #262fb5, #74c8fa);
260-
transition: background 200ms ease-out;
261-
262-
&:hover {
278+
position: relative;
279+
z-index: 1;
280+
281+
&::before {
282+
content: "";
283+
position: absolute;
284+
top: 0;
285+
left: 0;
286+
width: 100%;
287+
height: 100%;
263288
background: linear-gradient(135deg, #74c8fa, #d4ac00);
264289
color: white;
290+
opacity: 0;
291+
z-index: -1;
292+
border-radius: inherit;
293+
transform: scale(1.05);
294+
transition: opacity 200ms ease-out, transform 100ms ease-out;
295+
}
296+
297+
&:hover::before {
298+
opacity: 1;
265299
}
266300
}
267301

@@ -746,6 +780,10 @@ body {
746780
color: white;
747781
background-color: $youtube-red !important;
748782
}
783+
&#bluesky:hover {
784+
color: white;
785+
background-color: $bluesky-blue !important;
786+
}
749787
}
750788
}
751789

content/join/_index.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,24 @@ email_stmt = "You can also reach the steering council at: [steering-council@scve
99
text = "Follow our organisation on GitHub"
1010
link = "https://github.com/scverse"
1111

12-
[[resources]]
13-
id = "twitter"
14-
title = "Twitter"
15-
text = "Follow us on Twitter"
16-
link = "https://twitter.com/scverse_team"
17-
1812
[[resources]]
1913
id = "zulip"
2014
title = "Zulip"
2115
text = "Chat with us on Zulip"
2216
link = "https://scverse.zulipchat.com/"
2317

18+
[[resources]]
19+
id = "twitter"
20+
title = ""
21+
text = "Follow us on X (fka Twitter)"
22+
link = "https://x.com/scverse_team"
23+
24+
[[resources]]
25+
id = "bluesky"
26+
title = "Bluesky"
27+
text = "Follow us on Bluesky"
28+
link = "https://bsky.app/profile/scverse.bsky.social"
29+
2430
[[resources]]
2531
id = "discourse"
2632
title = "Discourse"

layouts/join/list.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h1>{{ .Title }}</h1>
2121
<a href="{{ $item.link }}" class="stretched-link" target="_blank"></a>
2222
<!-- Some of the items can have icons -->
2323
{{ if eq $item.id "twitter" }}
24-
<h5 class="card-title bi-twitter">
24+
<h5 class="card-title i-xcom">
2525
&nbsp;{{ $item.title }}
2626
</h5>
2727
{{ else if eq $item.id "github" }}
@@ -40,6 +40,10 @@ <h5 class="card-title i-zulip">
4040
<h5 class="card-title i-discourse">
4141
&nbsp;{{ $item.title }}
4242
</h5>
43+
{{ else if eq $item.id "bluesky" }}
44+
<h5 class="card-title i-bluesky">
45+
&nbsp;{{ $item.title }}
46+
</h5>
4347
{{ else }}
4448
<h5 class="card-title">
4549
{{ $item.title }}

layouts/partials/footer.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ <h5>Join scverse</h5>
2626
<li><a href="https://github.com/scverse" target="_blank">GitHub</a></li>
2727
<li><a href="https://discourse.scverse.org/" target="_blank">Discourse</a></li>
2828
<li><a href="https://scverse.zulipchat.com/" target="_blank">Zulip</a></li>
29-
<li><a href="https://twitter.com/scverse_team" target="_blank">Twitter</a></li>
29+
<li><a href="https://x.com/scverse_team" target="_blank">X (Twitter)</a></li>
30+
<li><a href="https://bsky.app/profile/scverse.bsky.social" target="_blank">Bluesky</a></li>
3031
<li><a href="https://www.youtube.com/channel/UCpsvsIAW3R5OdftJKKuLNMA" target="_blank">YouTube</a></li>
3132
</ul>
3233
</div>

layouts/partials/main/cover.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@
2828
<a class="btn btn-light btn-outline-dark btn-zulip" href="http://scverse.zulipchat.com" target="_blank">
2929
Zulip
3030
</a>
31-
<a class="btn btn-light btn-outline-dark btn-twitter" href="https://twitter.com/scverse_team" target="_blank">
32-
Twitter
31+
<a class="btn btn-light btn-outline-dark btn-twitter" href="https://x.com/scverse_team" target="_blank">
32+
X
33+
</a>
34+
<a class="btn btn-light btn-outline-dark btn-bluesky" href="https://bsky.app/profile/scverse.bsky.social" target="_blank">
35+
Bluesky
3336
</a>
3437
<a
3538
class="btn btn-light btn-outline-dark btn-youtube"

static/img/icons/bluesky.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)