Created
March 17, 2026 17:15
-
-
Save andremleblanc/5085d4d7114113cb32e0badae7e50c46 to your computer and use it in GitHub Desktop.
Whimsy Forge Mobile v1 — Wireframes & Data Map
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Whimsy Forge Mobile v1 — Wireframes & Data Map</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lustria&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> | |
| <style> | |
| *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } | |
| :root { | |
| --ember-dark: #0D0B14; | |
| --surface: #16131F; | |
| --border: #2A2440; | |
| --gold: #D4770B; | |
| --glow: #FF9A2E; | |
| --text: #F0EDE6; | |
| --text-muted: #9B95A8; | |
| --phone-w: 280px; | |
| --phone-h: 580px; | |
| --phone-r: 32px; | |
| --source-api: #D4770B; | |
| --source-stripe: #635BFF; | |
| --source-bunny: #FF6F00; | |
| --source-circle: #6366F1; | |
| --source-apns: #30D158; | |
| --source-device: #9B95A8; | |
| } | |
| html { scroll-behavior: smooth; } | |
| body { | |
| background: var(--ember-dark); | |
| color: var(--text); | |
| font-family: 'Lustria', Georgia, serif; | |
| line-height: 1.6; | |
| min-height: 100vh; | |
| } | |
| /* ── Grain overlay ── */ | |
| body::before { | |
| content: ''; | |
| position: fixed; | |
| inset: 0; | |
| opacity: 0.025; | |
| background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); | |
| pointer-events: none; | |
| z-index: 9999; | |
| } | |
| /* ── Header ── */ | |
| .page-header { | |
| text-align: center; | |
| padding: 64px 24px 48px; | |
| max-width: 800px; | |
| margin: 0 auto; | |
| } | |
| .page-header .eyebrow { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 11px; | |
| letter-spacing: 3px; | |
| text-transform: uppercase; | |
| color: var(--glow); | |
| margin-bottom: 16px; | |
| opacity: 0; | |
| animation: fadeUp 0.6s ease forwards; | |
| } | |
| .page-header h1 { | |
| font-family: 'Cinzel', serif; | |
| font-size: clamp(28px, 5vw, 48px); | |
| font-weight: 600; | |
| letter-spacing: 1px; | |
| color: var(--text); | |
| line-height: 1.2; | |
| margin-bottom: 20px; | |
| opacity: 0; | |
| animation: fadeUp 0.6s ease 0.1s forwards; | |
| } | |
| .page-header h1 span { color: var(--glow); } | |
| .page-header p { | |
| font-size: 16px; | |
| color: var(--text-muted); | |
| max-width: 580px; | |
| margin: 0 auto; | |
| opacity: 0; | |
| animation: fadeUp 0.6s ease 0.2s forwards; | |
| } | |
| /* ── Flow nav ── */ | |
| .flow-nav { | |
| display: flex; | |
| justify-content: center; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| padding: 0 24px 48px; | |
| max-width: 900px; | |
| margin: 0 auto; | |
| opacity: 0; | |
| animation: fadeUp 0.6s ease 0.3s forwards; | |
| } | |
| .flow-nav a { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 11px; | |
| letter-spacing: 1px; | |
| text-transform: uppercase; | |
| color: var(--text-muted); | |
| text-decoration: none; | |
| padding: 6px 14px; | |
| border: 1px solid var(--border); | |
| border-radius: 100px; | |
| transition: all 0.25s ease; | |
| } | |
| .flow-nav a:hover { | |
| color: var(--glow); | |
| border-color: var(--gold); | |
| background: rgba(212, 119, 11, 0.08); | |
| } | |
| .flow-nav .arrow { | |
| color: var(--border); | |
| display: flex; | |
| align-items: center; | |
| font-size: 14px; | |
| } | |
| /* ── Screen sections ── */ | |
| .screens-grid { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 24px 80px; | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); | |
| gap: 56px; | |
| } | |
| .screen-card { | |
| opacity: 0; | |
| animation: fadeUp 0.6s ease forwards; | |
| } | |
| .screen-card:nth-child(1) { animation-delay: 0.35s; } | |
| .screen-card:nth-child(2) { animation-delay: 0.4s; } | |
| .screen-card:nth-child(3) { animation-delay: 0.45s; } | |
| .screen-card:nth-child(4) { animation-delay: 0.5s; } | |
| .screen-card:nth-child(5) { animation-delay: 0.55s; } | |
| .screen-card:nth-child(6) { animation-delay: 0.6s; } | |
| .screen-card:nth-child(7) { animation-delay: 0.65s; } | |
| .screen-label { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 10px; | |
| letter-spacing: 2px; | |
| text-transform: uppercase; | |
| color: var(--glow); | |
| margin-bottom: 6px; | |
| } | |
| .screen-title { | |
| font-family: 'Cinzel', serif; | |
| font-size: 20px; | |
| font-weight: 600; | |
| margin-bottom: 16px; | |
| } | |
| /* ── Phone frame ── */ | |
| .phone-frame { | |
| width: var(--phone-w); | |
| height: var(--phone-h); | |
| background: var(--surface); | |
| border-radius: var(--phone-r); | |
| border: 2px solid var(--border); | |
| position: relative; | |
| overflow: hidden; | |
| margin: 0 auto 24px; | |
| box-shadow: | |
| 0 0 0 1px rgba(255,255,255,0.03), | |
| 0 20px 60px rgba(0,0,0,0.5), | |
| 0 0 80px rgba(212,119,11,0.04); | |
| } | |
| /* Status bar */ | |
| .phone-frame::before { | |
| content: '9:41'; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 36px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 10px; | |
| font-weight: 500; | |
| color: var(--text-muted); | |
| z-index: 5; | |
| letter-spacing: 0.5px; | |
| } | |
| /* Dynamic island */ | |
| .phone-frame::after { | |
| content: ''; | |
| position: absolute; | |
| top: 8px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 72px; | |
| height: 18px; | |
| background: #000; | |
| border-radius: 20px; | |
| z-index: 10; | |
| } | |
| .phone-screen { | |
| position: absolute; | |
| inset: 36px 0 0 0; | |
| overflow-y: auto; | |
| padding: 12px 16px 24px; | |
| scrollbar-width: none; | |
| } | |
| .phone-screen::-webkit-scrollbar { display: none; } | |
| /* ── Tab bar ── */ | |
| .tab-bar { | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| height: 56px; | |
| background: var(--ember-dark); | |
| border-top: 1px solid var(--border); | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-around; | |
| padding: 0 8px; | |
| z-index: 6; | |
| } | |
| .tab-item { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 2px; | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 8px; | |
| letter-spacing: 0.5px; | |
| color: var(--text-muted); | |
| } | |
| .tab-item.active { color: var(--glow); } | |
| .tab-icon { | |
| width: 20px; | |
| height: 20px; | |
| border-radius: 4px; | |
| border: 1.5px solid currentColor; | |
| position: relative; | |
| } | |
| .tab-icon.filled { | |
| background: currentColor; | |
| opacity: 0.3; | |
| } | |
| /* ── Wireframe UI elements ── */ | |
| .w-logo { | |
| font-family: 'Cinzel', serif; | |
| font-size: 18px; | |
| font-weight: 700; | |
| color: var(--glow); | |
| text-align: center; | |
| padding: 24px 0 4px; | |
| letter-spacing: 2px; | |
| } | |
| .w-logo-sub { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 8px; | |
| color: var(--text-muted); | |
| text-align: center; | |
| letter-spacing: 3px; | |
| text-transform: uppercase; | |
| margin-bottom: 24px; | |
| } | |
| .w-input { | |
| width: 100%; | |
| height: 36px; | |
| border: 1px solid var(--border); | |
| border-radius: 8px; | |
| margin-bottom: 10px; | |
| display: flex; | |
| align-items: center; | |
| padding: 0 12px; | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 9px; | |
| color: var(--text-muted); | |
| background: rgba(255,255,255,0.02); | |
| } | |
| .w-btn { | |
| width: 100%; | |
| height: 38px; | |
| border-radius: 8px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-family: 'Cinzel', serif; | |
| font-size: 11px; | |
| font-weight: 600; | |
| letter-spacing: 1px; | |
| margin-bottom: 8px; | |
| cursor: default; | |
| } | |
| .w-btn.primary { | |
| background: linear-gradient(135deg, var(--gold), var(--glow)); | |
| color: var(--ember-dark); | |
| } | |
| .w-btn.outline { | |
| border: 1px solid var(--border); | |
| color: var(--text-muted); | |
| background: transparent; | |
| } | |
| .w-btn.circle-sso { | |
| border: 1px solid var(--border); | |
| color: var(--text); | |
| background: rgba(99, 102, 241, 0.1); | |
| border-color: rgba(99, 102, 241, 0.3); | |
| } | |
| .w-divider { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| margin: 12px 0; | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 8px; | |
| color: var(--text-muted); | |
| letter-spacing: 1px; | |
| } | |
| .w-divider::before, .w-divider::after { | |
| content: ''; | |
| flex: 1; | |
| height: 1px; | |
| background: var(--border); | |
| } | |
| .w-greeting { | |
| font-family: 'Lustria', serif; | |
| font-size: 12px; | |
| color: var(--text-muted); | |
| margin-bottom: 2px; | |
| } | |
| .w-name { | |
| font-family: 'Cinzel', serif; | |
| font-size: 16px; | |
| font-weight: 600; | |
| margin-bottom: 16px; | |
| } | |
| .w-card { | |
| border: 1px solid var(--border); | |
| border-radius: 12px; | |
| padding: 12px; | |
| margin-bottom: 12px; | |
| background: rgba(255,255,255,0.015); | |
| } | |
| .w-card-title { | |
| font-family: 'Cinzel', serif; | |
| font-size: 12px; | |
| font-weight: 600; | |
| margin-bottom: 6px; | |
| } | |
| .w-card-sub { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 8px; | |
| color: var(--text-muted); | |
| letter-spacing: 0.5px; | |
| } | |
| .w-progress { | |
| width: 100%; | |
| height: 4px; | |
| background: var(--border); | |
| border-radius: 2px; | |
| margin: 8px 0; | |
| overflow: hidden; | |
| } | |
| .w-progress-fill { | |
| height: 100%; | |
| background: linear-gradient(90deg, var(--gold), var(--glow)); | |
| border-radius: 2px; | |
| } | |
| .w-thumbnail { | |
| width: 100%; | |
| height: 64px; | |
| background: var(--border); | |
| border-radius: 8px; | |
| margin-bottom: 8px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .w-thumbnail::after { | |
| content: ''; | |
| width: 24px; | |
| height: 24px; | |
| border-radius: 50%; | |
| background: rgba(212, 119, 11, 0.6); | |
| border: 2px solid rgba(255,255,255,0.8); | |
| } | |
| .w-thumbnail.tall { height: 100px; } | |
| .w-thumbnail.video-area { | |
| height: 140px; | |
| border-radius: 0; | |
| margin: -12px -16px 12px; | |
| width: calc(100% + 32px); | |
| } | |
| .w-section { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 9px; | |
| letter-spacing: 1px; | |
| text-transform: uppercase; | |
| color: var(--text-muted); | |
| margin: 14px 0 8px; | |
| } | |
| .w-lesson-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| padding: 8px 0; | |
| border-bottom: 1px solid rgba(42, 36, 64, 0.5); | |
| } | |
| .w-lesson-row:last-child { border-bottom: none; } | |
| .w-check { | |
| width: 16px; | |
| height: 16px; | |
| border-radius: 50%; | |
| border: 1.5px solid var(--border); | |
| flex-shrink: 0; | |
| } | |
| .w-check.done { | |
| border-color: var(--gold); | |
| background: var(--gold); | |
| position: relative; | |
| } | |
| .w-check.done::after { | |
| content: ''; | |
| position: absolute; | |
| top: 3px; left: 3px; | |
| width: 8px; height: 5px; | |
| border-left: 1.5px solid var(--ember-dark); | |
| border-bottom: 1.5px solid var(--ember-dark); | |
| transform: rotate(-45deg); | |
| } | |
| .w-check.locked { | |
| border-color: rgba(42, 36, 64, 0.5); | |
| position: relative; | |
| } | |
| .w-check.locked::after { | |
| content: ''; | |
| position: absolute; | |
| top: 3px; left: 5px; | |
| width: 4px; height: 6px; | |
| border: 1px solid rgba(155,149,168,0.3); | |
| border-radius: 2px 2px 0 0; | |
| } | |
| .w-lesson-info { | |
| flex: 1; | |
| min-width: 0; | |
| } | |
| .w-lesson-name { | |
| font-size: 11px; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .w-lesson-name.locked { color: var(--text-muted); opacity: 0.5; } | |
| .w-lesson-dur { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 8px; | |
| color: var(--text-muted); | |
| } | |
| .w-play-icon { | |
| width: 20px; | |
| height: 20px; | |
| flex-shrink: 0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: var(--glow); | |
| font-size: 10px; | |
| } | |
| .w-scroll-row { | |
| display: flex; | |
| gap: 10px; | |
| overflow-x: auto; | |
| padding-bottom: 4px; | |
| scrollbar-width: none; | |
| margin: 0 -16px; | |
| padding: 0 16px 4px; | |
| } | |
| .w-scroll-row::-webkit-scrollbar { display: none; } | |
| .w-scroll-card { | |
| flex-shrink: 0; | |
| width: 110px; | |
| } | |
| .w-scroll-thumb { | |
| width: 110px; | |
| height: 68px; | |
| background: var(--border); | |
| border-radius: 8px; | |
| margin-bottom: 4px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .w-scroll-thumb::after { | |
| content: ''; | |
| width: 18px; | |
| height: 18px; | |
| border-radius: 50%; | |
| background: rgba(212,119,11,0.4); | |
| border: 1.5px solid rgba(255,255,255,0.5); | |
| } | |
| .w-scroll-title { | |
| font-size: 9px; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .w-scroll-meta { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 7px; | |
| color: var(--text-muted); | |
| } | |
| .w-avatar { | |
| width: 48px; | |
| height: 48px; | |
| border-radius: 50%; | |
| background: var(--border); | |
| margin: 0 auto 8px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-family: 'Cinzel', serif; | |
| font-size: 16px; | |
| color: var(--glow); | |
| font-weight: 600; | |
| } | |
| .w-profile-name { | |
| font-family: 'Cinzel', serif; | |
| font-size: 14px; | |
| font-weight: 600; | |
| text-align: center; | |
| margin-bottom: 2px; | |
| } | |
| .w-profile-email { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 8px; | |
| color: var(--text-muted); | |
| text-align: center; | |
| margin-bottom: 16px; | |
| } | |
| .w-setting-row { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 10px 0; | |
| border-bottom: 1px solid rgba(42,36,64,0.5); | |
| font-size: 11px; | |
| } | |
| .w-toggle { | |
| width: 32px; | |
| height: 18px; | |
| border-radius: 9px; | |
| background: var(--gold); | |
| position: relative; | |
| } | |
| .w-toggle::after { | |
| content: ''; | |
| position: absolute; | |
| top: 2px; right: 2px; | |
| width: 14px; height: 14px; | |
| border-radius: 50%; | |
| background: white; | |
| } | |
| .w-toggle.off { | |
| background: var(--border); | |
| } | |
| .w-toggle.off::after { right: auto; left: 2px; } | |
| .w-community-header { | |
| background: var(--ember-dark); | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 6px 12px; | |
| margin: -12px -16px 0; | |
| border-bottom: 1px solid var(--border); | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 9px; | |
| color: var(--text-muted); | |
| } | |
| .w-community-header .x { | |
| color: var(--glow); | |
| font-size: 14px; | |
| cursor: default; | |
| } | |
| .w-community-body { | |
| background: #1a1a2e; | |
| margin: 0 -16px; | |
| padding: 16px; | |
| min-height: 400px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .w-community-post { | |
| background: rgba(255,255,255,0.04); | |
| border-radius: 8px; | |
| padding: 10px; | |
| } | |
| .w-community-post-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| margin-bottom: 6px; | |
| } | |
| .w-community-avatar { | |
| width: 20px; height: 20px; | |
| border-radius: 50%; | |
| background: var(--border); | |
| } | |
| .w-community-author { | |
| font-size: 9px; | |
| font-weight: 600; | |
| } | |
| .w-community-text { | |
| font-size: 9px; | |
| color: var(--text-muted); | |
| line-height: 1.4; | |
| } | |
| .w-badge { | |
| display: inline-block; | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 7px; | |
| letter-spacing: 0.5px; | |
| padding: 2px 6px; | |
| border-radius: 4px; | |
| text-transform: uppercase; | |
| } | |
| .w-badge.enrolled { | |
| background: rgba(212,119,11,0.15); | |
| color: var(--glow); | |
| border: 1px solid rgba(212,119,11,0.3); | |
| } | |
| .w-badge.new { | |
| background: rgba(99,102,241,0.15); | |
| color: #818CF8; | |
| border: 1px solid rgba(99,102,241,0.3); | |
| } | |
| .w-badge.locked { | |
| background: rgba(155,149,168,0.08); | |
| color: var(--text-muted); | |
| border: 1px solid rgba(155,149,168,0.2); | |
| } | |
| .w-program-card-grid { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| } | |
| .w-program-item { | |
| border: 1px solid var(--border); | |
| border-radius: 12px; | |
| overflow: hidden; | |
| } | |
| .w-program-thumb { | |
| width: 100%; | |
| height: 72px; | |
| background: var(--border); | |
| position: relative; | |
| } | |
| .w-program-thumb .w-badge { | |
| position: absolute; | |
| top: 6px; | |
| right: 6px; | |
| } | |
| .w-program-info { | |
| padding: 10px 12px; | |
| } | |
| .w-stat-row { | |
| display: flex; | |
| gap: 12px; | |
| margin-bottom: 12px; | |
| } | |
| .w-stat { | |
| flex: 1; | |
| text-align: center; | |
| padding: 10px 8px; | |
| border: 1px solid var(--border); | |
| border-radius: 8px; | |
| } | |
| .w-stat-num { | |
| font-family: 'Cinzel', serif; | |
| font-size: 18px; | |
| font-weight: 600; | |
| color: var(--glow); | |
| } | |
| .w-stat-label { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 7px; | |
| color: var(--text-muted); | |
| letter-spacing: 0.5px; | |
| text-transform: uppercase; | |
| margin-top: 2px; | |
| } | |
| .w-week-header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 8px 0; | |
| cursor: default; | |
| } | |
| .w-week-title { | |
| font-family: 'Cinzel', serif; | |
| font-size: 11px; | |
| font-weight: 600; | |
| } | |
| .w-week-count { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 8px; | |
| color: var(--text-muted); | |
| } | |
| .w-week-chevron { | |
| font-size: 10px; | |
| color: var(--text-muted); | |
| transition: transform 0.2s; | |
| } | |
| /* ── Data requirements ── */ | |
| .data-req { | |
| margin-top: 4px; | |
| } | |
| .data-req h4 { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 10px; | |
| letter-spacing: 1.5px; | |
| text-transform: uppercase; | |
| color: var(--text-muted); | |
| margin-bottom: 10px; | |
| padding-bottom: 6px; | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .data-source { | |
| margin-bottom: 12px; | |
| } | |
| .data-source-label { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 9px; | |
| font-weight: 500; | |
| letter-spacing: 0.5px; | |
| margin-bottom: 4px; | |
| } | |
| .data-dot { | |
| width: 6px; | |
| height: 6px; | |
| border-radius: 50%; | |
| } | |
| .data-source ul { | |
| list-style: none; | |
| padding-left: 12px; | |
| } | |
| .data-source li { | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| line-height: 1.7; | |
| position: relative; | |
| padding-left: 10px; | |
| } | |
| .data-source li::before { | |
| content: ''; | |
| position: absolute; | |
| left: 0; | |
| top: 9px; | |
| width: 3px; | |
| height: 3px; | |
| border-radius: 50%; | |
| background: var(--border); | |
| } | |
| .data-source li code { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 9px; | |
| background: rgba(255,255,255,0.04); | |
| padding: 1px 4px; | |
| border-radius: 3px; | |
| color: var(--text); | |
| } | |
| .new-endpoint { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 9px; | |
| background: rgba(212,119,11,0.1); | |
| border: 1px solid rgba(212,119,11,0.2); | |
| color: var(--glow); | |
| padding: 1px 5px; | |
| border-radius: 3px; | |
| } | |
| /* ── Summary ── */ | |
| .summary-section { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 24px 80px; | |
| } | |
| .summary-divider { | |
| border: none; | |
| border-top: 1px solid var(--border); | |
| margin-bottom: 48px; | |
| } | |
| .summary-section h2 { | |
| font-family: 'Cinzel', serif; | |
| font-size: clamp(22px, 3vw, 32px); | |
| font-weight: 600; | |
| margin-bottom: 8px; | |
| } | |
| .summary-section h2 span { color: var(--glow); } | |
| .summary-intro { | |
| color: var(--text-muted); | |
| font-size: 14px; | |
| margin-bottom: 32px; | |
| max-width: 600px; | |
| } | |
| .summary-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 24px; | |
| } | |
| .summary-card { | |
| border: 1px solid var(--border); | |
| border-radius: 12px; | |
| padding: 20px; | |
| background: rgba(255,255,255,0.01); | |
| } | |
| .summary-card-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| margin-bottom: 14px; | |
| } | |
| .summary-card-dot { | |
| width: 10px; | |
| height: 10px; | |
| border-radius: 50%; | |
| } | |
| .summary-card-title { | |
| font-family: 'Cinzel', serif; | |
| font-size: 14px; | |
| font-weight: 600; | |
| } | |
| .summary-card ul { | |
| list-style: none; | |
| } | |
| .summary-card li { | |
| font-size: 12px; | |
| color: var(--text-muted); | |
| line-height: 1.8; | |
| padding-left: 14px; | |
| position: relative; | |
| } | |
| .summary-card li::before { | |
| content: ''; | |
| position: absolute; | |
| left: 0; | |
| top: 10px; | |
| width: 4px; | |
| height: 4px; | |
| border-radius: 50%; | |
| background: var(--border); | |
| } | |
| .summary-card li code { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 10px; | |
| background: rgba(255,255,255,0.04); | |
| padding: 1px 4px; | |
| border-radius: 3px; | |
| color: var(--text); | |
| } | |
| /* ── New endpoints highlight ── */ | |
| .endpoints-section { | |
| margin-top: 32px; | |
| } | |
| .endpoints-section h3 { | |
| font-family: 'Cinzel', serif; | |
| font-size: 18px; | |
| font-weight: 600; | |
| margin-bottom: 6px; | |
| } | |
| .endpoints-section h3 span { color: var(--glow); } | |
| .endpoints-sub { | |
| color: var(--text-muted); | |
| font-size: 13px; | |
| margin-bottom: 20px; | |
| } | |
| .endpoint-list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .endpoint-item { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 12px; | |
| padding: 12px 16px; | |
| border: 1px solid var(--border); | |
| border-radius: 8px; | |
| background: rgba(255,255,255,0.01); | |
| } | |
| .endpoint-method { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 10px; | |
| font-weight: 500; | |
| padding: 2px 6px; | |
| border-radius: 4px; | |
| flex-shrink: 0; | |
| letter-spacing: 0.5px; | |
| margin-top: 1px; | |
| } | |
| .endpoint-method.get { | |
| background: rgba(48,209,88,0.12); | |
| color: #30D158; | |
| border: 1px solid rgba(48,209,88,0.25); | |
| } | |
| .endpoint-method.post { | |
| background: rgba(99,102,241,0.12); | |
| color: #818CF8; | |
| border: 1px solid rgba(99,102,241,0.25); | |
| } | |
| .endpoint-method.patch { | |
| background: rgba(212,119,11,0.12); | |
| color: var(--glow); | |
| border: 1px solid rgba(212,119,11,0.25); | |
| } | |
| .endpoint-path { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 12px; | |
| color: var(--text); | |
| } | |
| .endpoint-desc { | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| margin-top: 2px; | |
| } | |
| .endpoint-screens { | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 8px; | |
| color: var(--text-muted); | |
| margin-top: 4px; | |
| letter-spacing: 0.5px; | |
| opacity: 0.7; | |
| } | |
| /* ── Animations ── */ | |
| @keyframes fadeUp { | |
| from { opacity: 0; transform: translateY(16px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* ── Responsive ── */ | |
| @media (max-width: 720px) { | |
| .screens-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .flow-nav { display: none; } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- ═══════════════ HEADER ═══════════════ --> | |
| <header class="page-header"> | |
| <div class="eyebrow">spike/mobile-app</div> | |
| <h1>Whimsy Forge Mobile v1<br><span>Wireframes & Data Map</span></h1> | |
| <p>Screen-by-screen wireframes for the first production release, with the data sources and API endpoints each view requires.</p> | |
| </header> | |
| <!-- ═══════════════ FLOW NAV ═══════════════ --> | |
| <nav class="flow-nav"> | |
| <a href="#login">Login</a> | |
| <span class="arrow">→</span> | |
| <a href="#home">Home</a> | |
| <span class="arrow">→</span> | |
| <a href="#library">Library</a> | |
| <span class="arrow">→</span> | |
| <a href="#program">Program</a> | |
| <span class="arrow">→</span> | |
| <a href="#player">Player</a> | |
| <span class="arrow">→</span> | |
| <a href="#community">Community</a> | |
| <span class="arrow">→</span> | |
| <a href="#profile">Profile</a> | |
| </nav> | |
| <!-- ═══════════════ SCREENS ═══════════════ --> | |
| <section class="screens-grid"> | |
| <!-- ─── 1. LOGIN ─── --> | |
| <div class="screen-card" id="login"> | |
| <div class="screen-label">Screen 01</div> | |
| <div class="screen-title">Login</div> | |
| <div class="phone-frame"> | |
| <div class="phone-screen" style="padding-top: 48px;"> | |
| <div class="w-logo">Whimsy Forge</div> | |
| <div class="w-logo-sub">Movement · Flexibility · Flow</div> | |
| <div style="height: 12px;"></div> | |
| <div class="w-input">email@example.com</div> | |
| <div class="w-input">••••••••</div> | |
| <div style="height: 4px;"></div> | |
| <div class="w-btn primary">Sign In</div> | |
| <div class="w-divider">or</div> | |
| <div class="w-btn circle-sso">Sign in with Circle</div> | |
| <div style="text-align: center; margin-top: 16px;"> | |
| <span style="font-size: 10px; color: var(--text-muted);">Don't have an account? </span> | |
| <span style="font-size: 10px; color: var(--glow);">Sign up</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="data-req"> | |
| <h4>Data Requirements</h4> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-api);"></span> Suriel API <span class="new-endpoint">NEW</span></div> | |
| <ul> | |
| <li><code>POST /api/v1/auth/login</code> — email + password auth, returns JWT</li> | |
| <li><code>POST /api/v1/auth/register</code> — new account creation</li> | |
| <li><code>POST /api/v1/auth/refresh</code> — refresh expired tokens</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-circle);"></span> Circle OAuth2</div> | |
| <ul> | |
| <li>OAuth2 authorization code flow — redirect to Circle, exchange code for token</li> | |
| <li>User profile from Circle (name, avatar, email)</li> | |
| <li>SSO session linking — Circle user ID ↔ Suriel user record</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-device);"></span> Device</div> | |
| <ul> | |
| <li>Secure token storage (Expo SecureStore / Keychain)</li> | |
| <li>Biometric auth opt-in for returning users</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- ─── 2. HOME ─── --> | |
| <div class="screen-card" id="home"> | |
| <div class="screen-label">Screen 02</div> | |
| <div class="screen-title">Home</div> | |
| <div class="phone-frame"> | |
| <div class="phone-screen" style="padding-bottom: 68px;"> | |
| <div class="w-greeting">Good evening,</div> | |
| <div class="w-name">Charity Grace</div> | |
| <!-- Current program --> | |
| <div class="w-card"> | |
| <div style="display: flex; justify-content: space-between; align-items: center;"> | |
| <div class="w-card-title">Lunar Rise</div> | |
| <div class="w-card-sub">3 of 10</div> | |
| </div> | |
| <div class="w-progress"><div class="w-progress-fill" style="width: 30%;"></div></div> | |
| <div class="w-card-sub">Week 1: Shoulder Mobility next</div> | |
| </div> | |
| <!-- Next up --> | |
| <div class="w-section">Next Up</div> | |
| <div class="w-card" style="display: flex; gap: 10px;"> | |
| <div style="width: 64px; height: 52px; background: var(--border); border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;"> | |
| <div style="width: 16px; height: 16px; border-radius: 50%; background: rgba(212,119,11,0.5); border: 1.5px solid rgba(255,255,255,0.6);"></div> | |
| </div> | |
| <div> | |
| <div style="font-size: 12px; font-weight: 600;">Shoulder Mobility</div> | |
| <div class="w-card-sub">12 min · Week 1</div> | |
| <div style="color: var(--glow); font-size: 9px; margin-top: 4px; font-family: 'Cinzel', serif; letter-spacing: 1px;">PLAY →</div> | |
| </div> | |
| </div> | |
| <!-- Featured --> | |
| <div class="w-section">Featured</div> | |
| <div class="w-scroll-row"> | |
| <div class="w-scroll-card"> | |
| <div class="w-scroll-thumb"></div> | |
| <div class="w-scroll-title">Full Body Flow</div> | |
| <div class="w-scroll-meta">20 min</div> | |
| </div> | |
| <div class="w-scroll-card"> | |
| <div class="w-scroll-thumb"></div> | |
| <div class="w-scroll-title">Shoulder Stand I</div> | |
| <div class="w-scroll-meta">18 min</div> | |
| </div> | |
| <div class="w-scroll-card"> | |
| <div class="w-scroll-thumb"></div> | |
| <div class="w-scroll-title">Splits</div> | |
| <div class="w-scroll-meta">25 min</div> | |
| </div> | |
| </div> | |
| <!-- Community teaser --> | |
| <div class="w-section">Community</div> | |
| <div class="w-card" style="padding: 10px;"> | |
| <div style="display: flex; align-items: center; gap: 6px; margin-bottom: 4px;"> | |
| <div style="width: 16px; height: 16px; border-radius: 50%; background: var(--border);"></div> | |
| <span style="font-size: 9px; font-weight: 600;">@lilly-chanel</span> | |
| </div> | |
| <div style="font-size: 9px; color: var(--text-muted);">Just completed Week 3! The splits progression is amazing...</div> | |
| </div> | |
| </div> | |
| <div class="tab-bar"> | |
| <div class="tab-item active"> | |
| <div class="tab-icon filled"></div> | |
| <span>Home</span> | |
| </div> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Library</span> | |
| </div> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Community</span> | |
| </div> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Profile</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="data-req"> | |
| <h4>Data Requirements</h4> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-api);"></span> Suriel API <span class="new-endpoint">NEW</span></div> | |
| <ul> | |
| <li><code>GET /api/v1/me</code> — user profile (name, avatar, subscription tier)</li> | |
| <li><code>GET /api/v1/me/progress</code> — active enrollment, completed lessons, next lesson</li> | |
| <li><code>GET /api/v1/videos/featured</code> — curated video list for home carousel</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-stripe);"></span> Stripe (via API)</div> | |
| <ul> | |
| <li>Active subscription status — determines content access</li> | |
| <li>Subscription tier (Basic / Premium) — controls locked content</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-bunny);"></span> Bunny Stream</div> | |
| <ul> | |
| <li>Video thumbnails (CDN URLs) for featured carousel</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-circle);"></span> Circle</div> | |
| <ul> | |
| <li>Recent community posts (1-2 items) for activity teaser</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- ─── 3. TRAINING LIBRARY ─── --> | |
| <div class="screen-card" id="library"> | |
| <div class="screen-label">Screen 03</div> | |
| <div class="screen-title">Training Library</div> | |
| <div class="phone-frame"> | |
| <div class="phone-screen" style="padding-bottom: 68px;"> | |
| <div style="font-family: 'Cinzel', serif; font-size: 14px; font-weight: 600; margin-bottom: 14px;">Programs</div> | |
| <div class="w-program-card-grid"> | |
| <!-- Lunar Rise --> | |
| <div class="w-program-item"> | |
| <div class="w-program-thumb"> | |
| <span class="w-badge enrolled" style="position:absolute; top:6px; right:6px;">Enrolled</span> | |
| </div> | |
| <div class="w-program-info"> | |
| <div class="w-card-title">Lunar Rise</div> | |
| <div class="w-card-sub">4 weeks · 10 lessons · Flexibility</div> | |
| <div class="w-progress" style="margin-top: 6px;"><div class="w-progress-fill" style="width: 30%;"></div></div> | |
| <div class="w-card-sub">3 of 10 complete</div> | |
| </div> | |
| </div> | |
| <!-- Solar Forge --> | |
| <div class="w-program-item"> | |
| <div class="w-program-thumb"> | |
| <span class="w-badge new" style="position:absolute; top:6px; right:6px;">New</span> | |
| </div> | |
| <div class="w-program-info"> | |
| <div class="w-card-title">Solar Forge</div> | |
| <div class="w-card-sub">6 weeks · 18 lessons · Strength</div> | |
| <div style="margin-top: 6px;"> | |
| <span style="font-size: 9px; color: var(--glow); font-family: 'Cinzel', serif; letter-spacing: 1px;">START →</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Locked --> | |
| <div class="w-program-item" style="opacity: 0.5;"> | |
| <div class="w-program-thumb"> | |
| <span class="w-badge locked" style="position:absolute; top:6px; right:6px;">Premium</span> | |
| </div> | |
| <div class="w-program-info"> | |
| <div class="w-card-title">Iron Bloom</div> | |
| <div class="w-card-sub">8 weeks · 24 lessons · Advanced</div> | |
| <div style="margin-top: 6px;"> | |
| <span style="font-size: 9px; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; font-size: 8px;">UPGRADE TO UNLOCK</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="tab-bar"> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Home</span> | |
| </div> | |
| <div class="tab-item active"> | |
| <div class="tab-icon filled"></div> | |
| <span>Library</span> | |
| </div> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Community</span> | |
| </div> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Profile</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="data-req"> | |
| <h4>Data Requirements</h4> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-api);"></span> Suriel API <span class="new-endpoint">NEW</span></div> | |
| <ul> | |
| <li><code>GET /api/v1/programs</code> — all programs with metadata (title, duration, lesson count, cover)</li> | |
| <li>Each program includes user's enrollment status + completion percentage</li> | |
| <li>Access tier per program (Basic / Premium) for lock display</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-stripe);"></span> Stripe (via API)</div> | |
| <ul> | |
| <li>User's subscription tier — determines which programs show as locked</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-bunny);"></span> Bunny Stream / CDN</div> | |
| <ul> | |
| <li>Program cover images (thumbnail URLs)</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- ─── 4. PROGRAM DETAIL ─── --> | |
| <div class="screen-card" id="program"> | |
| <div class="screen-label">Screen 04</div> | |
| <div class="screen-title">Program Detail</div> | |
| <div class="phone-frame"> | |
| <div class="phone-screen" style="padding-bottom: 68px;"> | |
| <!-- Hero --> | |
| <div class="w-thumbnail tall" style="margin: -12px -16px 12px; width: calc(100% + 32px); border-radius: 0;"></div> | |
| <div style="font-family: 'Cinzel', serif; font-size: 16px; font-weight: 600; margin-bottom: 4px;">Lunar Rise</div> | |
| <div style="font-size: 10px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.5;">A 4-week flexibility journey to unlock your body's potential.</div> | |
| <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px;"> | |
| <div class="w-card-sub">Progress</div> | |
| <div class="w-card-sub">3 of 10</div> | |
| </div> | |
| <div class="w-progress"><div class="w-progress-fill" style="width: 30%;"></div></div> | |
| <!-- Week 1 (expanded) --> | |
| <div style="margin-top: 14px;"> | |
| <div class="w-week-header"> | |
| <div> | |
| <div class="w-week-title">Week 1: Foundation</div> | |
| <div class="w-week-count">2/3 complete</div> | |
| </div> | |
| <div class="w-week-chevron">↓</div> | |
| </div> | |
| <div class="w-lesson-row"> | |
| <div class="w-check done"></div> | |
| <div class="w-lesson-info"> | |
| <div class="w-lesson-name">Full Body Flow</div> | |
| <div class="w-lesson-dur">20 min</div> | |
| </div> | |
| <div class="w-play-icon">▶</div> | |
| </div> | |
| <div class="w-lesson-row"> | |
| <div class="w-check done"></div> | |
| <div class="w-lesson-info"> | |
| <div class="w-lesson-name">Hip Opener Basics</div> | |
| <div class="w-lesson-dur">15 min</div> | |
| </div> | |
| <div class="w-play-icon">▶</div> | |
| </div> | |
| <div class="w-lesson-row"> | |
| <div class="w-check"></div> | |
| <div class="w-lesson-info"> | |
| <div class="w-lesson-name">Shoulder Mobility</div> | |
| <div class="w-lesson-dur">12 min</div> | |
| </div> | |
| <div class="w-play-icon">▶</div> | |
| </div> | |
| </div> | |
| <!-- Week 2 (collapsed) --> | |
| <div style="border-top: 1px solid var(--border); margin-top: 6px;"> | |
| <div class="w-week-header"> | |
| <div> | |
| <div class="w-week-title">Week 2: Expansion</div> | |
| <div class="w-week-count">0/3 complete</div> | |
| </div> | |
| <div class="w-week-chevron">›</div> | |
| </div> | |
| </div> | |
| <!-- Week 3 (collapsed) --> | |
| <div style="border-top: 1px solid var(--border);"> | |
| <div class="w-week-header"> | |
| <div> | |
| <div class="w-week-title">Week 3: Integration</div> | |
| <div class="w-week-count">0/2 complete</div> | |
| </div> | |
| <div class="w-week-chevron">›</div> | |
| </div> | |
| </div> | |
| <!-- Week 4 (locked) --> | |
| <div style="border-top: 1px solid var(--border); opacity: 0.4;"> | |
| <div class="w-week-header"> | |
| <div> | |
| <div class="w-week-title">Week 4: Mastery</div> | |
| <div class="w-week-count" style="color: var(--text-muted);">🔒 Premium</div> | |
| </div> | |
| <div class="w-week-chevron">›</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="tab-bar"> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Home</span> | |
| </div> | |
| <div class="tab-item active"> | |
| <div class="tab-icon filled"></div> | |
| <span>Library</span> | |
| </div> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Community</span> | |
| </div> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Profile</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="data-req"> | |
| <h4>Data Requirements</h4> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-api);"></span> Suriel API <span class="new-endpoint">NEW</span></div> | |
| <ul> | |
| <li><code>GET /api/v1/programs/:id</code> — full program with nested sections → lessons</li> | |
| <li>Each lesson: <code>id</code>, <code>title</code>, <code>duration</code>, <code>video_id</code>, <code>completed</code></li> | |
| <li>Completion state per user (stored server-side, synced on load)</li> | |
| <li>Access rules per section (which weeks are locked by tier)</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-stripe);"></span> Stripe (via API)</div> | |
| <ul> | |
| <li>Subscription tier check — determines locked weeks/lessons</li> | |
| <li>Premium upgrade deeplink for locked content CTA</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-bunny);"></span> Bunny Stream</div> | |
| <ul> | |
| <li>Program cover image (hero thumbnail)</li> | |
| <li>Lesson video IDs → HLS URLs resolved at play time</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- ─── 5. VIDEO PLAYER ─── --> | |
| <div class="screen-card" id="player"> | |
| <div class="screen-label">Screen 05</div> | |
| <div class="screen-title">Video Player</div> | |
| <div class="phone-frame"> | |
| <div class="phone-screen" style="padding: 0;"> | |
| <!-- Video area --> | |
| <div style="width: 100%; height: 180px; background: #0a0812; display: flex; align-items: center; justify-content: center; position: relative;"> | |
| <div style="width: 48px; height: 48px; border-radius: 50%; background: rgba(212,119,11,0.5); border: 2px solid rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center;"> | |
| <span style="color: white; font-size: 18px; margin-left: 3px;">▶</span> | |
| </div> | |
| <!-- Progress bar --> | |
| <div style="position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.15);"> | |
| <div style="width: 35%; height: 100%; background: var(--glow);"></div> | |
| </div> | |
| </div> | |
| <div style="padding: 14px 16px;"> | |
| <div style="font-family: 'Cinzel', serif; font-size: 14px; font-weight: 600; margin-bottom: 4px;">Shoulder Mobility</div> | |
| <div style="font-family: 'JetBrains Mono', monospace; font-size: 8px; color: var(--text-muted); margin-bottom: 12px; letter-spacing: 0.5px;">Charity Grace · 12 min · Week 1, Lesson 3</div> | |
| <div class="w-btn primary" style="font-size: 10px; height: 34px;">Mark Complete</div> | |
| <div style="display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 10px; border: 1px solid var(--border); border-radius: 8px;"> | |
| <div> | |
| <div style="font-family: 'JetBrains Mono', monospace; font-size: 8px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;">Next Up</div> | |
| <div style="font-size: 11px; margin-top: 2px;">Shoulder Stand I</div> | |
| </div> | |
| <span style="color: var(--glow); font-size: 12px;">→</span> | |
| </div> | |
| <div class="w-section" style="margin-top: 16px;">About This Lesson</div> | |
| <div style="font-size: 10px; color: var(--text-muted); line-height: 1.6;">Build shoulder range of motion through controlled circles, passive hangs, and active end-range holds. Focus on scapular awareness.</div> | |
| <div class="w-section" style="margin-top: 16px;">Related</div> | |
| <div class="w-scroll-row" style="margin: 0 -16px; padding: 0 16px 4px;"> | |
| <div class="w-scroll-card"> | |
| <div class="w-scroll-thumb"></div> | |
| <div class="w-scroll-title">Hip Opener Basics</div> | |
| <div class="w-scroll-meta">15 min</div> | |
| </div> | |
| <div class="w-scroll-card"> | |
| <div class="w-scroll-thumb"></div> | |
| <div class="w-scroll-title">Backbend Foundations</div> | |
| <div class="w-scroll-meta">22 min</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="data-req"> | |
| <h4>Data Requirements</h4> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-bunny);"></span> Bunny Stream CDN</div> | |
| <ul> | |
| <li>HLS manifest URL: <code>https://vz-*.b-cdn.net/{video_id}/playlist.m3u8</code></li> | |
| <li>Adaptive bitrate streaming — auto quality selection</li> | |
| <li>Thumbnail URL for poster frame</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-api);"></span> Suriel API <span class="new-endpoint">NEW</span></div> | |
| <ul> | |
| <li><code>GET /api/v1/lessons/:id</code> — lesson metadata (title, instructor, duration, description)</li> | |
| <li><code>POST /api/v1/lessons/:id/complete</code> — mark lesson complete, returns updated progress</li> | |
| <li><code>GET /api/v1/lessons/:id/next</code> — next lesson in program sequence</li> | |
| <li>Related lessons (same program or tag-based)</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-device);"></span> Device</div> | |
| <ul> | |
| <li>Playback position (local persistence for resume)</li> | |
| <li>Orientation lock / fullscreen via system APIs</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- ─── 6. COMMUNITY ─── --> | |
| <div class="screen-card" id="community"> | |
| <div class="screen-label">Screen 06</div> | |
| <div class="screen-title">Community</div> | |
| <div class="phone-frame"> | |
| <div class="phone-screen" style="padding: 0;"> | |
| <div class="w-community-header" style="margin: 0; padding: 8px 16px;"> | |
| <span>community.whimsyforge.co</span> | |
| <span class="x">×</span> | |
| </div> | |
| <div class="w-community-body"> | |
| <!-- Circle community content --> | |
| <div style="font-family: 'Cinzel', serif; font-size: 13px; font-weight: 600; margin-bottom: 4px;">Whimsy Forge Community</div> | |
| <div style="font-family: 'JetBrains Mono', monospace; font-size: 8px; color: var(--text-muted); margin-bottom: 12px; letter-spacing: 0.5px;">POWERED BY CIRCLE</div> | |
| <div class="w-community-post"> | |
| <div class="w-community-post-header"> | |
| <div class="w-community-avatar"></div> | |
| <div class="w-community-author">@charity-grace</div> | |
| <span style="font-size: 7px; color: var(--text-muted); margin-left: auto;">2h ago</span> | |
| </div> | |
| <div class="w-community-text">New tutorial dropping tomorrow! Fairy wings costume build — full walkthrough from wire frame to finished piece.</div> | |
| </div> | |
| <div class="w-community-post"> | |
| <div class="w-community-post-header"> | |
| <div class="w-community-avatar"></div> | |
| <div class="w-community-author">@lilly-chanel</div> | |
| <span style="font-size: 7px; color: var(--text-muted); margin-left: auto;">5h ago</span> | |
| </div> | |
| <div class="w-community-text">Week 3 of Lunar Rise complete! Front splits are getting so close. Anyone else working through this program?</div> | |
| </div> | |
| <div class="w-community-post"> | |
| <div class="w-community-post-header"> | |
| <div class="w-community-avatar"></div> | |
| <div class="w-community-author">@maya-rose</div> | |
| <span style="font-size: 7px; color: var(--text-muted); margin-left: auto;">1d ago</span> | |
| </div> | |
| <div class="w-community-text">The shoulder mobility lesson changed everything for my handstand practice. Thank you!</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="data-req"> | |
| <h4>Data Requirements</h4> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-circle);"></span> Circle</div> | |
| <ul> | |
| <li>Full community loaded in WebView — Circle handles all rendering</li> | |
| <li>SSO token passed to auto-login user (OAuth2 flow)</li> | |
| <li>Cookie persistence via <code>sharedCookiesEnabled</code> — session survives app restarts</li> | |
| <li>App download banners hidden via minimal CSS injection</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-api);"></span> Suriel API <span class="new-endpoint">NEW</span></div> | |
| <ul> | |
| <li><code>GET /api/v1/auth/circle-sso</code> — generate SSO URL with pre-authenticated token</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-device);"></span> Device</div> | |
| <ul> | |
| <li>WebView cookie jar (persisted across sessions)</li> | |
| <li>Deep link handling: <code>whimsyforge://community/post/:id</code></li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- ─── 7. PROFILE ─── --> | |
| <div class="screen-card" id="profile"> | |
| <div class="screen-label">Screen 07</div> | |
| <div class="screen-title">Profile & Settings</div> | |
| <div class="phone-frame"> | |
| <div class="phone-screen" style="padding-bottom: 68px;"> | |
| <div class="w-avatar">CG</div> | |
| <div class="w-profile-name">Charity Grace</div> | |
| <div class="w-profile-email">charity@charitygrace.me</div> | |
| <!-- Stats --> | |
| <div class="w-stat-row"> | |
| <div class="w-stat"> | |
| <div class="w-stat-num">23</div> | |
| <div class="w-stat-label">Lessons</div> | |
| </div> | |
| <div class="w-stat"> | |
| <div class="w-stat-num">1</div> | |
| <div class="w-stat-label">Programs</div> | |
| </div> | |
| <div class="w-stat"> | |
| <div class="w-stat-num">4.5</div> | |
| <div class="w-stat-label">Hours</div> | |
| </div> | |
| </div> | |
| <!-- Subscription --> | |
| <div class="w-card"> | |
| <div style="display: flex; justify-content: space-between; align-items: center;"> | |
| <div> | |
| <div class="w-card-title">Premium Plan</div> | |
| <div class="w-card-sub">$20/mo · Renews Apr 15, 2026</div> | |
| </div> | |
| <span class="w-badge enrolled">Active</span> | |
| </div> | |
| <div style="margin-top: 8px;"> | |
| <span style="font-size: 9px; color: var(--glow); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.5px;">MANAGE SUBSCRIPTION →</span> | |
| </div> | |
| </div> | |
| <!-- Settings --> | |
| <div class="w-section">Settings</div> | |
| <div class="w-setting-row"> | |
| <span>Push Notifications</span> | |
| <div class="w-toggle"></div> | |
| </div> | |
| <div class="w-setting-row"> | |
| <span>Download over Wi-Fi only</span> | |
| <div class="w-toggle off"></div> | |
| </div> | |
| <div class="w-setting-row"> | |
| <span>Auto-play next lesson</span> | |
| <div class="w-toggle"></div> | |
| </div> | |
| <div style="margin-top: 20px;"> | |
| <div class="w-btn outline" style="color: #FF453A; border-color: rgba(255,69,58,0.3);">Sign Out</div> | |
| </div> | |
| </div> | |
| <div class="tab-bar"> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Home</span> | |
| </div> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Library</span> | |
| </div> | |
| <div class="tab-item"> | |
| <div class="tab-icon"></div> | |
| <span>Community</span> | |
| </div> | |
| <div class="tab-item active"> | |
| <div class="tab-icon filled"></div> | |
| <span>Profile</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="data-req"> | |
| <h4>Data Requirements</h4> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-api);"></span> Suriel API <span class="new-endpoint">NEW</span></div> | |
| <ul> | |
| <li><code>GET /api/v1/me</code> — user profile (name, email, avatar)</li> | |
| <li><code>GET /api/v1/me/stats</code> — aggregated progress (lessons completed, hours, programs)</li> | |
| <li><code>PATCH /api/v1/me/settings</code> — notification prefs, autoplay, download settings</li> | |
| <li><code>DELETE /api/v1/auth/session</code> — sign out (revoke tokens)</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-stripe);"></span> Stripe (via API)</div> | |
| <ul> | |
| <li>Subscription object: <code>plan</code>, <code>status</code>, <code>current_period_end</code>, <code>cancel_at_period_end</code></li> | |
| <li>Stripe Customer Portal URL for "Manage Subscription" link</li> | |
| <li>Plan name + price mapping (Premium $20/mo, $60/qtr, $180/yr; Basic $10/mo)</li> | |
| </ul> | |
| </div> | |
| <div class="data-source"> | |
| <div class="data-source-label"><span class="data-dot" style="background: var(--source-apns);"></span> Push (APNs)</div> | |
| <ul> | |
| <li>Device push token (registered on notification opt-in)</li> | |
| <li><code>POST /api/v1/me/devices</code> — register device token for push</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- ═══════════════ SUMMARY ═══════════════ --> | |
| <section class="summary-section"> | |
| <hr class="summary-divider"> | |
| <h2>Data <span>Sources</span></h2> | |
| <p class="summary-intro">Every external system the v1 app depends on, and what it provides.</p> | |
| <div class="summary-grid"> | |
| <div class="summary-card"> | |
| <div class="summary-card-header"> | |
| <div class="summary-card-dot" style="background: var(--source-api);"></div> | |
| <div class="summary-card-title">Suriel API (Rails)</div> | |
| </div> | |
| <ul> | |
| <li>Auth: JWT login, registration, token refresh, session revocation</li> | |
| <li>Circle SSO: generate OAuth2 redirect URL with pre-auth token</li> | |
| <li>User profile: name, email, avatar, settings</li> | |
| <li>Programs catalog: list, detail with nested weeks → lessons</li> | |
| <li>Progress tracking: enrollment, lesson completion, aggregated stats</li> | |
| <li>Videos: featured list, lesson metadata, related lessons</li> | |
| <li>Device registration: push token storage for APNs</li> | |
| </ul> | |
| </div> | |
| <div class="summary-card"> | |
| <div class="summary-card-header"> | |
| <div class="summary-card-dot" style="background: var(--source-stripe);"></div> | |
| <div class="summary-card-title">Stripe</div> | |
| </div> | |
| <ul> | |
| <li>Subscription status & tier (Basic / Premium) — gates content access</li> | |
| <li>Plan details: price, billing interval, renewal date</li> | |
| <li><code>cancel_at_period_end</code> for cancellation state</li> | |
| <li>Customer Portal URL for self-serve subscription management</li> | |
| <li>Accessed server-side only — API proxies to mobile</li> | |
| </ul> | |
| </div> | |
| <div class="summary-card"> | |
| <div class="summary-card-header"> | |
| <div class="summary-card-dot" style="background: var(--source-bunny);"></div> | |
| <div class="summary-card-title">Bunny Stream CDN</div> | |
| </div> | |
| <ul> | |
| <li>HLS manifests: adaptive bitrate video streaming</li> | |
| <li>Thumbnail URLs for video cards and program covers</li> | |
| <li>Direct CDN access from app (no API proxy needed)</li> | |
| <li>iOS: native HLS support. Web: HLS.js polyfill</li> | |
| </ul> | |
| </div> | |
| <div class="summary-card"> | |
| <div class="summary-card-header"> | |
| <div class="summary-card-dot" style="background: var(--source-circle);"></div> | |
| <div class="summary-card-title">Circle Community</div> | |
| </div> | |
| <ul> | |
| <li>Full community rendered in WebView (Circle owns UI)</li> | |
| <li>OAuth2 SSO for seamless login from app</li> | |
| <li>Community activity feed snippet for Home teaser</li> | |
| <li>Cookie-based session persistence across app launches</li> | |
| </ul> | |
| </div> | |
| <div class="summary-card"> | |
| <div class="summary-card-header"> | |
| <div class="summary-card-dot" style="background: var(--source-apns);"></div> | |
| <div class="summary-card-title">Apple Push (APNs)</div> | |
| </div> | |
| <ul> | |
| <li>Push notifications: new lessons, community replies, reminders</li> | |
| <li>Requires Apple Developer Program enrollment</li> | |
| <li>Device token registered via API on notification opt-in</li> | |
| <li>Server-side push via Suriel (new background job)</li> | |
| </ul> | |
| </div> | |
| <div class="summary-card"> | |
| <div class="summary-card-header"> | |
| <div class="summary-card-dot" style="background: var(--source-device);"></div> | |
| <div class="summary-card-title">On-Device</div> | |
| </div> | |
| <ul> | |
| <li>JWT + refresh token in Expo SecureStore / Keychain</li> | |
| <li>Video playback position (resume from where you left off)</li> | |
| <li>WebView cookie jar for Circle session persistence</li> | |
| <li>User preferences cache (settings, last viewed screen)</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- NEW ENDPOINTS --> | |
| <div class="endpoints-section"> | |
| <h3>New API <span>Endpoints</span></h3> | |
| <p class="endpoints-sub">Endpoints that need to be built in Suriel to support v1. None of these exist today.</p> | |
| <div class="endpoint-list"> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method post">POST</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/auth/login</div> | |
| <div class="endpoint-desc">Email + password authentication, returns JWT + refresh token</div> | |
| <div class="endpoint-screens">Login</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method post">POST</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/auth/register</div> | |
| <div class="endpoint-desc">New account creation with email verification</div> | |
| <div class="endpoint-screens">Login</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method post">POST</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/auth/refresh</div> | |
| <div class="endpoint-desc">Exchange refresh token for new JWT</div> | |
| <div class="endpoint-screens">All authenticated screens</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method get">GET</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/auth/circle-sso</div> | |
| <div class="endpoint-desc">Generate Circle OAuth2 redirect URL with pre-authenticated session</div> | |
| <div class="endpoint-screens">Login, Community</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method get">GET</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/me</div> | |
| <div class="endpoint-desc">Current user profile, subscription tier, and settings</div> | |
| <div class="endpoint-screens">Home, Profile</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method get">GET</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/me/progress</div> | |
| <div class="endpoint-desc">Active enrollment, completed lessons list, next lesson, streak data</div> | |
| <div class="endpoint-screens">Home</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method get">GET</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/me/stats</div> | |
| <div class="endpoint-desc">Aggregated progress: total lessons, hours, programs completed</div> | |
| <div class="endpoint-screens">Profile</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method patch">PATCH</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/me/settings</div> | |
| <div class="endpoint-desc">Update user preferences (notifications, autoplay, download prefs)</div> | |
| <div class="endpoint-screens">Profile</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method get">GET</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/programs</div> | |
| <div class="endpoint-desc">All programs with enrollment status, completion %, access tier</div> | |
| <div class="endpoint-screens">Library, Home</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method get">GET</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/programs/:id</div> | |
| <div class="endpoint-desc">Single program with nested weeks → lessons, completion per lesson</div> | |
| <div class="endpoint-screens">Program Detail</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method get">GET</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/lessons/:id</div> | |
| <div class="endpoint-desc">Lesson metadata, video ID, instructor, description, related</div> | |
| <div class="endpoint-screens">Player</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method post">POST</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/lessons/:id/complete</div> | |
| <div class="endpoint-desc">Mark lesson complete, returns updated program progress</div> | |
| <div class="endpoint-screens">Player</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method get">GET</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/videos/featured</div> | |
| <div class="endpoint-desc">Curated video list for home screen carousel</div> | |
| <div class="endpoint-screens">Home</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method post">POST</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/me/devices</div> | |
| <div class="endpoint-desc">Register device push token for APNs notifications</div> | |
| <div class="endpoint-screens">Profile (on notification opt-in)</div> | |
| </div> | |
| </div> | |
| <div class="endpoint-item"> | |
| <span class="endpoint-method post">DELETE</span> | |
| <div> | |
| <div class="endpoint-path">/api/v1/auth/session</div> | |
| <div class="endpoint-desc">Sign out: revoke tokens, clear server session</div> | |
| <div class="endpoint-screens">Profile</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- ═══════════════ FOOTER ═══════════════ --> | |
| <footer style="text-align: center; padding: 40px 24px 60px; border-top: 1px solid var(--border); max-width: 1200px; margin: 0 auto;"> | |
| <div style="font-family: 'Cinzel', serif; font-size: 14px; color: var(--text-muted); margin-bottom: 8px;">Whimsy Forge</div> | |
| <div style="font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--text-muted); letter-spacing: 1px; opacity: 0.5;">MOBILE V1 WIREFRAMES · SPIKE/MOBILE-APP · MARCH 2026</div> | |
| </footer> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment