diff --git a/src/app/open-source/ProjectCard.tsx b/src/app/open-source/ProjectCard.tsx index c7377570..53543145 100644 --- a/src/app/open-source/ProjectCard.tsx +++ b/src/app/open-source/ProjectCard.tsx @@ -4,7 +4,7 @@ import Tag from '@/components/Tag'; import { TECH_COLORS } from '@/constants/colours'; import type { Project } from '@/data/projects'; import Image from 'next/image'; -import { FaGithub } from 'react-icons/fa'; +import { FaGithub, FaExternalLinkAlt } from 'react-icons/fa'; export default function ProjectCard({ project }: { project: Project }) { return ( @@ -31,16 +31,35 @@ export default function ProjectCard({ project }: { project: Project }) { ))} - +
+
+ +
+ + {project.websiteLink && ( +
+ +
+ )} +
diff --git a/src/data/projects.ts b/src/data/projects.ts index 2fa6cba2..4880e473 100644 --- a/src/data/projects.ts +++ b/src/data/projects.ts @@ -5,6 +5,7 @@ export interface Project { description: string; image: string; githubLink: string; + websiteLink?: string; techStacks: TechStack[]; } @@ -45,6 +46,7 @@ export const PROJECTS: Project[] = [ 'An interactive drag-and-drop timetable scheduler to help UofA students optimise their weekly timetable.', image: 'mytimetable.png', githubLink: 'https://github.com/compsci-adl/mytimetable', + websiteLink: 'https://mytimetable.csclub.org.au/', techStacks: [ 'TypeScript', 'React',