initialised repo

This commit is contained in:
2026-02-02 15:58:45 +00:00
commit b060e7f008
46 changed files with 8574 additions and 0 deletions

22
app/(app)/layout.tsx Normal file
View File

@@ -0,0 +1,22 @@
'use client'
import { Sidebar } from '@/components/sidebar'
import { useSearchParams } from 'next/navigation'
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>
)
}