diff --git a/app/new/page.tsx b/app/new/page.tsx index a6a814f..7ce1af0 100644 --- a/app/new/page.tsx +++ b/app/new/page.tsx @@ -4,15 +4,14 @@ import { useMemo, useState } from "react" import { Button } from "@/components/ui/button" import { InstructionsWizard } from "@/components/instructions-wizard" +import { AnimatedBackground } from "@/components/AnimatedBackground" import { getHomeMainClasses } from "@/lib/utils" -import { getFormatLabel } from "@/lib/wizard-utils" import { ANALYTICS_EVENTS } from "@/lib/analytics-events" import { track } from "@/lib/mixpanel" import type { FileOutputConfig } from "@/types/wizard" import { Github } from "lucide-react" import Link from "next/link" -import Logo from "@/components/Logo" import filesData from "@/data/files.json" export default function NewInstructionsPage() { @@ -38,86 +37,81 @@ export default function NewInstructionsPage() { } return ( -
- {/* Top utility bar */} -
- - - -
- - {/* Hero Section */} -
- {showWizard && selectedFileId ? ( - - ) : ( - <> -
- {/* Logo/Title */} - - - {/* Headline */} -

- Assemble Tailored AI Coding Playbooks With a Guided Wizard -

- - {/* Subheadline */} -

- Move from curated best practices to sharable files like Copilot instructions, Cursor rules, and agents.md playbooks in just a few guided steps. -

+
+ +
+ {/* Top utility bar */} +
+ {!showWizard ? ( + <> + + DevContext + + + + + + ) : ( + + + + )} +
-

- Use the wizard to generate Copilot instruction files, agents files, comprehensive instruction sets, and Cursor rules without starting from a blank page. -

+ {/* Hero Section */} +
+ {showWizard && selectedFileId ? ( + + ) : ( + <> +
+
+

Start a new instructions project

+

+ Choose the file preset that matches what you need. The wizard will open with targeted questions and save progress as you go. +

+
+
    +
  • Pick a preset to load framework, architecture, and workflow prompts.
  • +
  • Answer or skip questions — you can revisit any step before exporting.
  • +
  • Download the generated file once every section shows as complete.
  • +
+
+
- {/* File type CTAs */} -
-
- {fileOptions.map((file) => { - const formatLabel = getFormatLabel(file.format) - return ( - - ) - })} + + ) + })} +
-
- - )} -
- + + )} + +
) } diff --git a/app/page.tsx b/app/page.tsx index 7c99617..be0d541 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -10,10 +10,7 @@ export default function LandingPage() {
-
- - DevContext - +
) diff --git a/components/AnimatedBackground.tsx b/components/AnimatedBackground.tsx index d2f12dd..c7983d8 100644 --- a/components/AnimatedBackground.tsx +++ b/components/AnimatedBackground.tsx @@ -23,7 +23,6 @@ export function AnimatedBackground() { animate={{ opacity: [0.5, 0.85, 0.65], rotate: [0, 2, -1, 0] }} transition={{ duration: 18, repeat: Infinity, ease: "easeInOut" }} /> - + +
+ +
+