Add Work page + instrument the readiness funnel (analytics, shareable results, mailto fallback, SEO)#1
Draft
demirelo wants to merge 1 commit into
Draft
Add Work page + instrument the readiness funnel (analytics, shareable results, mailto fallback, SEO)#1demirelo wants to merge 1 commit into
demirelo wants to merge 1 commit into
Conversation
…hareable results, mailto fallback, SEO) Top-of-funnel improvements to the brand site and the /ai-readiness check. New: - work/ — a curated "Work" page listing select public projects in the site's editorial voice, driven by an editable PROJECTS[] array. Linked from nav + footer on the homepage and the check. - sitemap.xml, robots.txt, og-image.svg (placeholder) — SEO/link hygiene. ai-readiness/index.html: - Funnel analytics: a no-op-until-configured track() layer firing check_started, check_completed(+level), booking_click, email_click. ANALYTICS_ENDPOINT is left blank with a TODO — no provider signed up. - Durable/shareable result: answers are encoded in the URL hash (#a=NNNNNNNNNN) so a result survives reload and can be shared; a shared link re-opens the exact result. Adds a "Copy my result link" button and sets a per-level page title. - Mailto dead-end fix: a "Copy email text" button next to the mailto button for webmail-on-desktop users whose browser no-ops mailto:. - OG/Twitter share meta added to the head. - Footer privacy promise amended to reflect the (opt-in) anonymous analytics. Homepage: Work link in nav + footer; OG image meta. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Top-of-funnel work on the brand site and the
/ai-readinesscheck, per the progfi 10x plan (moves 1, 2, 3, 6 for the site, plus the new Work page you asked for). All client-side, no backend, no dependencies added.What changed
A. New
/work/page (your new request)A curated "Work" page in the site's editorial voice (Fraunces + amber, dark hero / cream project grid), driven by an editable
PROJECTS[]array at the bottom ofwork/index.html— trim/reorder freely. Linked from the homepage nav + footer and the check's footer.Exact selection shipped (please trim):
/ai-readiness/Excluded per the guardrails: anything private/client-specific (Darkbloom, floors client sims beyond the public simulator, ftoken/raac/perpetua sims, research-private repos). All public
live/repoURLs were checked and return 200.B. Funnel analytics (
ai-readiness/index.html)A tiny
track()layer firing four events:check_started,check_completed(+level),booking_click(+level),email_click(+level). It sends only an event name + the result level (one digit) + path — never the answers.ANALYTICS_ENDPOINTis left blank with aTODO(omer); while blank,track()is a strict no-op (nothing is sent). Supports a plain JSON beacon, or Plausible-style, viaANALYTICS_PROVIDER. No provider was signed up.C. Durable + shareable result
Answers are encoded in the URL hash (
#a=3241335221); the result now survives reload, and opening a shared link re-renders that exact result. Adds a "Copy my result link" button and a per-level page title (We scored L2 — Emerging …).D. Mailto dead-end fix
A "Copy email text" button next to the mailto button, for desktop-webmail users whose browser silently no-ops
mailto:. Copies the same pre-filled subject/body as plain text.E. SEO / link hygiene
sitemap.xml(home, check, work — Darkbloom deliberately excluded, it'snoindex),robots.txt, and a placeholderog-image.svgreferenced from all three pages' OG/Twitter meta. Repo homepage set to https://progfi.xyz and topics added viagh repo edit(applied directly — reversible metadata, not part of this diff).Verification
node --check.Deferred — needs omer's decision
opinionscurrently shows no link (flagged private); Floors Curve Designer shows only its public live tool.ANALYTICS_ENDPOINT(+ANALYTICS_PROVIDER). Recommend GoatCounter or Plausible (privacy-respecting, no cookie banner). Until then, no events are sent.og-image.svgis a placeholder — most social scrapers (LinkedIn, X) don't render SVG. Convert to a 1200×630 PNG at/og-image.pngand repoint theog:image/twitter:imagemetas. (Left as SVG because no image tooling/deps were run.)<head>by hash for crawlers. Deferred; the hash-restore + copy-link + per-level<title>deliver the shareable-result value today.🤖 Generated with Claude Code