Commit 679ba8e
feat(web): mobile-friendly + responsive sqlritedb.com (SQLR-37) (#119)
Mobile-first pass over the marketing site so SEO + Core Web Vitals
ranking signals don't leak before the rest of the SEO ticket sequence
lands. Renders cleanly with no horizontal scroll at 375 / 390 / 768 /
1024px+ breakpoints; tap targets on primary controls are >= 44px.
- nav.tsx: client-side hamburger + full-width drawer below 760px;
body-scroll lock and Esc-to-close while open.
- docs/page.tsx: sticky <details> "On this page" panel surfaces the
full TOC on phones (desktop sidebar + right TOC unchanged).
- layout.tsx: viewport export with device-width / dark themeColor so
iOS Safari + Chrome mobile chrome stop flashing white.
- globals.css: 900 / 640 / 380px responsive layer — wrap padding,
hero / CTA / sec-head spacing, terminal / install-bar / SDK / bench /
footer / desktop showcase tuning, architecture row stacking, SQL
table -> stacked cards under 640px, SDK tab bar -> horizontal scroll,
hamburger + mobile-menu + docs-mobile-menu styles. Global guard
switched to html { overflow-x: clip } to preserve position: sticky.
- README.md: documents the responsive layers + section-local
breakpoint convention for new sections.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 33bab4a commit 679ba8e
5 files changed
Lines changed: 682 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
95 | 132 | | |
96 | 133 | | |
97 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
61 | 94 | | |
62 | 95 | | |
63 | 96 | | |
| |||
0 commit comments