feat: Implement core application structure with new dashboard, settings, and help pages, and enhance opportunities management with persistence and filtering.

This commit is contained in:
2026-02-03 20:05:30 +00:00
parent 609b9da020
commit 885bbbf954
21 changed files with 1282 additions and 106 deletions

View File

@@ -1,22 +1,27 @@
'use client'
import { Sidebar } from '@/components/sidebar'
import { useSearchParams } from 'next/navigation'
import { AppSidebar } from "@/components/app-sidebar"
import {
SidebarInset,
SidebarProvider,
} from "@/components/ui/sidebar"
import { ProjectProvider } from "@/components/project-context"
export default function AppLayout({
children,
}: {
children: React.ReactNode
}) {
const searchParams = useSearchParams()
const productName = searchParams.get('product') || undefined
return (
<div className="flex h-screen bg-background">
<Sidebar productName={productName} />
<main className="flex-1 overflow-auto">
{children}
</main>
</div>
<SidebarProvider>
<ProjectProvider>
<AppSidebar />
<SidebarInset>
<div className="flex min-h-svh flex-1 flex-col bg-background">
{children}
</div>
</SidebarInset>
</ProjectProvider>
</SidebarProvider>
)
}