Skip to content

Commit 4bace8b

Browse files
committed
Updated project cards
1 parent 51b0f00 commit 4bace8b

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed
-669 Bytes
Loading

next-js-app/src/app/home/page.tsx

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ interface Project {
6262
description: string;
6363
longDescription: string;
6464
image?: StaticImageData;
65+
links?: { text: string; url: string }[];
6566
}
6667

6768
const education: Education = {
@@ -162,6 +163,7 @@ const projects: Project[] = [
162163
longDescription:
163164
"As technical co-founder, I led Envolvly's development from concept to a scalable app with live users. I architected the full-stack infrastructure using React, AWS, and MongoDB, and established all technical operations, including the CI/CD pipeline. My leadership in applying Agile methodologies was key to our rapid growth and winning the OSU Business Pitch Competition, demonstrating strong technical and business acumen.",
164165
image: envolvlyProjectThumbnail,
166+
links: [{ text: "Website", url: "https://www.envolvly.com" }],
165167
},
166168
{
167169
name: "MIT JOS",
@@ -192,6 +194,13 @@ const projects: Project[] = [
192194
longDescription:
193195
"The Wormhole is an AI-powered portfolio experience that dynamically generates pages using a Large Language Model (LLM). The LLM is provided with information about my professional background and generates unique content for each visitor. This project showcases my skills in full-stack development, API design, and generative AI.",
194196
image: WormholeProjectThumbnail,
197+
links: [
198+
{
199+
text: "Github",
200+
url: "https://github.com/gitJamoo/wormhole-portfolio",
201+
},
202+
{ text: "Website", url: "https://j-m-s.dev" },
203+
],
195204
},
196205
{
197206
name: "ResumAI",
@@ -215,6 +224,7 @@ const projects: Project[] = [
215224
},
216225
];
217226

227+
218228
interface Education {
219229
institution: string;
220230
degree: string;
@@ -436,15 +446,29 @@ function ProjectCard({ project }: { project: Project }) {
436446
<p className="text-lg text-gray-700 dark:text-gray-300 mb-4">
437447
{project.longDescription}
438448
</p>
439-
<p className="text-md text-gray-500 font-mono">
449+
<p className="text-md text-gray-500 font-mono mb-6">
440450
{project.technologies}
441451
</p>
442-
<button
443-
onClick={() => setIsModalOpen(false)}
444-
className="mt-6 bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-gray-200 font-bold py-2 px-4 rounded-lg hover:bg-gray-300 dark:hover:bg-gray-600 transition-colors"
445-
>
446-
Close
447-
</button>
452+
<div className="flex flex-wrap gap-4 items-center">
453+
{project.links &&
454+
project.links.map((link, index) => (
455+
<a
456+
key={index}
457+
href={link.url}
458+
target="_blank"
459+
rel="noopener noreferrer"
460+
className="bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-lg transition-colors"
461+
>
462+
{link.text}
463+
</a>
464+
))}
465+
<button
466+
onClick={() => setIsModalOpen(false)}
467+
className="bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-gray-200 font-bold py-2 px-4 rounded-lg hover:bg-gray-300 dark:hover:bg-gray-600 transition-colors ml-auto"
468+
>
469+
Close
470+
</button>
471+
</div>
448472
</div>
449473
</div>
450474
)}

0 commit comments

Comments
 (0)