We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb6604d commit a07e565Copy full SHA for a07e565
1 file changed
src/components/projects/Project.tsx
@@ -1,4 +1,5 @@
1
import Pills from "../common/pills/Pills.tsx";
2
+import Media from "../media/Media.tsx";
3
4
interface ProjectProps {
5
name: string;
@@ -7,6 +8,7 @@ interface ProjectProps {
7
8
metrics?: string[];
9
techStack: string[];
10
tags?: string[];
11
+ media?: string[];
12
}
13
14
export default function Project(props: ProjectProps) {
@@ -56,6 +58,18 @@ export default function Project(props: ProjectProps) {
56
58
</>
57
59
)}
60
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
70
+ </>
71
+ )}
72
73
74
75
{props.link ?
0 commit comments