Skip to content

Commit 92b434a

Browse files
committed
feat(recommendations): add intermediate resolver for recommender image
1 parent 8236e89 commit 92b434a

File tree

4 files changed

+24
-1
lines changed

4 files changed

+24
-1
lines changed

src/components/Recommendation/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export interface Props {
1818
content: ReactNode;
1919
date: string;
2020
githubUsername: string;
21+
staticProfileImage: string | null;
2122
}
2223

2324
export default function Recommendation({
@@ -26,6 +27,7 @@ export default function Recommendation({
2627
content,
2728
date,
2829
githubUsername,
30+
staticProfileImage,
2931
}: Props): ReactNode {
3032
return (
3133
<div className={clsx("card", styles.recommendation)}>
@@ -37,7 +39,9 @@ export default function Recommendation({
3739
src={
3840
githubUsername
3941
? `https://github.com/${githubUsername}.png`
40-
: "https://nicholasgoh.github.io/img/blank.png"
42+
: staticProfileImage
43+
? `https://nicholasgoh.github.io/img/recommenders/${staticProfileImage}.png`
44+
: "https://nicholasgoh.github.io/img/recommenders/blank.png"
4145
}
4246
width="48"
4347
height="48"

src/data/recommendations.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,25 @@ const TWEETS: RecommendationItem[] = [
7474
showOnHomepage: true,
7575
githubUsername: "",
7676
},
77+
{
78+
url: "https://www.linkedin.com/in/alvinphang/",
79+
name: "Alvin Phang",
80+
date: "Apr 22, 2025",
81+
content: (
82+
<>
83+
I had the pleasure of working with Nicholas, and I’m genuinely impressed
84+
by their growth and contributions. A fast learner with a great attitude,
85+
Nicholas quickly ramped up on complex topics like LLM microservices and
86+
took initiative to implement practical solutions that improved team
87+
efficiency and led to meaningful cost savings. On top of that, Nicholas
88+
is friendly, collaborative, and always a joy to work with — a great
89+
asset to any team.
90+
</>
91+
),
92+
showOnHomepage: true,
93+
githubUsername: "",
94+
staticProfileImage: "alvinphang",
95+
},
7796
];
7897

7998
export default TWEETS;
63 KB
Loading
File renamed without changes.

0 commit comments

Comments
 (0)