aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)')
-rw-r--r--src/routes/(app)/[username]/(profile)/followers/+page.svelte6
-rw-r--r--src/routes/(app)/[username]/(profile)/follows/+page.svelte8
2 files changed, 10 insertions, 4 deletions
diff --git a/src/routes/(app)/[username]/(profile)/followers/+page.svelte b/src/routes/(app)/[username]/(profile)/followers/+page.svelte
index 185c37f6..eebc11f3 100644
--- a/src/routes/(app)/[username]/(profile)/followers/+page.svelte
+++ b/src/routes/(app)/[username]/(profile)/followers/+page.svelte
@@ -14,11 +14,13 @@
<svelte:window bind:innerWidth={w} />
<div class="mt-24 mb-20 px-3 md:px-0 w-full md:w-[400px] mx-auto space-y-8">
+ <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">Followers</h1>
+
{#if browser}
{#if followers.length}
<VirtualScroll data={followers} key="pubkey" let:data pageMode={true}>
- <a href={`/${data.username}`}>
- <div class="flex border-b py-4 text-sm lg:text-lg text-secondary" :key={data.pubkey}>
+ <a href={`/${data.pubkey}`}>
+ <div class="flex border-b last:border-b-0 py-4 text-sm lg:text-lg text-secondary" :key={data.pubkey}>
<div class="mb-auto mr-2">
<div class="md:hidden">
<Avatar size={12} user={data} disabled={true} />
diff --git a/src/routes/(app)/[username]/(profile)/follows/+page.svelte b/src/routes/(app)/[username]/(profile)/follows/+page.svelte
index bb40c4c7..93fc4aab 100644
--- a/src/routes/(app)/[username]/(profile)/follows/+page.svelte
+++ b/src/routes/(app)/[username]/(profile)/follows/+page.svelte
@@ -13,11 +13,15 @@
<svelte:window bind:innerWidth={w} />
<div class="mt-24 mb-20 px-3 md:px-0 w-full md:w-[400px] mx-auto space-y-8">
+ <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">
+ Follows
+ </h1>
+
{#if browser}
{#if follows.length}
<VirtualScroll data={follows} key="pubkey" let:data pageMode={true}>
- <a href={`/${data.username}`}>
- <div class="flex border-b py-4 text-sm lg:text-lg text-secondary" :key={data.pubkey}>
+ <a href={`/${data.pubkey}`}>
+ <div class="flex py-4 text-sm lg:text-lg text-secondary" :key={data.pubkey}>
<div class="mb-auto mr-2">
<div class="md:hidden">
<Avatar size={12} user={data} disabled={true} />