Skip to content

Marketing site: product-led landing with dashboard CTAs and Quickstart#25

Merged
pulkitpareek18 merged 1 commit into
mainfrom
dev
May 12, 2026
Merged

Marketing site: product-led landing with dashboard CTAs and Quickstart#25
pulkitpareek18 merged 1 commit into
mainfrom
dev

Conversation

@pulkitpareek18
Copy link
Copy Markdown
Collaborator

Summary

  • Replaces the pilot-form-only nav with the standard auth-provider pattern: Sign in + Get started in the top-right, both linking into the dashboard SPA.
  • Hero now leads with Start building free (→ /dashboard/signup) + Read the docs, with Live Demo demoted to a secondary text link.
  • Adds a Quickstart section with tabbed code samples (curl / Node / Python) showing a real /v1/users/register + /v1/verifications flow, plus copy-to-clipboard.
  • Adds a six-card developer features grid (REST + SDKs, Live/Test keys, Audit log, Devices, <100 ms verification, Open source).
  • The old pilot section moves below the fold and is reframed as Enterprise — SOC 2 / SSO / on-prem — with self-serve as the headline path; the form's CTA becomes "Contact sales".
  • Footer expands into a proper four-column SaaS layout (Product / Developers / Resources / Company) plus a status pill, brand tagline, and GitHub/Docs/Status social row.

Why

The site previously had a single "Request Pilot" button — no path for a developer to actually sign up or sign in. With the central API + dashboard now live at /dashboard, the landing page needs to do what Auth0, Clerk, Stytch, and Supabase do: get developers into a console fast.

Test plan

  • Local smoke against http://localhost:3030/ — page renders 200; /dashboard/login and /dashboard/signup are reachable
  • All anchor links resolve to real section IDs
  • Section open/close tags balance (9/9)
  • No "Request Pilot" copy left in primary CTAs
  • Visual check on zeroauth.dev once the Deploy workflow runs
  • Code-tabs JS works under HTTPS (clipboard API requires secure context — fine on production)

🤖 Generated with Claude Code

Replaces the pilot-form-only navigation with the standard auth-provider
pattern: Sign in + Get started in the top-right, a product-led hero that
points at /dashboard/signup, and a Quickstart code-tabs block (curl /
Node / Python) showing a real `/v1/users/register` + `/v1/verifications`
flow. The pilot section moves down and is reframed as "Enterprise" —
SOC 2, SSO, on-prem — with self-serve as the primary path. Footer
expands into a four-column SaaS layout with Product / Developers /
Resources / Company links plus a status pill and social row.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 12, 2026 12:08
@pulkitpareek18 pulkitpareek18 merged commit 0d1741d into main May 12, 2026
5 checks passed
@pulkitpareek18 pulkitpareek18 deleted the dev branch May 12, 2026 12:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the marketing landing page to be product-led, adding clear dashboard CTAs and a developer-oriented Quickstart section so visitors can self-serve into the /dashboard flow.

Changes:

  • Reworks the top navigation + hero CTAs to emphasize Sign in / Get started and “Start building free”.
  • Adds a Quickstart section with tabbed code samples and copy-to-clipboard behavior.
  • Adds a developer features grid, reframes the pilot section as Enterprise, and expands the footer into a multi-column SaaS layout.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread public/index.html
Comment on lines +995 to +1002
<div class="code-pane active" data-pane="curl"><pre class="code-body" id="code-curl"><span class="cmt"># 1. Register a user with a commitment</span>
curl -X POST https://api.zeroauth.dev/v1/users/register \
-H <span class="str">"Authorization: Bearer $ZEROAUTH_API_KEY"</span> \
-H <span class="str">"Content-Type: application/json"</span> \
-d <span class="str">'{
"external_id": "user_42",
"commitment": "0x1f3c…"
}'</span>
Comment thread public/index.html
Comment on lines +1004 to +1012
<span class="cmt"># 2. Verify a Groth16 proof at login</span>
curl -X POST https://api.zeroauth.dev/v1/verifications \
-H <span class="str">"Authorization: Bearer $ZEROAUTH_API_KEY"</span> \
-H <span class="str">"Content-Type: application/json"</span> \
-d <span class="str">'{
"external_id": "user_42",
"proof": { "a": [...], "b": [...], "c": [...] },
"public_signals": ["0x1f3c…"]
}'</span></pre></div>
Comment thread public/index.html
Comment on lines +989 to +995
<div class="code-tabs" role="tablist">
<button class="code-tab active" role="tab" data-tab="curl">curl</button>
<button class="code-tab" role="tab" data-tab="node">Node.js</button>
<button class="code-tab" role="tab" data-tab="python">Python</button>
<button class="code-copy" type="button" data-copy="curl">Copy</button>
</div>
<div class="code-pane active" data-pane="curl"><pre class="code-body" id="code-curl"><span class="cmt"># 1. Register a user with a commitment</span>
Comment thread public/index.html
});

<span class="kw">if</span> (verified) issueSession(principal);</pre></div>
<div class="code-pane" data-pane="python"><pre class="code-body" id="code-python"><span class="kw">from</span> zeroauth <span class="kw">import</span> ZeroAuth
Comment thread public/index.html
const pane = card.querySelector('.code-pane[data-pane="' + which + '"] .code-body');
if (!pane) return;
try {
await navigator.clipboard.writeText(pane.innerText);
pulkitpareek18 added a commit that referenced this pull request May 15, 2026
#25)

Replaces the pilot-form-only navigation with the standard auth-provider
pattern: Sign in + Get started in the top-right, a product-led hero that
points at /dashboard/signup, and a Quickstart code-tabs block (curl /
Node / Python) showing a real `/v1/users/register` + `/v1/verifications`
flow. The pilot section moves down and is reframed as "Enterprise" —
SOC 2, SSO, on-prem — with self-serve as the primary path. Footer
expands into a four-column SaaS layout with Product / Developers /
Resources / Company links plus a status pill and social row.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants