diff --git a/src/app/(pages)/projects/_components/PastProjectCard.tsx b/src/app/(pages)/projects/_components/PastProjectCard.tsx index b97f3c7..dd04307 100644 --- a/src/app/(pages)/projects/_components/PastProjectCard.tsx +++ b/src/app/(pages)/projects/_components/PastProjectCard.tsx @@ -3,33 +3,42 @@ import React from 'react'; import { ProjectDataType } from '@/lib/notion/projects'; import { CldImage } from 'next-cloudinary'; import { CardContent, CardTitle } from '@/components/ui/card'; +import LinkButton from '@/components/LinkButton'; +import { FaGithub } from 'react-icons/fa'; export default function PastProjectCard({ data }: { data: ProjectDataType }) { return ( - -
- {data.logoUrl && ( -
- +
+ +
+ {data.logoUrl && ( +
+ +
+ )} +
+ {data.companyName} + +

{data.description}

+

{data.productName}

+
- )} -
-
- - {data.companyName} - -
- -

{data.description}

-
-
-
+ + + {' '} + +
); } diff --git a/src/app/(pages)/projects/_components/ProjectCard.tsx b/src/app/(pages)/projects/_components/ProjectCard.tsx index b848791..b25cbf9 100644 --- a/src/app/(pages)/projects/_components/ProjectCard.tsx +++ b/src/app/(pages)/projects/_components/ProjectCard.tsx @@ -8,7 +8,9 @@ import { FaArrowCircleRight } from 'react-icons/fa'; export default function ProjectCard({ data }: { data: ProjectDataType }) { return ( - + {data.logoUrl && ( )} -
- - {data.companyName} - {data.productName} +
+ + {data.companyName} +
+ + {data.productName} + + {data.logoUrl && ( + + )} +
- +

{data.description}

- + {data.gitHubUrl && ( {' '} - {' '} + {' '} )} {data.pageId && ( - + )} diff --git a/src/app/(pages)/projects/page.tsx b/src/app/(pages)/projects/page.tsx index 006c65b..f92386b 100644 --- a/src/app/(pages)/projects/page.tsx +++ b/src/app/(pages)/projects/page.tsx @@ -9,7 +9,7 @@ export default async function Projects() { const pastProjects = res.filter(project => !isCurrentProject(project)); return ( -
+
diff --git a/src/app/layout.tsx b/src/app/layout.tsx index ee5d4cb..1069db7 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -9,7 +9,7 @@ import { Toaster } from '@/components/ui/toaster'; import './globals.css'; import 'react-notion-x/src/styles.css'; -const poppins = Poppins({ subsets: ['latin'], weight: ['400', '500', '600'] }); +const poppins = Poppins({ subsets: ['latin'], weight: ['400', '500', '600', '700'] }); export const metadata: Metadata = { title: 'Carleton Blueprint',