Commit 42f1167
committed
feat: version-aware homepage install card
When the selected Boost version is not the latest, the homepage's
tabbed install card collapses to a short paragraph and a teal
"See Documentation" CTA inside the same card chrome. Tabs, panels,
dropdowns, and the per-option <style> block are skipped entirely.
The non-latest signal is selected_version_is_non_latest from the
existing selected_version context processor (URL slug -> cookie ->
most-recent fallback), so the card flips automatically when the user
picks a non-latest release from the navbar dropdown. No view changes
needed.
The older variant tightens the outer card gap to space-large so the
simpler content doesn't leave an awkward vertical gap, and neutralizes
the site-wide p { @apply py-5 } on the description.1 parent 971feab commit 42f1167
2 files changed
Lines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
173 | 196 | | |
174 | 197 | | |
175 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
40 | 58 | | |
41 | 59 | | |
42 | 60 | | |
| |||
131 | 149 | | |
132 | 150 | | |
133 | 151 | | |
| 152 | + | |
134 | 153 | | |
135 | 154 | | |
0 commit comments