+
+ {softwares.map(({ software, releases, latestRelease }) => (
+
- {webPlayableRelease?.htmlFolderPath && (
-
- ▶ Play in Browser
-
+
+ {/* New section for latest release buttons */}
+ {latestRelease && (
+
))}
{software.title}
{software.desc}
@@ -24,12 +24,82 @@ const softwares = json.softwares;Author: {software.author}
Platform: {software.platform}
+ {latestRelease.htmlFolderPath ? (
+ ▶ Play
+ ) : (
+ ▶ Play
+ )}
+ {latestRelease.cartridgePath ? (
+ Download
+ ) : (
+ Download
+ )}
+ {latestRelease.sourcePath ? (
+ Source
+ ) : (
+ Source
+ )}
+ {latestRelease.docsFolderPath ? (
+ Docs
+ ) : (
+ Docs
+ )}
+
)}
+ {/* End new section */}
+
+
+
+ Releases ({releases.length}) +
+
+
+
+
+
+ | Version | +Date | +Actions | +
|---|---|---|
| {release.version} | ++ {new Date(release.CreatedAt).toLocaleDateString('en-US')} + | ++ {release.htmlFolderPath ? ( + ▶ Play + ) : ( + ▶ Play + )} + {release.cartridgePath ? ( + Download + ) : ( + Download + )} + {release.sourcePath ? ( + Source + ) : ( + Source + )} + {release.docsFolderPath ? ( + Docs + ) : ( + Docs + )} + | +