File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ const About: FC<Props> = ({ isModal }) => {
27
27
{ ticker . information . facebook && < DescriptionItem info = { ticker . information . facebook } type = { DescriptionTypes . Facebook } /> }
28
28
{ ticker . information . telegram && < DescriptionItem info = { ticker . information . telegram } type = { DescriptionTypes . Telegram } /> }
29
29
{ ticker . information . mastodon && < DescriptionItem info = { ticker . information . mastodon } type = { DescriptionTypes . Mastodon } /> }
30
+ { ticker . information . bluesky && < DescriptionItem info = { ticker . information . bluesky } type = { DescriptionTypes . Bluesky } /> }
30
31
< List . Item >
31
32
< List . Icon name = "feed" />
32
33
< List . Content >
Original file line number Diff line number Diff line change @@ -80,6 +80,17 @@ const DescriptionItem: FC<Props> = props => {
80
80
</ List . Content >
81
81
</ List . Item >
82
82
)
83
+ case DescriptionTypes . Bluesky :
84
+ return (
85
+ < List . Item >
86
+ < List . Icon name = "linkify" />
87
+ < List . Content >
88
+ < a href = { `${ props . info } ` } rel = "noopener noreferrer" target = "_blank" >
89
+ { props . info . replace ( 'https://' , '' ) }
90
+ </ a >
91
+ </ List . Content >
92
+ </ List . Item >
93
+ )
83
94
default :
84
95
return null
85
96
}
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ type TickerInformation = {
15
15
twitter : string
16
16
url : string
17
17
mastodon : string
18
+ bluesky : string
18
19
}
19
20
20
21
export type Settings = {
@@ -40,6 +41,7 @@ export enum DescriptionTypes {
40
41
Twitter = 'TWITTER' ,
41
42
Telegram = 'TELEGRAM' ,
42
43
Mastodon = 'MASTODON' ,
44
+ Bluesky = 'BLUESKY' ,
43
45
}
44
46
45
47
export type Message = {
You can’t perform that action at this time.
0 commit comments