File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ startYear: 2017 # Leave empty if you do not want to display a start year.
55
55
socialMedia :
56
56
github_username : ZL-Asica # Your GitHub username. https://github.com/username
57
57
linkedin_username : elara-liu # Your LinkedIn username. https://www.linkedin.com/in/username
58
- instagram_id : zl_asica # Your Instagram username.
58
+ instagram_id : # Your Instagram username.
59
59
orcid_id : 0009-0008-7221-2324 # Your ORCID iD.
60
60
telegram_username : zl_asica # Your Telegram username. https://t.me/username
61
61
bluesky_username : zla.app # Your Bluesky username (without prefix). https://bsky.app/profile/{username}
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ const SocialMediaLinks = ({
31
31
className = { `mx-4 mb-5 flex flex-wrap justify-center gap-y-4 space-x-4 ${ className } ` }
32
32
>
33
33
{ Object . entries ( socialMedia )
34
- . filter ( ( [ key , _ ] ) => key in socialData )
34
+ . filter ( ( [ key , username ] ) => key in socialData && username !== null )
35
35
. map ( ( [ key , username ] ) => {
36
36
const { urlTemplate, icon : IconComponent } = socialData [ key as SocialMediaKey ] ;
37
37
38
38
const label = upperFirst ( words ( key ) [ 0 ] ) ;
39
- if ( key === 'rss' && username !== '' && username !== ' false') {
39
+ if ( key === 'rss' && username !== 'false' ) {
40
40
username = `/feed.xml` ;
41
41
}
42
42
return (
You can’t perform that action at this time.
0 commit comments