Skip to content

Commit a07e565

Browse files
committed
feat: add media section to project
1 parent cb6604d commit a07e565

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/components/projects/Project.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Pills from "../common/pills/Pills.tsx";
2+
import Media from "../media/Media.tsx";
23

34
interface ProjectProps {
45
name: string;
@@ -7,6 +8,7 @@ interface ProjectProps {
78
metrics?: string[];
89
techStack: string[];
910
tags?: string[];
11+
media?: string[];
1012
}
1113

1214
export default function Project(props: ProjectProps) {
@@ -56,6 +58,18 @@ export default function Project(props: ProjectProps) {
5658
</>
5759
)}
5860

61+
{props.media && props.media.length > 0 && (
62+
<>
63+
<div className="font-bold text-gray-600">
64+
Media
65+
</div>
66+
67+
<div className="py-3">
68+
<Media items={props.media} />
69+
</div>
70+
</>
71+
)}
72+
5973

6074

6175
{props.link ?

0 commit comments

Comments
 (0)