Commit 09644f5
fix(post-publish): PricingPage Anonymous storage cell, Team price label, Storage(S3) → Object storage; docs code-block lang badges (#116)
Five small UI polish items from the PB04 post-publish bug-hunt:
1. PricingPage Anonymous "Storage" cell rendered '—' but plans.yaml has
storage_storage_mb=10 for anonymous; backend really does return a
10 MB 24h-TTL bucket. Cell now reads "10 MB / 24h TTL".
2. Homepage SERVICES grid label "Storage (S3)" implied AWS S3, but the
live backend is DigitalOcean Spaces (S3-compatible, not AWS).
Renamed to "Storage (S3-compatible)".
3. PricingPage Team tier headline price was "coming soon" with no
number, which read as vaporware. Now shows "$199/mo" (per
plans.yaml team tier) with the existing "soon" badge as the
availability signal. CTA stays empty until launch.
4. The first two code blocks on /docs (quickstart.md, services.md
curl examples in the InstaNode-dev/content repo) author their
fences without a language tag (```\ncurl ...\n```), so they
render monochrome with no badge. Added a conservative sniffLang
pass in markdown.tsx that flags unlabelled fences as 'bash' only
when the first non-empty line starts with curl/kubectl/npm/etc.
Explicit fences are never overridden; the existing "no language
class when fence has no language tag" test still passes because
"plain text" isn't shell-ish.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ef33325 commit 09644f5
3 files changed
Lines changed: 57 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
77 | 86 | | |
78 | 87 | | |
79 | 88 | | |
| |||
126 | 135 | | |
127 | 136 | | |
128 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
129 | 168 | | |
130 | 169 | | |
131 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
90 | | - | |
91 | | - | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
131 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
| |||
0 commit comments