Skip to content

Commit

Permalink
Corrected ProjectExtendedCards Props
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-rmz committed Apr 12, 2024
1 parent 11f17ed commit fcf9b19
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions app/projects/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ const Projects = () => {
},
{
title: "Project 2",
date: "Sep 2023 - Dec 2023",
date: "Apr 2023 - Jun 2023",
description:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonrisus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor...",
},
{
title: "Project 3",
date: "Sep 2023 - Dec 2023",
date: "Oct 2023 - Jan 2024",
description:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonrisus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor...",
},
{
title: "Project 4",
date: "Sep 2023 - Dec 2023",
date: "Feb 2024 - Apr 2024",
description:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonrisus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor...",
},
{
title: "Project 5",
date: "Sep 2023 - Dec 2023",
date: "In progress",
description:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonrisus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor...",
},
Expand All @@ -54,7 +54,7 @@ const Projects = () => {
<ProjectExtendedCard
key={index}
title={project.title}
date={project.title}
date={project.date}
description={project.description}
/>
))}
Expand Down
6 changes: 5 additions & 1 deletion components/ProjectExtendedCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ import UserProfileButton from "@/components/UserProfileButton";
import ChevronRightIcon from "./icons/ChevronRightIcon";
import PlusIcon from "./icons/PlusIcon";

const ProjectExtendedCard = () => {
const ProjectExtendedCard = ({
title,
date,
description,
}: ProjectExtendedCardProps) => {
return (
<div className="flex items-center gap-20 rounded-lg bg-white p-5">
<div>
Expand Down

0 comments on commit fcf9b19

Please sign in to comment.