+
{#if mode === "Preview"}
{#if route.id?.includes("explore")}
@@ -135,12 +134,4 @@
{/if}
-
-
-
+
diff --git a/web-common/src/layout/header/Header.svelte b/web-common/src/layout/header/Header.svelte
new file mode 100644
index 00000000000..6a866eda144
--- /dev/null
+++ b/web-common/src/layout/header/Header.svelte
@@ -0,0 +1,10 @@
+
+
+
diff --git a/web-common/src/layout/header/HeaderLogo.svelte b/web-common/src/layout/header/HeaderLogo.svelte
new file mode 100644
index 00000000000..8a6d79fcf0e
--- /dev/null
+++ b/web-common/src/layout/header/HeaderLogo.svelte
@@ -0,0 +1,17 @@
+
+
+
+ {#if logoUrl}
+
+ {:else}
+
+ {/if}
+
diff --git a/web-common/src/runtime-client/v2/RuntimeContextBridge.svelte b/web-common/src/runtime-client/v2/RuntimeContextBridge.svelte
deleted file mode 100644
index d279035a882..00000000000
--- a/web-common/src/runtime-client/v2/RuntimeContextBridge.svelte
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
diff --git a/web-common/src/runtime-client/v2/RuntimeProvider.svelte b/web-common/src/runtime-client/v2/RuntimeProvider.svelte
index 0785882a1cf..1b9d1006f9f 100644
--- a/web-common/src/runtime-client/v2/RuntimeProvider.svelte
+++ b/web-common/src/runtime-client/v2/RuntimeProvider.svelte
@@ -7,7 +7,6 @@
getRuntimeClient,
evictRuntimeClient,
RUNTIME_CONTEXT_KEY,
- runtimeClientStore,
} from "./context";
import type { AuthContext } from "./runtime-client";
@@ -22,7 +21,6 @@
// If host/instanceId change, the parent's {#key} re-mounts us.
const client = getRuntimeClient({ host, instanceId, jwt, authContext });
setContext(RUNTIME_CONTEXT_KEY, client);
- runtimeClientStore.set(client);
featureFlags.setRuntimeClient(client);
// Handle JWT-only changes (15-min refresh, View As with same host)
@@ -34,7 +32,6 @@
onDestroy(() => {
featureFlags.clearRuntimeClient();
- runtimeClientStore.update((c) => (c === client ? null : c));
evictRuntimeClient(client);
client.dispose();
});
diff --git a/web-common/src/runtime-client/v2/context.ts b/web-common/src/runtime-client/v2/context.ts
index 5aae16fa8d6..87a05fa83c8 100644
--- a/web-common/src/runtime-client/v2/context.ts
+++ b/web-common/src/runtime-client/v2/context.ts
@@ -1,5 +1,4 @@
import { getContext } from "svelte";
-import { writable } from "svelte/store";
import { RuntimeClient, type AuthContext } from "./runtime-client";
export const RUNTIME_CONTEXT_KEY = Symbol("runtime-client");
@@ -54,16 +53,6 @@ export function evictRuntimeClient(client: RuntimeClient): void {
}
}
-/**
- * Module-level store that mirrors the active RuntimeClient.
- * Set by RuntimeProvider on mount, cleared on destroy.
- *
- * Used by components that render OUTSIDE RuntimeProvider's subtree
- * (e.g. TopNavigationBar in the root layout) but need reactive
- * access to the current RuntimeClient.
- */
-export const runtimeClientStore = writable
(null);
-
/**
* Returns the RuntimeClient set by the nearest ancestor RuntimeProvider.
* Must be called during component initialization (top-level `