Skip to main content

Pricing & Contact Pages

Public pages that give prospective users full pricing transparency before they sign up.

Overview​

Two new public routes were added in Week 3:

RouteFileType
/pricingapp/pricing/page.tsx'use client'
/contactapp/contact/page.tsxServer component

Neither route requires authentication. Authenticated users are not redirected away — they can visit these pages at any time.


/pricing​

A standalone pricing page that mirrors the landing page header/footer pattern.

Structure​

Header (logo · ThemeToggle · Pricing [active] · Sign In · Get Started)
└── PricingSection ← shared component from components/marketing/
└── FAQ section ← native <details>/<summary> elements
Footer

Billing toggle​

A pill-style toggle lets visitors switch between monthly and annual billing. Annual prices are 20 % lower and a green −20 % badge is shown on the toggle button.

const [billing, setBilling] = useState<'monthly' | 'annual'>('monthly');

When billing === 'annual', each card shows the annual unit price with a "billed annually" sub-label beneath.

Plan grid — "all capabilities included, priced by estate size"​

Four plans in a sm:grid-cols-2 lg:grid-cols-4 responsive grid. The cards only show what actually varies by plan — vendors + seats are enforced by config/stripe.ts PLAN_LIMITS (Stripe-wired); support + onboarding are the ops differences. There are no per-tier feature gates, because the product doesn't enforce any beyond vendors/seats — faking them on the page would be incoherent (see the coherence rationale in Unit Economics).

PlanMonthlyAnnualVendorsMembersSupportOnboarding
Starter€199/mo€159/moUp to 103Email20-day trial
Professional€499/mo€399/moUp to 5010Priority email20-day trial
Business€999/mo€799/moUp to 15030Slack + SLA20-day trial
EnterpriseCustomCustomUnlimitedUnlimitedDedicated CSMGuided POC
  • Professional is highlighted: ring-2 ring-primary border + "Most Popular" badge.
  • Each card fades up with framer-motion whileInView, staggered by index × 0.1 s.
  • CTA buttons: default variant on highlighted card, outline on others.
  • Enterprise CTA → /contact; all others → /register.

"Included on every plan" block​

Below the grid, a full-width panel lists the capabilities included on all plans — each verified to actually ship in the codebase (no feature paywalls): unlimited DORA gap assessments, Register of Information export (EBA RT.02.01, XLSX/CSV), vendor questionnaires, the vendor evidence portal, nth-party dependency mapping, concentration-risk analysis, AI Copilot (RAG), certificate/contract alerts, maker-checker + immutable audit, and role-based access control.

Features intentionally not listed because they aren't built yet (audit surfaced them): customer SSO/SAML (#626), customer API access (#627), per-plan AI metering (#628, kept fair-use), configurable audit retention (#629).

FAQ​

Four static questions rendered with native HTML <details>/<summary> (no extra package):

  • Can I change plans later?
  • What happens after the trial?
  • Is there an annual discount?
  • How does the Enterprise POC work?

/contact​

A minimal enterprise sales contact page. Server component — no client-side state required.

Structure​

Header (same as /pricing)
Main
├── Back arrow → /pricing
├── Mail icon (primary/10 circle)
├── "Talk to Sales" heading
├── Description paragraph
├── <a href="mailto:sales@retrieva.online?subject=…"> → Button
├── Plain-text email address
└── "We typically respond within 1 business day."
Footer

The mailto: subject line is URL-encoded: Enterprise%20inquiry%20%E2%80%94%20Retrieva.


Shared component: PricingSection​

components/marketing/pricing-section.tsx is reused in two places:

  1. /pricing — full standalone page
  2. app/page.tsx — inline section between "How It Works" and the final CTA

The component is self-contained: it manages its own billing state and imports no auth-dependent code, so it renders correctly on public routes.

See the Components page for the full component reference.


Landing page changes​

app/page.tsx received two targeted edits:

  1. Header — "Pricing" <Button variant="ghost"> added after ThemeToggle:

    <Link href="/pricing">
    <Button variant="ghost">Pricing</Button>
    </Link>
  2. Pricing section — <PricingSection /> inserted between the How It Works section (bg-muted/30) and the CTA section. No extra wrapper needed — the container inside PricingSection uses bg-background, creating natural visual alternation.


Design decisions​

DecisionRationale
Native <details>/<summary> for FAQ@radix-ui/react-accordion is not installed; avoids adding a new package
Shared PricingSection componentSingle source of truth — prices can't drift between / and /pricing
Server component for /contactNo useState needed; smaller JS bundle for a static page
'use client' for /pricingRequired because PricingSection uses useState for the billing toggle