feat(create): show only Fresh Idea and Import Chats project types

Made-with: Cursor
This commit is contained in:
2026-03-09 19:02:25 -07:00
parent 528d6bb1e3
commit e3c6b9a9b4

View File

@@ -7,13 +7,14 @@ interface TypeSelectorProps {
onClose: () => void;
}
const FLOW_TYPES: {
const ALL_FLOW_TYPES: {
id: CreationMode;
icon: string;
label: string;
tagline: string;
desc: string;
accent: string;
hidden?: boolean;
}[] = [
{
id: "fresh",
@@ -38,6 +39,7 @@ const FLOW_TYPES: {
tagline: "Already have a repo",
desc: "Point Atlas at your GitHub or Bitbucket repo. We'll map your stack and show what's missing.",
accent: "#1a3a5c",
hidden: true,
},
{
id: "migration",
@@ -46,9 +48,12 @@ const FLOW_TYPES: {
tagline: "Move an existing product",
desc: "Bring your live product into the VIBN infrastructure. Atlas builds a safe, phased migration plan.",
accent: "#4a2a5a",
hidden: true,
},
];
const FLOW_TYPES = ALL_FLOW_TYPES.filter(t => !t.hidden);
export function TypeSelector({ onSelect, onClose }: TypeSelectorProps) {
return (
<div style={{ padding: "32px 36px 36px" }}>
@@ -80,7 +85,7 @@ export function TypeSelector({ onSelect, onClose }: TypeSelectorProps) {
</div>
{/* Type cards */}
<div style={{ display: "grid", gridTemplateColumns: "1fr 1fr", gap: 10 }}>
<div style={{ display: "grid", gridTemplateColumns: "1fr", gap: 10 }}>
{FLOW_TYPES.map(type => (
<button
key={type.id}