misc: Upddate communities page
This commit is contained in:
1 parent
5f4c32fe2c
commit
29b96ee04e
2 files changed
+5
-17
No files matched your search
@@ -103,16 +103,6 @@
|
|||||||
loading="lazy"
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{:else if postRes.post.embed_video_url}
|
|
||||||
<div class="self-start" class:blur-3xl={postRes.post.nsfw}>
|
|
||||||
<!-- svelte-ignore a11y-media-has-caption -->
|
|
||||||
{#if postRes.post.embed_video_url}
|
|
||||||
<embed
|
|
||||||
class="rounded-md max-h-[32rem] w-full max-w-full"
|
|
||||||
src={youtubeToPiped(postRes.post.embed_video_url)}
|
|
||||||
/>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
{:else if postRes.post.thumbnail_url}
|
{:else if postRes.post.thumbnail_url}
|
||||||
<div class="self-start" class:blur-3xl={postRes.post.nsfw}>
|
<div class="self-start" class:blur-3xl={postRes.post.nsfw}>
|
||||||
<img
|
<img
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
<span
|
<span
|
||||||
class="break-words max-w-full w-max text-base font-bold text-sky-400 hover:underline"
|
class="break-words max-w-full w-max text-base font-bold text-sky-400 hover:underline"
|
||||||
>
|
>
|
||||||
<CommunityLink community={community.community} />
|
<CommunityLink avatar community={community.community} />
|
||||||
</span>
|
</span>
|
||||||
<div class="w-24">
|
<div class="w-24">
|
||||||
<Subscribe {community} let:subscribe let:subscribing>
|
<Subscribe {community} let:subscribe let:subscribing>
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
}}
|
}}
|
||||||
color={community.subscribed == 'Subscribed'
|
color={community.subscribed == 'Subscribed'
|
||||||
? Color.accent
|
? Color.accent
|
||||||
: Color.secondary}
|
: Color.ghost}
|
||||||
>
|
>
|
||||||
{community.subscribed == 'Subscribed'
|
{community.subscribed == 'Subscribed'
|
||||||
? 'Subscribed'
|
? 'Subscribed'
|
||||||
@@ -89,11 +89,9 @@
|
|||||||
</Subscribe>
|
</Subscribe>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{#if !community.community.local}
|
<span class="opacity-80 mb-2">
|
||||||
<span class="opacity-80 mb-2">
|
{new URL(community.community.actor_id).hostname}
|
||||||
{new URL(community.community.actor_id).hostname}
|
</span>
|
||||||
</span>
|
|
||||||
{/if}
|
|
||||||
<div class="flex flex-row gap-3 items-center">
|
<div class="flex flex-row gap-3 items-center">
|
||||||
<div class="flex flex-row gap-1 items-center">
|
<div class="flex flex-row gap-1 items-center">
|
||||||
<Icon src={UserGroup} width={16} mini />
|
<Icon src={UserGroup} width={16} mini />
|
||||||
|
|||||||
Reference in new issue
Block a user