fix: Show industry presets on project selector page
Presets were only visible after entering a project. Now they appear on the /sdk landing page where users first see their project list. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,7 @@ import type { ProjectInfo } from '@/lib/sdk/types'
|
||||
import { CreateProjectDialog, normalizeProject } from './CreateProjectDialog'
|
||||
import { ProjectActionDialog } from './ProjectActionDialog'
|
||||
import { ProjectCard } from './ProjectCard'
|
||||
import { PresetSection } from '@/app/sdk/_components/PresetSection'
|
||||
|
||||
export function ProjectSelector() {
|
||||
const router = useRouter()
|
||||
@@ -152,6 +153,9 @@ export function ProjectSelector() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Industry Presets — quick-start for new projects */}
|
||||
{!loading && <PresetSection />}
|
||||
|
||||
{/* Archived Projects Section */}
|
||||
{!loading && archivedProjects.length > 0 && (
|
||||
<div className="mt-8">
|
||||
|
||||
Reference in New Issue
Block a user