diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index b570be8..604318d 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -592,6 +592,7 @@ export default function App() { content = ( void api.addProject()} onNewScratchpad={() => handleCreateScratchpad()} onOpenSettings={() => setShowSettings(true)} diff --git a/src/renderer/components/WelcomePane.tsx b/src/renderer/components/WelcomePane.tsx index 8e7ece7..9367615 100644 --- a/src/renderer/components/WelcomePane.tsx +++ b/src/renderer/components/WelcomePane.tsx @@ -1,10 +1,12 @@ -import { FolderPlus, MessageSquarePlus, Settings } from 'lucide-react'; +import { CheckCircle2, Circle, FolderPlus, MessageSquarePlus, Settings, Zap } from 'lucide-react'; import { motion } from 'motion/react'; +import type { SidecarConnectionStatus } from '@shared/contracts/sidecar'; import appIconUrl from '../../../assets/icons/icon.png'; interface WelcomePaneProps { hasProjects: boolean; + connectionStatus?: SidecarConnectionStatus; onNewScratchpad: () => void; onAddProject: () => void; onOpenSettings: () => void; @@ -22,14 +24,19 @@ interface ActionCardProps { title: string; description: string; onClick: () => void; + highlight?: boolean; } -function ActionCard({ icon, title, description, onClick }: ActionCardProps) { +function ActionCard({ icon, title, description, onClick, highlight }: ActionCardProps) { return (