feat: twitch-2k-wager landing page prototype #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "12-landing-page-html-css-prototype-for-twit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Dark-themed, mobile-first landing page and game status prototype for the PlayMe2K Twitch NBA 2K wagering platform. Twitch viewers click a link in Marcus's stream description, land here, sign in with Twitch, pick a wager tier, and pay to challenge him.
Changes
twitch-2k-wager/index.html-- Landing page with hero, Twitch login button, how-it-works steps, three buy-in tier cards ($15/$30/$45 with pot amounts), win/lose outcome cards, payout details box, and FAQtwitch-2k-wager/style.css-- Full CSS with custom properties for theming, Twitch-inspired dark palette (#0e0e10 bg, #9147ff purple accents), mobile-first at 390px with responsive breakpoints at 768px and 1024pxtwitch-2k-wager/game-status.html-- Post-payment status page with match card (players, pot), progress tracker (payment confirmed, queue position, game in progress, result, payout), and three visual variants (in-progress active state, win result, lose result) as HTML comment blocks for easy reviewDesign Decisions
Test Plan
twitch-2k-wager/index.htmlin browser at 390px width (mobile-first viewport)twitch-2k-wager/game-status.htmlto see in-progress stateReview Checklist
twitch-2k-wager/directory onlyRelated Notes
Related
Closes #12
QA Review
Acceptance Criteria Check
Code Quality
Nits (not blocking -- track for SvelteKit promotion)
--color-surface-hoverdeclared in :root but unused in any rule (style.css line 11)p.section-labelinstead ofh2-- accessible names should use heading elements when promoted to SvelteKitVERDICT: APPROVED
PR #13 Review
DOMAIN REVIEW
Tech stack: Vanilla HTML + CSS (playground prototype). No JavaScript, no frameworks, no build step. Three files:
twitch-2k-wager/index.html,twitch-2k-wager/game-status.html,twitch-2k-wager/style.css. 1,286 additions, 0 deletions.This is a static HTML/CSS prototype in the playground repo. Domain review applies the HTML/CSS/Accessibility checklist.
Accessibility
lang="en"set on both HTML documents -- good.aria-hidden="true"on decorative SVGs and emoji spans -- good.aria-labelon avatar divs in match card -- good.role="button"on the Twitch login anchor -- good.<details>/<summary>or ARIA disclosure pattern. Acceptable for a prototype but worth noting for the production build.Responsive design
--max-widthchanges at breakpoints, which is appropriate for a single-column mobile-first layout that just loosens width constraints on larger screens.CSS quality
margin-bottom: 2px(in.step-content h3line ~267 and.progress-info h3line ~594) andmargin-top: 2px(in.progress-timeline ~609). These are fine-tuning values at the sub-spacing-scale level; not a real concern.gap: 0on.progress-trackeris explicit rather than relying on the default -- clear intent.ease-in-outtiming and are purely cosmetic (pulsing dots/glows) -- no motion-reduction media query (prefers-reduced-motion). Nit for production.HTML quality
<header>,<section>,<footer>used appropriately.<link rel="preconnect">for Google Fonts -- good performance practice.Content correctness
BLOCKERS
None.
This is a pure HTML/CSS prototype in a playground repo. No user input handling, no JavaScript, no server-side code, no secrets, no auth logic. None of the BLOCKER criteria apply:
NITS
prefers-reduced-motionmedia query: Thepulse-dotandpulse-statusanimations should be disabled for users who prefer reduced motion. Add@media (prefers-reduced-motion: reduce) { .live-dot, .progress-step.active .progress-dot { animation: none; } }when this moves to production.Truncated branch name: Branch is
12-landing-page-html-css-prototype-for-twit-- the name appears truncated (likely fromtwitch-2k-wager). Not a blocker since the issue number prefix is present and the intent is clear, but future branches should preserve the full purpose string.Inline style in game-status.html: The "Run It Back" link (inside the lose variant comment block, line ~237) uses
style="margin-top: var(--space-lg);". Since this is inside a comment block for reviewer convenience, it is a minor concern, but the production version should move this to a CSS class.Font loading: Google Fonts loaded via external CDN. Production should self-host Inter for performance and privacy.
Placeholder links:
href="#"on the Twitch login button and Terms/Privacy footer links. Expected for a prototype, but should be tracked for production.SOP COMPLIANCE
12-landing-page-html-css-prototype-for-twitreferences issue #12)forgejo_admin/twitch-2k-wager#4)twitch-2k-wager/directory)feat:)PROCESS OBSERVATIONS
forgejo_admin/twitch-2k-wager#4is the cross-repo spec. PR body references both. Traceability is solid.game-status.htmlis a smart approach for reviewer-friendly state visualization without needing JS. Good design decision.VERDICT: APPROVED