From d111e36fef4f741ffa2b6ef14c15c3487ab93c35 Mon Sep 17 00:00:00 2001 From: Jordan Jensen Date: Thu, 14 Dec 2023 14:21:35 -0800 Subject: [PATCH 1/3] Only give card-header margin-bottom if not empty --- web/src/components/PCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/PCard.vue b/web/src/components/PCard.vue index 285eebee9..dd53e6f66 100644 --- a/web/src/components/PCard.vue +++ b/web/src/components/PCard.vue @@ -98,7 +98,7 @@ defineProps({ } .card-header { - &:not(:last-child) { + &:not(:empty) { margin-bottom: 12px; } } From 635fb822a6f04464d00b0dc976396177205e619a Mon Sep 17 00:00:00 2001 From: Jordan Jensen Date: Thu, 14 Dec 2023 14:21:53 -0800 Subject: [PATCH 2/3] Add text-low-contrast CSS util class --- web/src/style.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/src/style.css b/web/src/style.css index e9cd5b2a0..a835de47f 100644 --- a/web/src/style.css +++ b/web/src/style.css @@ -116,3 +116,10 @@ h1, h2, h3, h4, h5, h6, p { text-overflow: ellipsis; white-space: nowrap; } + +.body--light .text-low-contrast { + color: #757575; +} +.body--dark .text-low-contrast { + color: #9e9e9e; +} From 6c5e7ada3998d25fcfafd598879b4e1e7864c7f6 Mon Sep 17 00:00:00 2001 From: Jordan Jensen Date: Thu, 14 Dec 2023 14:22:15 -0800 Subject: [PATCH 3/3] Display add Destination PCard if no deployments --- web/src/views/project-page/ProjectPage.vue | 34 ++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/web/src/views/project-page/ProjectPage.vue b/web/src/views/project-page/ProjectPage.vue index ac00e0e5e..9dce1944d 100644 --- a/web/src/views/project-page/ProjectPage.vue +++ b/web/src/views/project-page/ProjectPage.vue @@ -12,6 +12,7 @@ @@ -19,13 +20,37 @@ -
+
+
+ +
+ +

+ Add a New Destination +

+

+ This project hasn't been published yet. +

+

+ Get started by adding a destination. +

+
+
+

Configurations @@ -46,7 +71,7 @@