From bf7fbdcb671eff550a6ee78196751fbe4f5d5b17 Mon Sep 17 00:00:00 2001 From: ari Date: Sun, 20 Apr 2025 04:47:55 -0400 Subject: [PATCH] More links to front --- src/lib/AccountComponent.svelte | 16 +++++++++++----- src/lib/PostComponent.svelte | 15 ++++++++++++--- src/lib/pdsfetch.ts | 2 ++ 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/src/lib/AccountComponent.svelte b/src/lib/AccountComponent.svelte index cee7fc7..4c987c8 100644 --- a/src/lib/AccountComponent.svelte +++ b/src/lib/AccountComponent.svelte @@ -3,7 +3,9 @@ const { account }: { account: AccountMetadata } = $props(); import { Config } from "../../config"; -
+ + +
{#if account.avatarCid} {/if} -
{account.displayName || account.did}
-
+
+ {account.displayName || account.handle || account.did} +
+
+ + \ No newline at end of file + diff --git a/src/lib/PostComponent.svelte b/src/lib/PostComponent.svelte index 3af49c0..f077582 100644 --- a/src/lib/PostComponent.svelte +++ b/src/lib/PostComponent.svelte @@ -1,6 +1,6 @@ @@ -13,10 +13,17 @@ alt="avatar of {post.displayName}" /> {/if} -
{post.displayName} | {post.authorHandle} | {post.timenotstamp}
+
+ {post.displayName} ( {post.authorHandle} ) + | + {post.timenotstamp} +
-

{post.text}

{#if post.replyingUri} replying to {post.replyingUri.repo} {/if} +

{post.text}

+ {#if post.quotingUri}