Skip to content

Commit 9cfcce3

Browse files
committed
feat: researchgate icon
1 parent f3030e4 commit 9cfcce3

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

src/components/PersonCard.astro

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,42 @@ let icons = [
2323
{
2424
name: 'projects',
2525
icon: 'ph:code',
26+
size: 32,
2627
},
2728
{
2829
name: 'linkedin',
2930
icon: 'ph:linkedin-logo',
31+
size: 32,
3032
},
3133
{
3234
name: 'github',
3335
icon: 'icon-park:github-one',
36+
size: 32,
3437
},
3538
{
3639
name: 'figma',
3740
icon: 'ph:figma-logo',
41+
size: 32,
3842
},
3943
{
4044
name: 'instagram',
4145
icon: 'ph:instagram-logo',
46+
size: 32,
4247
},
4348
{
4449
name: 'homepage',
45-
icon: 'ph:address-book',
50+
icon: 'ph:identification-badge',
51+
size: 32,
52+
// icon: 'ph:address-book',
53+
},
54+
{
55+
name: 'researchgate',
56+
icon: 'la:researchgate',
57+
size: 36,
58+
// icon: 'simple-icons:researchgate',
59+
// icon: 'ph:graduation-cap',
60+
// icon: 'ph:student',
61+
// icon: 'ph:flask',
4662
},
4763
];
4864
@@ -99,11 +115,11 @@ const tags = await getPersonTags(person);
99115
<a
100116
href={link.url}
101117
target="_blank"
102-
class="hover:scale-110 transition duration-500"
118+
class="hover:scale-110 transition duration-500 flex items-center justify-center"
103119
>
104120
<Icon
105121
name={link.icon}
106-
size={32}
122+
size={link.size}
107123
class={`${link.name}-person-link`}
108124
/>
109125
</a>

src/content/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ const addresses = z.object({
5858
stackoverflow: z.string().url().optional(),
5959
lattes: z.string().url().optional(),
6060
researchgate: z.string().url().optional(),
61+
orcid: z.string().url().optional(),
62+
googleScholar: z.string().url().optional(),
6163
instagram: z.string().url().optional(),
6264
tiktok: z.string().url().optional(),
6365
youtube: z.string().url().optional(),

0 commit comments

Comments
 (0)