From f617f54334e1f9bbf01dd5c65d8f40c08b485833 Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Tue, 3 Oct 2023 18:01:32 -0700 Subject: [PATCH] feat: new centered layout --- package.json | 2 +- src/lib/components/lemmy/post/PostFeed.svelte | 2 +- src/lib/components/ui/ExpandableImage.svelte | 2 +- src/lib/components/ui/Navbar.svelte | 6 +- src/lib/components/ui/StickyCard.svelte | 4 +- src/lib/components/ui/layout/Shell.svelte | 79 ++++++++++++++++++- .../ui/sidebar/CommunityList.svelte | 12 ++- src/lib/components/ui/sidebar/Sidebar.svelte | 39 +++++---- src/routes/+layout.svelte | 76 +++++++++++------- src/routes/+page.svelte | 4 +- src/routes/c/[name]/+page.svelte | 23 +++--- 11 files changed, 179 insertions(+), 70 deletions(-) diff --git a/package.json b/package.json index aa930fbc..aea89177 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "photon-lemmy", - "version": "1.15.3", + "version": "1.16.0", "private": true, "scripts": { "dev": "vite dev", diff --git a/src/lib/components/lemmy/post/PostFeed.svelte b/src/lib/components/lemmy/post/PostFeed.svelte index 554df958..fcb7dd15 100644 --- a/src/lib/components/lemmy/post/PostFeed.svelte +++ b/src/lib/components/lemmy/post/PostFeed.svelte @@ -14,7 +14,7 @@
{#if posts.length == 0} diff --git a/src/lib/components/ui/ExpandableImage.svelte b/src/lib/components/ui/ExpandableImage.svelte index c4a645ee..eb4ebd7b 100644 --- a/src/lib/components/ui/ExpandableImage.svelte +++ b/src/lib/components/ui/ExpandableImage.svelte @@ -24,7 +24,7 @@
(open = false)} diff --git a/src/lib/components/ui/Navbar.svelte b/src/lib/components/ui/Navbar.svelte index 2463da1d..529a59c5 100644 --- a/src/lib/components/ui/Navbar.svelte +++ b/src/lib/components/ui/Navbar.svelte @@ -46,9 +46,11 @@