+
+
{community.community.title}
-
-
{new URL(community.community.actor_id).hostname}
- {#if !showCounts}
- •
-
- {/if}
+
+
+ {new URL(community.community.actor_id).hostname}
+
+
+ {#if !showCounts}
+ •
+
+ {/if}
+
@@ -103,10 +112,15 @@
)
}
}}
+ size="custom"
+ title={isSubscribed(community.subscribed)
+ ? $t('cards.community.subscribed')
+ : $t('cards.community.subscribe')}
color={isSubscribed(community.subscribed) ? 'elevatedLow' : 'primary'}
- class={isSubscribed(community.subscribed)
+ class="{isSubscribed(community.subscribed)
? 'text-slate-600 dark:text-zinc-400'
: ''}
+ aspect-square h-8 @md:px-2 @md:min-w-32 @md:aspect-auto"
>
- {#if isSubscribed(community.subscribed)}
- {$t('cards.community.subscribed')}
- {:else}
- {$t('cards.community.subscribe')}
- {/if}
+
+ {#if isSubscribed(community.subscribed)}
+ {$t('cards.community.subscribed')}
+ {:else}
+ {$t('cards.community.subscribe')}
+ {/if}
+
diff --git a/src/routes/communities/+page.svelte b/src/routes/communities/+page.svelte
index ed964fa3..422d3953 100644
--- a/src/routes/communities/+page.svelte
+++ b/src/routes/communities/+page.svelte
@@ -24,8 +24,13 @@
let search = data.query || ''
let instance = ''
+
+ let virtualList: HTMLDivElement
+ let offset: number = 0
+