Change X/Twitter links to Bluesky

Signed-off-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
This commit is contained in:
Dmitry Shurupov 2025-01-31 14:32:07 +07:00
parent 76a8b9ab83
commit dd8142b8a5
No known key found for this signature in database
8 changed files with 42 additions and 21 deletions

View File

@ -431,7 +431,7 @@ footer {
}
// Custom footer sizing
@media (min-width: 800px) and (max-width: 1279px) {
@media (min-width: 800px) and (max-width: 1285px) {
footer {
ul.footer-icons {
min-width: 17.5vw;
@ -439,6 +439,11 @@ footer {
flex-wrap: nowrap;
flex-direction: row;
justify-content: space-evenly;
li.mx-2 {
margin-left: 0.3rem !important;
margin-right: 0.3rem !important;
}
}
.col-sm-2 {
flex: 0 0 22.5%;

View File

@ -124,12 +124,12 @@ menu:
troubleshooting, and so much&nbsp;more.</p>
</div>
<div id="twitter" class="community-resource">
<a href="https://twitter.com/kubernetesio">
<img src="/images/community/x-org.png" alt="𝕏.org">
<div id="bluesky" class="community-resource">
<a href="https://bsky.app/profile/kubernetes.io">
<img src="/images/community/bluesky.png" alt="Bluesky">
</a>
<a href="https://twitter.com/kubernetesio">𝕏&nbsp;&#9654;</a>
<p><em>#kubernetesio</em></p>
<a href="https://bsky.app/profile/kubernetes.io">Bluesky&nbsp;&#9654;</a>
<p><em>@kubernetes.io</em></p>
<p>Real-time announcements of blog posts, events, news, ideas.</p>
</div>
@ -159,6 +159,15 @@ menu:
Visit <a href="https://slack.k8s.io/">https://slack.k8s.io/</a>
for an invitation.</details>
</div>
<div id="twitter" class="community-resource">
<a href="https://x.com/kubernetesio">
<img src="/images/community/x-org.png" alt="X">
</a>
<a href="https://x.com/kubernetesio">𝕏&nbsp;&#9654;</a>
<p><em>@kubernetesio</em></p>
<p>Real-time announcements of blog posts, events, news, ideas.</p>
</div>
</div>
</div>

View File

@ -257,11 +257,15 @@ no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY
url = "https://www.linkedin.com/company/kubernetes/"
icon = "fa-brands fa-linkedin"
#[[params.links.user]]
# name_key = "community_x_name"
# url = "https://twitter.com/kubernetesio"
# icon = "fa-brands fa-twitter"
# Replace with fa-x-twitter once available
[[params.links.user]]
name_key = "community_bluesky_name"
url = "https://bsky.app/profile/kubernetes.io"
icon = "fa-brands fa-bluesky"
[[params.links.user]]
name_key = "community_x_name"
url = "https://x.com/kubernetesio"
icon = "fa-brands fa-x-twitter"
# Developer relevant links. These will show up on right side of footer and in the community page if you have one.
[[params.links.developer]]

View File

@ -40,6 +40,9 @@ other = "ICP license:"
[community_advice_guidelines]
other = "You can also read about our {{ .link }}."
[community_bluesky_name]
other = "Bluesky"
[community_calendar_name]
other = "Events Calendar"

View File

@ -4,7 +4,8 @@
<a class="widget-link" href="{{ .Permalink | safeURL }}" target="_blank"><div> <i class="fa-solid fa-rss"> </i> <span class="widget-link-text">RSS Feed</span></div> </a>
{{ end -}}
<a class="widget-link" href="https://kubernetes.io/docs/contribute/new-content/blogs-case-studies/" target="_blank"><div> <i class="fa-solid fa-pen-to-square"></i> <span class="widget-link-text">Submit a Post</span></div></a>
<a class="widget-link" href="https://twitter.com/kubernetesio" target="_blank"><div> <i class="fa-brands fa-twitter-square"> </i> <span class="widget-link-text"> @Kubernetesio</span></div></a>
<a class="widget-link" href="https://bsky.app/profile/kubernetes.io" target="_blank"><div> <i class="fa-brands fa-bluesky"> </i> <span class="widget-link-text"> @kubernetes.io</span></div></a>
<a class="widget-link" href="https://x.com/kubernetesio" target="_blank"><div> <i class="fa-brands fa-twitter-square"> </i> <span class="widget-link-text"> @Kubernetesio</span></div></a>
<a class="widget-link" href="https://github.com/kubernetes/kubernetes" target="_blank"><div> <i class="fa-brands fa-square-github"></i> <span class="widget-link-text"> on GitHub </span></div></a>
<a class="widget-link" href="http://slack.k8s.io" target="_blank"><div><i class="fa-brands fa-slack"> </i> <span class="widget-link-text">#kubernetes-users </span></div></a>
<a class="widget-link" href="https://stackoverflow.com/questions/tagged/kubernetes" target="_blank"><div><i class="fa-brands fa-stack-overflow"></i> <span class="widget-link-text"> Stack Overflow</span></div></a>

View File

@ -3,14 +3,14 @@
<div class="container-fluid mx-sm-5">
<div class="row">
{{ template "footer-main-block" . }}
<div class="col col-sm-2 text-xs-center order-1">
<div class="col col-sm-3 text-xs-center order-1">
{{ with $links }}
{{ with index . "user"}}
{{ template "footer-links-block" . }}
{{ end }}
{{ end }}
</div>
<div class="col col-sm-2 text-right text-xs-center order-3">
<div class="col col-sm-3 text-right text-xs-center order-3">
{{ with $links }}
{{ with index . "developer"}}
{{ template "footer-links-block" . }}
@ -32,7 +32,7 @@
</ul>
{{ end }}
{{ define "footer-main-block" }}
<div class="col-5 col-sm-7 text-center order-2 footer-main">
<div class="col-5 col-sm-6 text-center order-2 footer-main">
<p><span class="copyright-notice">&copy; {{ now.Year}} {{ T "main_documentation_license" | safeHTML }}</span></p>
<p><span class="copyright-notice">&copy; {{ now.Year }} {{ T "main_copyright_notice" | safeHTML }}</span></p>
<p><span class="certification-notice">{{ T "china_icp_license" }} 京ICP备17074266号-3</span></p>

9
package-lock.json generated
View File

@ -12,11 +12,10 @@
}
},
"node_modules/@fortawesome/fontawesome-free": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.2.0.tgz",
"integrity": "sha512-CNR7qRIfCwWHNN7FnKUniva94edPdyQzil/zCwk3v6k4R6rR2Fr8i4s3PM7n/lyfPA6Zfko9z5WDzFxG9SW1uQ==",
"version": "6.7.2",
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.7.2.tgz",
"integrity": "sha512-JUOtgFW6k9u4Y+xeIaEiLr3+cjoUPiAuLXoyKOJSia6Duzb7pq+A76P9ZdPDoAoxHdHzq6gE9/jKBGXlZT8FbA==",
"dev": true,
"hasInstallScript": true,
"license": "(CC-BY-4.0 AND OFL-1.1 AND MIT)",
"engines": {
"node": ">=6"
@ -327,7 +326,7 @@
"resolved": "git+ssh://git@github.com/google/docsy.git#de445c7305ec72c29c262f5d032864b5cba34af5",
"dev": true,
"dependencies": {
"@fortawesome/fontawesome-free": "6.2.0",
"@fortawesome/fontawesome-free": "6.7.2",
"bootstrap": "4.6.2"
}
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB