File tree Expand file tree Collapse file tree 4 files changed +36
-0
lines changed
Expand file tree Collapse file tree 4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,23 @@ export default function Footer() {
1212 { name : tFooter ( "nav.TrademarksName" ) , href : "/legal/trademarks" } ,
1313 ] ,
1414 social : [
15+ {
16+ name : tFooter ( "socialNav.bluesky" ) ,
17+ href : "https://bsky.app/profile/rockylinux.org" ,
18+ icon : ( props : JSX . IntrinsicAttributes & SVGProps < SVGSVGElement > ) => (
19+ < svg
20+ fill = "currentColor"
21+ viewBox = "0 0 600 530"
22+ className = "h-5 w-5"
23+ { ...props }
24+ >
25+ < path
26+ fill = "currentColor"
27+ d = "m135.72 44.03c66.496 49.921 138.02 151.14 164.28 205.46 26.262-54.316 97.782-155.54 164.28-205.46 47.98-36.021 125.72-63.892 125.72 24.795 0 17.712-10.155 148.79-16.111 170.07-20.703 73.984-96.144 92.854-163.25 81.433 117.3 19.964 147.14 86.092 82.697 152.22-122.39 125.59-175.91-31.511-189.63-71.766-2.514-7.3797-3.6904-10.832-3.7077-7.8964-0.0174-2.9357-1.1937 0.51669-3.7077 7.8964-13.714 40.255-67.233 197.36-189.63 71.766-64.444-66.128-34.605-132.26 82.697-152.22-67.108 11.421-142.55-7.4491-163.25-81.433-5.9562-21.282-16.111-152.36-16.111-170.07 0-88.687 77.742-60.816 125.72-24.795z"
28+ />
29+ </ svg >
30+ ) ,
31+ } ,
1532 {
1633 name : tFooter ( "socialNav.mastodon" ) ,
1734 href : "https://fosstodon.org/@rockylinux" ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ interface ShareButtonsProps {
1010const ShareButtons = ( { url } : ShareButtonsProps ) => {
1111 const t = useTranslations ( "share" ) ;
1212
13+ const blueskyLink = `https://bsky.app/intent/compose?text=${ url } ` ;
1314 const facebookLink = `https://www.facebook.com/sharer/sharer.php?u=${ url } ` ;
1415 const xLink = `https://twitter.com/intent/tweet?text=${ url } ` ;
1516 const linkedInLink = `https://www.linkedin.com/sharing/share-offsite/?url=${ url } ` ;
@@ -19,6 +20,20 @@ const ShareButtons = ({ url }: ShareButtonsProps) => {
1920 < >
2021 < h3 className = "text-sm text-center mb-2" > { t ( "shareName" ) } </ h3 >
2122 < div className = "flex space-x-6 justify-center items-center mb-12" >
23+ < Link
24+ href = { blueskyLink }
25+ className = "hover:text-primary"
26+ target = "_blank"
27+ >
28+ < span className = "sr-only" > { t ( "bluesky" ) } </ span >
29+ < svg
30+ fill = "currentColor"
31+ viewBox = "0 0 600 530"
32+ className = "h-5 w-5"
33+ >
34+ < path d = "m135.72 44.03c66.496 49.921 138.02 151.14 164.28 205.46 26.262-54.316 97.782-155.54 164.28-205.46 47.98-36.021 125.72-63.892 125.72 24.795 0 17.712-10.155 148.79-16.111 170.07-20.703 73.984-96.144 92.854-163.25 81.433 117.3 19.964 147.14 86.092 82.697 152.22-122.39 125.59-175.91-31.511-189.63-71.766-2.514-7.3797-3.6904-10.832-3.7077-7.8964-0.0174-2.9357-1.1937 0.51669-3.7077 7.8964-13.714 40.255-67.233 197.36-189.63 71.766-64.444-66.128-34.605-132.26 82.697-152.22-67.108 11.421-142.55-7.4491-163.25-81.433-5.9562-21.282-16.111-152.36-16.111-170.07 0-88.687 77.742-60.816 125.72-24.795z" />
35+ </ svg >
36+ </ Link >
2237 < MastodonDialog
2338 invalidUrlMsg = { t ( "mastodon.url-valid" ) }
2439 urlMsg = { t ( "mastodon.url" ) }
Original file line number Diff line number Diff line change 5656 "TrademarksName" : " Trademarks"
5757 },
5858 "socialNav" : {
59+ "bluesky" : " Bluesky" ,
5960 "facebook" : " Facebook" ,
6061 "github" : " GitHub" ,
6162 "instagram" : " Instagram" ,
109110 },
110111 "share" : {
111112 "shareName" : " Share" ,
113+ "bluesky" : " Bluesky" ,
112114 "mastodon" : {
113115 "name" : " Mastodon" ,
114116 "url-valid" : " Please enter a valid Mastodon instance URL (without https://)." ,
Original file line number Diff line number Diff line change 5656 "TrademarksName" : " Trademarks"
5757 },
5858 "socialNav" : {
59+ "bluesky" : " Bluesky" ,
5960 "facebook" : " Facebook" ,
6061 "github" : " GitHub" ,
6162 "instagram" : " Instagram" ,
109110 },
110111 "share" : {
111112 "shareName" : " Share" ,
113+ "bluesky" : " Bluesky" ,
112114 "mastodon" : {
113115 "name" : " Mastodon" ,
114116 "url-valid" : " Please enter a valid Mastodon instance URL (without https://)." ,
You can’t perform that action at this time.
0 commit comments