feat: category icon badges on projects — CLI, App, Web, Plugin, SDK

Each project now shows a colored icon badge indicating its type:
- CLI (purple terminal), App (blue apple), Web (cyan globe)
- WebApp (teal app), Plugin (amber puzzle), SDK (violet package)
- Contrib (gray pull request)
This commit is contained in:
juanatsap
2026-05-04 14:28:37 +01:00
parent 29aa3d1fd7
commit 542419de45
7 changed files with 51 additions and 1 deletions
+1
View File
@@ -98,6 +98,7 @@ type Language struct {
type Project struct {
Title string `json:"title"`
Category string `json:"category,omitempty"` // Project type: cli, app, web, webapp, plugin, sdk, contrib
ProjectName string `json:"projectName,omitempty"` // Optional: linkable part of title
ProjectDesc string `json:"projectDesc,omitempty"` // Optional: non-linkable description part
ProjectID string `json:"projectID,omitempty"` // Unique ID for scrolling/navigation