diff --git a/lib/projects/ssr.tsx b/lib/projects/ssr.tsx index 52a917d..b573936 100644 --- a/lib/projects/ssr.tsx +++ b/lib/projects/ssr.tsx @@ -39,9 +39,32 @@ function ProjectPageComponent(props: { baseURL: string; project: Project }) {
+ +
+ + {props.project.attrs?.repository && ( +

+ GitHub repository:{" "} + + {makeRepositoryURL(props.project.attrs?.repository)} + +

+ )} + + {props.project.attrs?.participants?.length && ( +

+ Participants: {props.project.attrs.participants.join(", ")} +

+ )} + + {props.project.attrs?.labels?.length && ( +

+ Labels: {props.project.attrs.labels.join(", ")} +

+ )} ); } @@ -53,17 +76,6 @@ function ProjectPreviewComponent(props: { project: Project }) { {props.project.attrs?.title}

{props.project.attrs?.description}

-

- {props.project.attrs?.repository && ( - - GitHub - - )} -

); } @@ -112,6 +124,12 @@ function renderPageHTML(component: any) { + ${head.join("\n")} ${body}${footer.join("\n")}