diff --git a/src/components/ProfilePopover.svelte b/src/components/ProfilePopover.svelte
index 416bfad..7624849 100644
--- a/src/components/ProfilePopover.svelte
+++ b/src/components/ProfilePopover.svelte
@@ -9,6 +9,7 @@
{#if profile}
-
{/if}
diff --git a/src/components/ProfilePopoverContents.svelte b/src/components/ProfilePopoverContents.svelte
index a46e563..cab1ca6 100644
--- a/src/components/ProfilePopoverContents.svelte
+++ b/src/components/ProfilePopoverContents.svelte
@@ -3,12 +3,13 @@
type Props = {
profile: json;
+ pds: string | undefined;
element?: HTMLDivElement | undefined;
onmouseenter?: (event: MouseEvent) => void;
onmouseleave?: (event: MouseEvent) => void;
};
- let { profile, element = $bindable(), onmouseenter, onmouseleave }: Props = $props();
+ let { profile, pds, element = $bindable(), onmouseenter, onmouseleave }: Props = $props();
let displayName = $derived.by(() => {
let name = profile.displayName?.trim();
@@ -47,10 +48,12 @@
{displayName}
-
{handle}
+
{handle}
+ {#if profile.pronouns}• {profile.pronouns}{/if}
+
- {#if profile.pronouns}
-
{profile.pronouns}
+ {#if pds && !pds.endsWith('.bsky.network')}
+
{pds}
{/if}
{#if profile.description}
@@ -105,11 +108,21 @@
}
.handle {
- margin-top: 2px;
+ margin-top: 4px;
color: #666;
font-size: 11pt;
}
+ .pds {
+ display: inline-block;
+ margin-top: 8px;
+ border: 1px solid #aaa;
+ border-radius: 10px;
+ color: #666;
+ font-size: 9pt;
+ padding: 1px 6px 2px;
+ }
+
.main-column p {
margin: 14px 0 0;
color: #333;
@@ -118,9 +131,9 @@
}
.pronouns {
- margin-top: 4px;
color: #9a9a9a;
font-size: 10.5pt;
+ vertical-align: 0.5px;
}
.no-avatar, .muted-avatar {
@@ -142,6 +155,7 @@
}
.handle { color: #aaa; }
+ .pds { color: #999; }
.pronouns { color: #7f7f7f; }
.main-column p { color: #ddd; }
}