design: change weird profile overlap to a list
This commit is contained in:
1 parent
6c6a3e3e72
commit
1834b90375
5 files changed
+88
-49
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { fullCommunityName } from "$lib/util";
|
||||
import type { Community, Person } from "lemmy-js-client";
|
||||
|
||||
export const communityLink = (community: Community, prefix: string = '') =>
|
||||
`${prefix}/c/${fullCommunityName(community.name, community.actor_id)}`
|
||||
|
||||
export const userLink = (person: Person, prefix: string = '') =>
|
||||
`${prefix}/c/${person.name}@${new URL(person.actor_id).hostname}`
|
||||
Reference in new issue
Block a user