From e42e065979738f0b655b9f1a93cac598c0a0eacc Mon Sep 17 00:00:00 2001 From: Nimish <85357445+nimish-ks@users.noreply.github.com> Date: Mon, 5 Aug 2024 17:01:37 +0530 Subject: [PATCH] feat: misc secret screen ui improvements (#322) --- .../[environment]/[[...path]]/page.tsx | 44 ++++++++++--------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/frontend/app/[team]/apps/[app]/environments/[environment]/[[...path]]/page.tsx b/frontend/app/[team]/apps/[app]/environments/[environment]/[[...path]]/page.tsx index 5f2ab648..5a3e13f7 100644 --- a/frontend/app/[team]/apps/[app]/environments/[environment]/[[...path]]/page.tsx +++ b/frontend/app/[team]/apps/[app]/environments/[environment]/[[...path]]/page.tsx @@ -659,7 +659,8 @@ export default function Environment({ return (
- / + + ~/
) @@ -672,9 +673,10 @@ export default function Environment({ href={basePath} className="p-2 flex items-center gap-2 font-light text-neutral-500 group" > - / + + ~/ - {/* Map over path segments */} + {/* Map over path segments */} {path.map((segment, index) => { // Construct the href for each segment const href = `${basePath}/${path.slice(0, index + 1).join('/')}` @@ -697,16 +699,17 @@ export default function Environment({ ) })} { -
- - - -
+
+ + + +
} ) @@ -820,13 +823,14 @@ export default function Environment({ />
- {unsavedChanges && ( - - )} + {unsavedChanges && ( + + )} {data.envSyncs && (