Repository navigation
FAQ: numbered questions, an answered tally, arrival in reading order - #74
Conversation
…order Preston 2026-11-29: "go on FAQ", the next core page after Menu and Work. The page arrives on the hero's own clock, the way /work does: the hero lands (PageHero intro), then the tally, then the first question. Anything on the first screen is part of the first paint and never fades; it only stamps its number and welds its top edge. Questions below are dealt in, one after another, as each one arrives. - Every question carries its number, Q.01 to Q.10 (a CSS counter, so the list and the FAQPage schema stay one array). The number turns green on the open question. - The tally: "1 of 10 answered" over ten segments. A question counts once the reader has opened it and stays counted; the segment fills copper to green with a flash. All ten open, it reads "All 10 answered." and the bar glows once. Decorative (aria-hidden): the questions themselves are the content. - Why Winters Code counts its numbers up as it lands (50 pages in 13 days, 42 in 8, Makai 5, scores 90, the audit's 61). WhyWintersCode takes a tally prop; Home and /services render it exactly as before (checked in dist: no data-tally, no data-inview outside /faq). - An answer rises as the reader opens it. The class goes on at the tap, before the fold opens, so the text never shows for a frame first; a hash open shows it plainly. The Why list ticks in line by line on reopen. - Fold takes optional inview and i props, off unless a page passes them. Reduced motion: nothing hidden, nothing moves, the tally still counts. Keyboard focus inside an armed fold shows it at once. Checks: /faq stop-checked every 360px on iPhone 13 and iPhone SE (Playwright WebKit on Linux, not a real iPhone) and Pixel 7: zero frozen stops, closer ring running. Filmed on desktop and iPhone 13: hero, tally, counts in order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019pW3TKYLNex9ZSDBVNuynE
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019pW3TKYLNex9ZSDBVNuynE
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2bb0d39c60
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| f.querySelector('summary')?.addEventListener('click', () => { | ||
| if (f.open || still) return; | ||
| f.classList.add('is-opening'); |
There was a problem hiding this comment.
Arm answer animations before the accordion capture handler opens them
With JavaScript enabled and reduced motion off, ordinary mouse, touch, and keyboard activations never trigger the new answer-opening animation. Fold.astro imports src/lib/hold-accordion.ts, whose document-level capture listener sets details.open = true before this summary-level click listener executes (lines 22–39). Consequently, if (f.open || still) return always exits when opening a FAQ, so neither the answer rise nor the Why-list stagger receives is-opening. Coordinate animation arming with that capture handler so it observes the pre-click open state.
Useful? React with 👍 / 👎.
Preston 2026-11-29, on /pricing's "If the cheaper quote answers all five the same way, take it.": "I don't like that line... we may be overly pushing the $1,750. Idk, I'm not getting clients." Then: "Make the copy changes!" The $1,750 stays, stated plainly wherever someone asks what a site costs: /pricing (its title, snippet and rate card), the cost question on Home, /faq, /services and the town pages, the audit's rebuild note, the real estate add-on answer. It leaves everywhere it led: - Search: 10 titles and 13 snippets lose "Sites from $1,750". Town pages read "<Town> Web Design · Built in Bandon · Winters Code" (Bandon: "Built Here"); service pages lead with the work. /pricing keeps its price. - Home hero: the first fact is "Client sites, 8, live on the coast" (the count comes from counts.ts, the Wall's own data), not the price. - Home WhyMe: "Why $1,750 and not a few hundred." becomes "61 around here. 90+ on every site I build.", the two numbers its meter already shows. - /faq: "Why $1,750 and not a few hundred?" goes; nine questions, the tally follows. The cost answer keeps the number. - /pricing: the "Comparing quotes? Ask these five" block and its closing line go, with the Home link to it. Its promises already live in the Why list and the "yours to keep" fold. - /services: the hero sub and the Sites tab chip lead with the work; the Sites panel and the cost fold keep the price. - Contractor and restaurant closers: "$1,750 once" becomes "One price". Checked in dist: every remaining visible $1,750 answers a cost question or sits on /pricing; no page links to /pricing#compare. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019pW3TKYLNex9ZSDBVNuynE
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019pW3TKYLNex9ZSDBVNuynE
Preston 2026-11-29: "go on FAQ".
Checks: frozen-stop sweep on iPhone 13 / iPhone SE (Playwright WebKit on Linux, not a real iPhone) / Pixel 7: zero frozen. QA gate green: perf /faq 94, /services 95, / 91; a11y, best practices, SEO 100; axe 0 across 49 pages.
Preview: https://winterscode-preview.droiddna2013.workers.dev/faq. Awaiting Preston's "signed".
🤖 Generated with Claude Code
https://claude.ai/code/session_019pW3TKYLNex9ZSDBVNuynE