From 46ad2fe72bc369f61de6555cec7db2cffe06050c Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Mon, 10 Jul 2023 19:41:05 -0700 Subject: [PATCH] feat: Add community sidebar in mobile view --- .../components/community/CommunityCard.svelte | 1 + src/lib/components/ui/StickyCard.svelte | 2 +- src/routes/+page.svelte | 58 +++++++------- src/routes/c/[name]/+page.svelte | 76 ++++++++++++------- 4 files changed, 79 insertions(+), 58 deletions(-) diff --git a/src/lib/components/community/CommunityCard.svelte b/src/lib/components/community/CommunityCard.svelte index 7a4d4837..c430102f 100644 --- a/src/lib/components/community/CommunityCard.svelte +++ b/src/lib/components/community/CommunityCard.svelte @@ -1,6 +1,7 @@ @@ -15,7 +16,22 @@ {data.posts.posts[0]?.community.name} -
+
+
+ {#await data.streamed.community then community} +
+ +
+ Sidebar +
+
+ +
+ {/await} +
- {#await data.streamed.community} - -