diff --git a/src/app/components/HomeActivity.svelte b/src/app/components/HomeActivity.svelte index 825ee8a5..e8eb64f8 100644 --- a/src/app/components/HomeActivity.svelte +++ b/src/app/components/HomeActivity.svelte @@ -8,13 +8,12 @@ import {displayContentCount} from "@app/content" import {inboxSpaceContent} from "@app/inbox" import {makeSpacePath} from "@app/routes" - - const {class: className = ""}: {class?: string} = $props() {#if $inboxSpaceContent.length > 0} - -
+ +
{#each $inboxSpaceContent as { url, timestamp, countsByKind } (url)} 0} -
+
{#each conversations as conversation (conversation.path)} {/each}
{:else} -
+

You're all caught up

The rooms, space chats and direct messages you belong to show what's unread here. diff --git a/src/app/components/HomeInboxItemCard.svelte b/src/app/components/HomeInboxItemCard.svelte index 8e4ce216..d75ec4f2 100644 --- a/src/app/components/HomeInboxItemCard.svelte +++ b/src/app/components/HomeInboxItemCard.svelte @@ -28,13 +28,16 @@ {@render subtitle()}

- - {#if event.pubkey === $user.pubkey} - You: - {:else} - : - {/if} - +
+ + {#if event.pubkey === $user.pubkey} + You + {:else} + + {/if} + + : +
diff --git a/src/app/components/HomeNetwork.svelte b/src/app/components/HomeNetwork.svelte index e046ddd7..b0f3a862 100644 --- a/src/app/components/HomeNetwork.svelte +++ b/src/app/components/HomeNetwork.svelte @@ -84,7 +84,7 @@ -
+
{#if isEmpty}

Follow a few people to fill this out

diff --git a/src/app/components/HomeSection.svelte b/src/app/components/HomeSection.svelte index 73b7c653..a89fa602 100644 --- a/src/app/components/HomeSection.svelte +++ b/src/app/components/HomeSection.svelte @@ -13,9 +13,10 @@ const {title, icon, action, children, class: className = ""}: Props = $props() -
-
-

+
+
+

{title}

diff --git a/src/lib/components/base.css b/src/lib/components/base.css index 89d496c1..9aed69d1 100644 --- a/src/lib/components/base.css +++ b/src/lib/components/base.css @@ -105,30 +105,6 @@ content-visibility: auto; contain-intrinsic-size: auto 16rem; } -/* Carries a bottom border out past the element's own box, so a centered column can still rule the - page from edge to edge. The pseudo-elements inherit that border, so an element without one draws - nothing; --rule-bleed-l and --rule-bleed-r turn off the side that faces a neighbor. */ -@utility rule-bleed { - position: relative; - - &::before, - &::after { - content: ""; - position: absolute; - bottom: calc(-1 * var(--border-thin)); - border-bottom: inherit; - } - - &::before { - right: 100%; - width: var(--rule-bleed-l, 100vw); - } - - &::after { - left: 100%; - width: var(--rule-bleed-r, 100vw); - } -} /* The wash is an inset shadow because a row's hover rule sets a background that would cover it. */ @utility highlight-target { box-shadow: diff --git a/src/routes/home/+page.svelte b/src/routes/home/+page.svelte index 852d1c85..2a9fbfc8 100644 --- a/src/routes/home/+page.svelte +++ b/src/routes/home/+page.svelte @@ -5,7 +5,6 @@ import Icon from "@lib/components/Icon.svelte" import Link from "@lib/components/Link.svelte" import Page from "@lib/components/Page.svelte" - import PageBar from "@lib/components/PageBar.svelte" import PageContent from "@lib/components/PageContent.svelte" import ScrollToTop from "@lib/components/ScrollToTop.svelte" import HomeInbox from "@app/components/HomeInbox.svelte" @@ -28,37 +27,32 @@ - -
-
- - Home + +
+
+

+ + Home +

+ + + Browse spaces +
- - - Browse spaces - -
- - - -
- -
- - - -
-
- - {#if HOSTING_ENABLED} - - {/if} +
+ +
+ + + +
+
+ + {#if HOSTING_ENABLED} + + {/if} +