Skip to content

Commit 59f0b77

Browse files
committed
feat: Add contributor/source information to benchmark details page
1 parent f707ff5 commit 59f0b77

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

website-nextjs/src/pages/dashboard/benchmark-details/[slug].tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,16 @@ const PageBenchmarkDetail = () => {
131131
{benchmarkDetail?.shortDescription}
132132
</div>
133133
</div>
134+
<div className="pr-4 pb-4 text-sm text-navy/70">
135+
<span className="font-semibold">Contributor(s)/Source:</span>{" "}
136+
{benchmarkDetail?.contributorSSource ? (
137+
<span className="hover:text-navy">
138+
{benchmarkDetail.contributorSSource}
139+
</span>
140+
) : (
141+
"-"
142+
)}
143+
</div>
134144
<div className="bg-[#F4F6F8] flex py-2.5 rounded-lg">
135145
{columns.map((col) => (
136146
<div

website-nextjs/src/types/meta-data.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ interface MetaDataEntry {
1717
sectors: string;
1818
timeHorizon: string;
1919
milpFeatures: string | null;
20+
contributorSSource: string | null;
2021
sizes: Size[];
2122
}
2223

0 commit comments

Comments
 (0)