diff --git a/src/components/PublicProjectCard.tsx b/src/components/PublicProjectCard.tsx index 1c49deb..894863c 100644 --- a/src/components/PublicProjectCard.tsx +++ b/src/components/PublicProjectCard.tsx @@ -7,6 +7,7 @@ import { use, useMemo } from "react" import { Activity } from "react-activity-calendar" import { ActivityCalendar } from "./ActivityCalendar" import { Card, CardContent, CardHeader, CardTitle } from "./ui/card" +import { History } from "lucide-react" type Props = { project: Tables<"projects"> @@ -31,25 +32,34 @@ export function PublicProjectCard({ project, activityPromise }: Props) { return ( - - {project.ownerLogin} - - {project.ownerLogin}/ - - {project.name} - + +
+ {project.ownerLogin} + + {project.ownerLogin}/ + + {project.name} + +
+ + {lastCommit && ( + + Last commit:{" "} + {new Date(lastCommit).toLocaleDateString()} + + )}