Skip to content

Commit ee2f2d1

Browse files
committed
feat: simplify StackSummaryPage layout by removing redundant header section
1 parent e35edfb commit ee2f2d1

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

app/new/stack/stack-summary-page.tsx

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -367,36 +367,18 @@ export function StackSummaryPage({ stackId, mode }: StackSummaryPageProps) {
367367
</div>
368368
</section>
369369

370-
<div className="rounded-3xl border border-border/80 bg-card/95 p-8 shadow-lg">
371-
<div className="flex flex-col gap-4 md:flex-row md:items-center md:justify-between">
372-
<div className="space-y-2">
373-
<h1 className="text-3xl font-semibold text-foreground">{summaryHeader} instructions overview</h1>
374-
<p className="text-sm text-muted-foreground">
375-
Share this page to sync on conventions, or jump back into the wizard to fine-tune answers.
376-
</p>
377-
</div>
378-
<div className="flex flex-wrap gap-2">
379-
<Button asChild variant="outline">
380-
<Link href={`/new/stack/${stackId}`}>
381-
Choose different options
382-
</Link>
383-
</Button>
384-
</div>
385-
</div>
386-
{autoFillNotice ? (
387-
<div className="mt-6 rounded-2xl border border-primary/30 bg-primary/10 p-4 text-sm font-medium text-primary">
388-
{autoFillNotice}
389-
</div>
390-
) : null}
391-
</div>
392-
393370
<section className="space-y-4 rounded-3xl border border-border/80 bg-card/95 p-8 shadow-lg">
394371
<div className="space-y-2">
395372
<h2 className="text-2xl font-semibold text-foreground">Selections in this summary</h2>
396373
<p className="text-sm text-muted-foreground">
397374
Reopen any question from the wizard to change these selections.
398375
</p>
399376
</div>
377+
{autoFillNotice ? (
378+
<div className="rounded-2xl border border-primary/30 bg-primary/10 p-4 text-sm font-medium text-primary">
379+
{autoFillNotice}
380+
</div>
381+
) : null}
400382
<div className="space-y-3">
401383
{summaryEntries.map((entry) => (
402384
<div

0 commit comments

Comments
 (0)