Skip to content

Commit

Permalink
Add coding challenge solutions to projects page
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-Kwan committed Jan 9, 2024
1 parent 7a0567e commit d880e67
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions pages/projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const projectsWithDescriptions = [
'gsmst-EvadeAndDeceive',
'fixed_pytorch_mpiigaze_demo',
'Dark-Ascent',
'hackerrank',
];

const loadingMessage =
Expand Down Expand Up @@ -89,13 +90,6 @@ export default function Projects({ descriptions }: ProjectsProps) {
githubLink="https://github.com/Kevin-Kwan/portfolio-nextjs"
demoLink="/"
/>
<ProjectCard
name="My Personal LeetCode Solutions"
description={descriptions['leetcode'] || loadingMessage}
githubLink="https://github.com/Kevin-Kwan/leetcode"
demoLink="https://leetcode.com/kevinkwan/"
demoText="LeetCode Profile"
/>
</Suspense>
</div>
<p className="text-3xl font-bold mb-2 text-center text-blue-200 underline">
Expand Down Expand Up @@ -192,6 +186,27 @@ export default function Projects({ descriptions }: ProjectsProps) {
/>
</Suspense>
</div>
<p className="text-3xl font-bold mb-2 text-center text-purple-200 underline">
Coding Challenge Solutions
</p>
<div className="flex flex-wrap -mx-2">
<Suspense fallback={<LoadingCard />}>
<ProjectCard
name="My Personal LeetCode Solutions"
description={descriptions['leetcode'] || loadingMessage}
githubLink="https://github.com/Kevin-Kwan/leetcode"
demoLink="https://leetcode.com/kevinkwan/"
demoText="LeetCode Profile"
/>
<ProjectCard
name="My Personal HackerRank Solutions"
description={descriptions['hackerrank'] || loadingMessage}
githubLink="https://github.com/Kevin-Kwan/hackerrank"
demoLink="https://www.hackerrank.com/profile/kevinkwan"
demoText="HackerRank Profile"
/>
</Suspense>
</div>
</main>
</Layout>
);
Expand Down

0 comments on commit d880e67

Please sign in to comment.