diff --git a/apps/catalog/domain/model.software.go b/apps/catalog/domain/model.software.go index ae16645..e69e65e 100644 --- a/apps/catalog/domain/model.software.go +++ b/apps/catalog/domain/model.software.go @@ -11,5 +11,6 @@ type Software struct { Site string `gorm:"size:255" json:"site"` License string `gorm:"size:128" json:"license"` Platform string `gorm:"size:128" json:"platform"` + Status string `gorm:"size:20;default:development" json:"status"` Releases []Release `json:"-"` } diff --git a/apps/frontend/src/pages/catalog.astro b/apps/frontend/src/pages/catalog.astro index ce77bf4..d370450 100644 --- a/apps/frontend/src/pages/catalog.astro +++ b/apps/frontend/src/pages/catalog.astro @@ -16,16 +16,29 @@ const softwares = json.softwares; -
- {softwares.map(({ software, releases, latestRelease }) => ( -
-
-

{software.title}

-

{software.desc}

-
-
Author: {software.author}
-
Platform: {software.platform}
-
+
+
+ + + + +
+ +
+ {softwares.map(({ software, releases, latestRelease }) => ( +
+
+
+

{software.title}

+ + {software.status} + +
+

{software.desc}

+
+
Author: {software.author}
+
Platform: {software.platform}
+
{latestRelease && (
@@ -141,10 +154,49 @@ const softwares = json.softwares;
))} +
+ +