From 74a28e166a2322b0934b0ebc72032ab4359ad616 Mon Sep 17 00:00:00 2001 From: Mattias Granlund Date: Fri, 17 Nov 2023 15:31:50 +0100 Subject: [PATCH] Move settings and change vbranch label --- packages/ui/src/lib/components/Link.svelte | 8 ++++---- .../routes/[projectId]/navigation/DomainButton.svelte | 2 +- .../src/routes/[projectId]/navigation/Footer.svelte | 11 +++++++---- .../routes/[projectId]/navigation/Navigation.svelte | 5 ++--- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/packages/ui/src/lib/components/Link.svelte b/packages/ui/src/lib/components/Link.svelte index 39df6c248..1bcb5c1fe 100644 --- a/packages/ui/src/lib/components/Link.svelte +++ b/packages/ui/src/lib/components/Link.svelte @@ -41,10 +41,10 @@
-
- {#if isExternal} + {#if isExternal} +
- {/if} -
+
+ {/if} {/if} diff --git a/packages/ui/src/routes/[projectId]/navigation/DomainButton.svelte b/packages/ui/src/routes/[projectId]/navigation/DomainButton.svelte index 759e460ee..b4e849161 100644 --- a/packages/ui/src/routes/[projectId]/navigation/DomainButton.svelte +++ b/packages/ui/src/routes/[projectId]/navigation/DomainButton.svelte @@ -9,7 +9,7 @@ diff --git a/packages/ui/src/routes/[projectId]/navigation/Footer.svelte b/packages/ui/src/routes/[projectId]/navigation/Footer.svelte index 4dcb3f766..a55d7117c 100644 --- a/packages/ui/src/routes/[projectId]/navigation/Footer.svelte +++ b/packages/ui/src/routes/[projectId]/navigation/Footer.svelte @@ -5,10 +5,12 @@ import Tooltip from '$lib/components/Tooltip.svelte'; import IconEmail from '$lib/icons/IconEmail.svelte'; import IconHome from '$lib/icons/IconHome.svelte'; + import IconSettings from '$lib/icons/IconSettings.svelte'; import IconSpinner from '$lib/icons/IconSpinner.svelte'; import * as events from '$lib/utils/events'; export let user: User | undefined; + export let projectId: string | undefined;
-
- - - +
+ + + + {#if $isLoading} diff --git a/packages/ui/src/routes/[projectId]/navigation/Navigation.svelte b/packages/ui/src/routes/[projectId]/navigation/Navigation.svelte index b4c8f95dd..82f042d18 100644 --- a/packages/ui/src/routes/[projectId]/navigation/Navigation.svelte +++ b/packages/ui/src/routes/[projectId]/navigation/Navigation.svelte @@ -53,8 +53,7 @@
- Active branches - Settings + Applied branches
{#if githubContext} @@ -62,6 +61,6 @@ {:else} {/if} -