-
+
{displayRelayUrl(url)}
diff --git a/src/app/components/SpaceCreate.svelte b/src/app/components/SpaceCreate.svelte
index 4e63f09..a01dcfd 100644
--- a/src/app/components/SpaceCreate.svelte
+++ b/src/app/components/SpaceCreate.svelte
@@ -36,7 +36,7 @@
Relay
diff --git a/src/assets/icons/Server.svg b/src/assets/icons/Server.svg
new file mode 100644
index 0000000..3e02848
--- /dev/null
+++ b/src/assets/icons/Server.svg
@@ -0,0 +1,8 @@
+
diff --git a/src/lib/components/Icon.svelte b/src/lib/components/Icon.svelte
index e01cd77..92a95d7 100644
--- a/src/lib/components/Icon.svelte
+++ b/src/lib/components/Icon.svelte
@@ -61,6 +61,7 @@
import Plain from "@assets/icons/Plain.svg?dataurl"
import RemoteControllerMinimalistic from "@assets/icons/Remote Controller Minimalistic.svg?dataurl"
import Reply from "@assets/icons/Reply.svg?dataurl"
+ import Server from "@assets/icons/Server.svg?dataurl"
import Settings from "@assets/icons/Settings.svg?dataurl"
import TagHorizontal from "@assets/icons/Tag Horizontal.svg?dataurl"
import ShareCircle from "@assets/icons/Share Circle.svg?dataurl"
@@ -138,6 +139,7 @@
"share-circle": ShareCircle,
"shop-minimalistic": ShopMinimalistic,
"smile-circle": SmileCircle,
+ server: Server,
settings: Settings,
"tag-horizontal": TagHorizontal,
"trash-bin-2": TrashBin2,
diff --git a/src/lib/components/PrimaryNavItem.svelte b/src/lib/components/PrimaryNavItem.svelte
index 18a3eff..0e09348 100644
--- a/src/lib/components/PrimaryNavItem.svelte
+++ b/src/lib/components/PrimaryNavItem.svelte
@@ -4,10 +4,11 @@
export let title = ""
export let href = ""
+ export let noActive = false
$: itemSegment = href.split("/")[1]
$: currentSegment = $page.route?.id?.split("/")[1]
- $: active = itemSegment === currentSegment
+ $: active = itemSegment === currentSegment && !noActive
{#if href}
diff --git a/src/routes/settings/+layout.svelte b/src/routes/settings/+layout.svelte
index 4b61647..4d179a0 100644
--- a/src/routes/settings/+layout.svelte
+++ b/src/routes/settings/+layout.svelte
@@ -20,7 +20,7 @@
diff --git a/src/routes/settings/profile/+page.svelte b/src/routes/settings/profile/+page.svelte
index ae866f1..d561f6b 100644
--- a/src/routes/settings/profile/+page.svelte
+++ b/src/routes/settings/profile/+page.svelte
@@ -113,7 +113,7 @@
Nostr Address
diff --git a/src/routes/spaces/[nrelay]/+layout.svelte b/src/routes/spaces/[nrelay]/+layout.svelte
index 275fdaf..da45950 100644
--- a/src/routes/spaces/[nrelay]/+layout.svelte
+++ b/src/routes/spaces/[nrelay]/+layout.svelte
@@ -5,6 +5,7 @@
import {fly, slide} from "@lib/transition"
import Icon from "@lib/components/Icon.svelte"
import Page from "@lib/components/Page.svelte"
+ import Delay from "@lib/components/Delay.svelte"
import Button from "@lib/components/Button.svelte"
import Popover from "@lib/components/Popover.svelte"
import SecondaryNav from "@lib/components/SecondaryNav.svelte"
@@ -71,102 +72,106 @@
{#key url}
-
-
-
-
- {displayRelayUrl(url)}
-
-
- {#if showMenu}
-
-
- -
-
-
- -
- {#if getMembershipUrls($userMembership).includes(url)}
-
- {:else}
-
-
-
-
- Chat
-
-
-
-
- Threads
-
-
-
-
- Calendar
-
-
- {#if rooms.length > 0}
-
- {/if}
- {#each rooms as room, i (room)}
-
-
-
- {room}
+ {#each rooms as room, i (room)}
+
+
+
+ {room}
+
+
+ {/each}
+ {#if otherRooms.length > 0}
+
+
+
+ {#if rooms.length > 0}
+ Other Rooms
+ {:else}
+ Rooms
+ {/if}
+
+
+ {/if}
+ {#each otherRooms as room, i (room)}
+
+
+
+ {room}
+
+
+ {/each}
+
+
+
+ Create room
- {/each}
- {#if otherRooms.length > 0}
-
-
-
- {#if rooms.length > 0}
- Other Rooms
- {:else}
- Rooms
- {/if}
-
-
- {/if}
- {#each otherRooms as room, i (room)}
-
-
-
- {room}
-
-
- {/each}
-
-
-
- Create room
-
-
-
-
-
- {#key $page.params.room}
-
- {/key}
-
+
+
+
+ {#key $page.params.room}
+
+ {/key}
+
+
{/key}