{#if currentPageID && currentPage} {#if ServerID.is(currentPageID)} {@const server = (currentPage as Server)} {server!.name}

{server!.name}

{:else if UserID.is(currentPageID)} {@const friend = (currentPage as User)} {friend!.name}

{friend!.name} [{friend.status == Status.ONLINE ? "Online!" : friend.status == Status.DND ? "DND" : friend.status == Status.OFFLINE ? "Offline" : "Unknown"}]

{:else if GroupID.is(currentPageID)} {@const group = (currentPage as Group)}

{group!.name} ({group.members} member{group.members > 1 ? "s" : ""})

{/if} {/if}

this is like lowkirkounely the content, i should put messages and shi here