From f94490aa6aea3313ccd30e9094101f9572878d59 Mon Sep 17 00:00:00 2001 From: Vivek R <123vivekr@gmail.com> Date: Sun, 6 Jul 2025 14:12:05 +0530 Subject: [PATCH] refactor: convert project list to responsive grid layout - Change from vertical list to responsive grid (1/2/3 columns) - Update project page container from centered to full-width - Improve card layout with better vertical spacing - Simplify session count and file indicators - Ensure cards have consistent height in grid --- src/App.tsx | 12 ++--- src/components/ProjectList.tsx | 80 ++++++++++++++++++---------------- 2 files changed, 48 insertions(+), 44 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 5f9629c..48a4600 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -282,8 +282,8 @@ function App() { case "projects": return ( -
-
+
+
{/* Header with back button */} ← Back to Home -
+

CC Projects

Browse your Claude Code sessions @@ -312,7 +312,7 @@ function App() { {error} @@ -350,18 +350,18 @@ function App() { animate={{ opacity: 1, x: 0 }} exit={{ opacity: 0, x: 20 }} transition={{ duration: 0.3 }} - className="space-y-4" > {/* New session button at the top */} - - - { - e.stopPropagation(); - onProjectSettings(project); - }} - > - - Hooks - - - - )} - + +

+ {onProjectSettings && ( + + e.stopPropagation()}> + + + + { + e.stopPropagation(); + onProjectSettings(project); + }} + > + + Hooks + + + + )} + +