From dd4a51a57f481160ed89a80d1dc8fee84bb57651 Mon Sep 17 00:00:00 2001 From: ananducv Date: Sun, 29 Jun 2025 13:33:42 +0530 Subject: [PATCH] Update sidebar and landing page UI elements Improves the sidebar layout by making it fully columnar, adds a persistent sign out button at the bottom of the sidebar, and adjusts the sign out button visibility for desktop. Also replaces the logo in the landing page header with an emoji-based SVG for a more distinctive appearance. --- src/pages/Index.tsx | 18 ++++++++++++++---- src/pages/Landing.tsx | 4 +--- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 93a51d5..a651d41 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -84,11 +84,11 @@ const Index = () => { - + Categories -
+
{categories.map((category) => { const Icon = getCategoryIcon(category); const categoryCount = category === "All" ? people.length : people.filter(p => p.category === category).length; @@ -115,6 +115,16 @@ const Index = () => { ); })}
+
+ +
@@ -134,10 +144,10 @@ const Index = () => { onClick={handleSignOut} variant="outline" size="sm" - className="flex items-center gap-2" + className="hidden md:flex items-center gap-2" > - Sign Out + Sign Out diff --git a/src/pages/Landing.tsx b/src/pages/Landing.tsx index 1c470c3..f84f659 100644 --- a/src/pages/Landing.tsx +++ b/src/pages/Landing.tsx @@ -23,9 +23,7 @@ const Landing = () => {