diff --git a/apps/frontend/src/pages/blog.astro b/apps/frontend/src/pages/blog.astro index 2ca21d5..3c14df5 100644 --- a/apps/frontend/src/pages/blog.astro +++ b/apps/frontend/src/pages/blog.astro @@ -209,9 +209,6 @@ function timeAgo(dateStr: string): string { {timeAgo(page.updatedAt)} - - View on Wiki -

@@ -222,7 +219,7 @@ function timeAgo(dateStr: string): string {
) : (
- {page.description || "No preview available. Click 'View on Wiki' to read the full post."} + {page.description || "No preview available for this post."}
)}
diff --git a/apps/frontend/src/pages/catalog.astro b/apps/frontend/src/pages/catalog.astro index 97cb72b..9038c6a 100644 --- a/apps/frontend/src/pages/catalog.astro +++ b/apps/frontend/src/pages/catalog.astro @@ -58,48 +58,86 @@ const softwares = json.softwares; Releases ({releases.length}) -
- - - - - - - - - - {releases.map((release) => ( + +
+ {/* Desktop Table View */} +
VersionDateActions
+ - - - + + + - ))} - -
{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 - )} - VersionDateActions
+ + + {releases.map((release) => ( + + {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 + )} + + + ))} + + +
+ + {/* Mobile Stacked View */} +
+ {releases.map((release) => ( +
+
+ v{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 + )} +
+
+ ))} +