{{ ws.name }}
+{{ ws.description || 'No description yet.' }}
+ Created: {{ ws.createdDate | date: 'mediumDate' }} +diff --git a/src/app/components/dashboard/dashboard.css b/src/app/components/dashboard/dashboard.css index ef75673..ec09dd4 100644 --- a/src/app/components/dashboard/dashboard.css +++ b/src/app/components/dashboard/dashboard.css @@ -55,17 +55,6 @@ place-items: center; } -nav { - display: flex; - align-items: center; - gap: 20px; -} - -.workspace-card-link { - text-decoration: none; - color: inherit; -} - .logout-btn { border: 1px solid rgba(255, 255, 255, 0.24); background: transparent; @@ -158,6 +147,47 @@ nav { letter-spacing: 0.04em; } +.card-actions { + margin-top: 14px; + display: flex; + gap: 8px; +} + +.action-btn { + text-decoration: none; + display: inline-flex; + align-items: center; + border-radius: 8px; + border: 1px solid #d0d0d0; + padding: 7px 12px; + font-size: 13px; + cursor: pointer; + background: #fff; + color: #111; +} + +.open-btn { + background: #f3f3f3; +} + +.open-btn:hover { + background: #e9e9e9; +} + +.edit-btn:hover { + background: #f3f3f3; +} + +.delete-btn { + border-color: #2b2b2b; + background: #111; + color: #fff; +} + +.delete-btn:hover { + background: #000; +} + .empty-state { border: 1px dashed #bcbcbc; border-radius: 12px; diff --git a/src/app/components/dashboard/dashboard.html b/src/app/components/dashboard/dashboard.html index e624684..7da68ac 100644 --- a/src/app/components/dashboard/dashboard.html +++ b/src/app/components/dashboard/dashboard.html @@ -27,18 +27,17 @@
{{ ws.description }}
- Created: {{ ws.createdDate | date }} +{{ ws.description || 'No description yet.' }}
+ Created: {{ ws.createdDate | date: 'mediumDate' }} +No workspaces found. Create one to get started!
+