Commit 86f5eab 1 parent a3cdf39 commit 86f5eab Copy full SHA for 86f5eab
File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
import Social from " ./Social.astro" ;
3
3
import License from " ./License.astro" ;
4
- import { SocialPlatform } from " ../data /socialPlatforms" ;
4
+ import { SocialPlatform } from " ../lib /socialPlatforms" ;
5
5
import { Icon } from " astro-icon/components" ;
6
6
---
7
7
Original file line number Diff line number Diff line change 1
1
---
2
2
import { Icon } from " astro-icon/components" ;
3
- import type { SocialPlatform } from " ../data /socialPlatforms" ;
3
+ import type { SocialPlatform } from " ../lib /socialPlatforms" ;
4
4
5
5
interface Props {
6
6
platform: SocialPlatform ;
@@ -13,7 +13,7 @@ const socialPlatforms = {
13
13
bluesky: {
14
14
url: ` https://bsky.app/profile/${username } ` ,
15
15
title: " Bluesky" ,
16
- icon: " mdi:bird " ,
16
+ icon: " logos:bluesky " ,
17
17
color:
18
18
" bg-sky-100 dark:bg-sky-900/40 text-sky-800 dark:text-sky-300 hover:bg-sky-200 dark:hover:bg-sky-800/60 hover:text-sky-900 dark:hover:text-sky-200" ,
19
19
},
@@ -27,21 +27,21 @@ const socialPlatforms = {
27
27
github: {
28
28
url: ` https://github.com/${username } ` ,
29
29
title: " GitHub" ,
30
- icon: " mdi :github" ,
30
+ icon: " logos :github-icon " ,
31
31
color:
32
32
" bg-gray-100 dark:bg-gray-800/40 text-gray-800 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700/60 hover:text-gray-900 dark:hover:text-gray-200" ,
33
33
},
34
34
linkedin: {
35
35
url: ` https://linkedin.com/in/${username } ` ,
36
36
title: " LinkedIn" ,
37
- icon: " mdi :linkedin" ,
37
+ icon: " logos :linkedin-icon " ,
38
38
color:
39
39
" bg-blue-100 dark:bg-blue-900/40 text-blue-800 dark:text-blue-300 hover:bg-blue-200 dark:hover:bg-blue-800/60 hover:text-blue-900 dark:hover:text-blue-200" ,
40
40
},
41
41
youtube: {
42
42
url: ` https://youtube.com/@${username } ` ,
43
43
title: " YouTube" ,
44
- icon: " mdi :youtube" ,
44
+ icon: " logos :youtube-icon " ,
45
45
color:
46
46
" bg-red-100 dark:bg-red-900/40 text-red-800 dark:text-red-300 hover:bg-red-200 dark:hover:bg-red-800/60 hover:text-red-900 dark:hover:text-red-200" ,
47
47
},
File renamed without changes.
You can’t perform that action at this time.
0 commit comments