tangled
alpha
login
or
join now
flo-bit.dev
/
blento
21
fork
atom
your personal website on atproto - mirror
blento.app
21
fork
atom
overview
issues
pulls
pipelines
fix event card link
Florian
2 weeks ago
e28faaf6
7f0ef26b
+3
-1
1 changed file
expand all
collapse all
unified
split
src
lib
cards
social
EventCard
EventCard.svelte
+3
-1
src/lib/cards/social/EventCard/EventCard.svelte
···
9
9
import { browser } from '$app/environment';
10
10
import { qrOverlay } from '$lib/components/qr/qrOverlay.svelte';
11
11
import type { Did } from '@atcute/lexicons';
12
12
+
import { page } from '$app/state';
12
13
13
14
let { item }: ContentComponentProps = $props();
14
15
···
92
93
93
94
let eventUrl = $derived(() => {
94
95
if (parsedUri) {
95
95
-
return `/${parsedUri.repo}/events/${parsedUri.rkey}`;
96
96
+
const actorPrefix = page.params.actor ? `/${page.params.actor}` : '';
97
97
+
return `${actorPrefix}/events/${parsedUri.rkey}`;
96
98
}
97
99
return '#';
98
100
});