# Homepage Redesign Implementation Plan > **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. **Goal:** Replace the beta-gated homepage with an open, conversion-focused landing page that drives users directly into the builder. **Architecture:** Two files change. `components/Banner.tsx` gets a one-line suppression for `/`. `app/page.tsx` is fully rewritten as a React Server Component with 8 sections and a page-level metadata export. No new files, no new components, no client state. **Tech Stack:** Next.js 15 App Router, React Server Components, TypeScript, Tailwind CSS, `@heroicons/react/20/solid`, `next/image`, `next/link` --- ## File Map | File | Change | |------|--------| | `components/Banner.tsx` | One-line change — add `|| pathname === "/"` to suppression check | | `app/page.tsx` | Full rewrite — RSC, metadata export, 8-section layout, new copy | --- ## Task 1: Suppress Banner on the Homepage **Files:** - Modify: `components/Banner.tsx:8` Context: `Banner` renders an "Early Access Beta" bar on every non-admin route. The new homepage is no longer beta-gated, so it must not show this bar. - [ ] **Step 1: Edit `components/Banner.tsx`** Change line 8 from: ```tsx if (pathname?.startsWith("/admin")) return null; ``` To: ```tsx if (pathname?.startsWith("/admin") || pathname === "/") return null; ``` - [ ] **Step 2: Verify manually** Run `npm run dev` and open `http://localhost:3000`. Confirm the amber "Early Access Beta" bar is **not** visible. Navigate to `/builder` and confirm the banner **is** visible. - [ ] **Step 3: Commit** ```bash git add components/Banner.tsx git commit -m "feat: suppress Early Access Beta banner on homepage" ``` --- ## Task 2: Rewrite `app/page.tsx` as a React Server Component **Files:** - Modify: `app/page.tsx` (full rewrite) Context: The current file is `"use client"` with a beta signup form. Remove all client state, the form, and the `/api/beta-signup` dependency. Replace with 8 static sections. Add a `metadata` export using `{ absolute: "..." }` to bypass the root layout's `template: "%s — Battl Builders"` pattern. - [ ] **Step 1: Replace `app/page.tsx` with the following content** ```tsx import type { Metadata } from "next"; import Image from "next/image"; import Link from "next/link"; import { WrenchScrewdriverIcon, ShieldExclamationIcon, CurrencyDollarIcon, BookmarkSquareIcon, LinkIcon, LockOpenIcon, } from "@heroicons/react/20/solid"; export const metadata: Metadata = { title: { absolute: "Battl Builders — Free AR-15 Build Planner" }, description: "Pick compatible AR-15 parts, catch mismatches before you order, and compare live prices from real retailers. Free, no account required.", }; export default function HomePage() { return (
{/* Grid background — retained from previous implementation */}
{/* ── 1. Nav ── */} {/* ── 2. Hero ── */}
AR-15 Builder  ·  100% Free

Stop Guessing. Start Building.

Not sure which parts work together? We'll walk you through it. Pick your components, get warned about anything that won't fit, and see real prices from real retailers — all in one place.

Start a Build → 100% Free · No account required
{/* ── 3. How It Works ── */}

THE PROCESS

3 Steps. One Battl-Ready Build.

No experience required. No part numbers to memorize.

{[ { num: "Step 01", title: "Pick your parts", body: "Browse real components organized by what they do — barrel, trigger, lower, upper, and more. No prior knowledge required.", }, { num: "Step 02", title: "Flag the conflicts", body: "Gas length, buffer weight, caliber — Battl catches the mismatches before you spend money on the wrong part.", }, { num: "Step 03", title: "Price it. Pull the trigger.", body: "Live prices from real retailers, side by side. Click through to buy. We never touch your order.", }, ].map((step) => (

{step.num}

{step.title}

{step.body}

))}
{/* ── 4. Builder Preview Video ── */}
{/* ── 5. Feature Cards ── */}

WHAT YOU GET

Built by gun nerds, for the everyday AR builder.

NO SUBSCRIPTIONS · NO SPONSORED RANKINGS · NO BULLSHIT

{( [ { Icon: WrenchScrewdriverIcon, title: "Build by role, not part number", body: "Parts organized by function. Know what you need, not what SKU to search for.", }, { Icon: ShieldExclamationIcon, title: "Conflicts caught early", body: "Gas system, buffer weight, caliber — flagged before checkout, not after the box arrives.", }, { Icon: CurrencyDollarIcon, title: "Real prices. Real retailers.", body: "Running total with live prices. No estimated MSRP. What it actually costs, today.", }, { Icon: BookmarkSquareIcon, title: "Save your work", body: "Free account. Save builds, pick up where you left off, run multiple configs in parallel.", }, { Icon: LinkIcon, title: "Share the build", body: "One link. Your buddy sees the full parts list — no login, no friction, no excuses.", }, { Icon: LockOpenIcon, title: "No gates. No friction.", body: "Browse and build freely. Create an account only when you're ready to save.", }, ] as const ).map(({ Icon, title, body }) => (
))}
{/* ── 6. SEO Copy Block ── */}

What is Battl Builders?

Battl Builders is a free{" "} AR-15 build planner {" "} — the tool you've been doing in spreadsheets, rebuilt for how builders actually work. Select parts by what they do, validate compatibility as you go, and price your build across multiple retailers without opening a new tab.

Most{" "} AR-15 compatibility mistakes {" "} happen at the parts list stage: wrong gas system length for the barrel, buffer weight that fights your stock, caliber mismatches between upper and lower. Battl flags those conflicts automatically, so you catch them before they cost you a return label.

Whether you're planning your first rifle or spec'ing a dedicated precision upper, Battl Builders gives you a structured, guided way to research parts and{" "} buy with confidence .

{/* ── 7. Final CTA ── */}

Your build starts here.

Free. No account required. Takes five minutes to get rolling.

Start a Build →
{/* ── 8. Footer ── */}
); } ``` - [ ] **Step 2: Verify the build compiles** ```bash npm run build ``` Expected: no TypeScript or Next.js errors related to `app/page.tsx`. (TS errors and ESLint are suppressed in this project per `next.config.mjs`, but the file should still render without runtime errors.) - [ ] **Step 3: Verify manually in the dev server** Run `npm run dev` and open `http://localhost:3000`. Check all 8 sections are visible: - Nav: logo left, "Sign In" (ghost) + "Start a Build" (amber) right - Hero: badge pill, H1 with amber "Start Building.", subhead, amber CTA button, micro-copy - How It Works: 3-step flush grid (Step 01–03) - Video: rounded container playing `builder-preview.mp4` (or showing poster) - Feature Cards: 6-card 3-col flush grid with Heroicons - SEO Copy: left-aligned prose with bold keyword terms - Final CTA: "Your build starts here." with amber button - Footer: copyright left, "Free AR-15 build planner" right (no version string) Also verify: - No "Early Access Beta" banner visible on homepage - Page `` is "Battl Builders — Free AR-15 Build Planner" (not double-suffixed) - Both CTA buttons link to `/builder` - "Sign In" links to `/login` - [ ] **Step 4: Commit** ```bash git add app/page.tsx git commit -m "feat: redesign homepage — RSC, 8 sections, remove beta form" ```