Repository navigation
Commit 1518355
authored
site: add Approved on SaaSHub badge to footer (#207)
* site: add Approved on SaaSHub badge to footer
Add a small SaaSHub badge under the beta status pill in the footer brand
block, linking to the Varve listing in a new tab.
The image is committed under apps/website/public/badges instead of
hotlinked from SaaSHub's CDN, so the page makes no third-party request
and the existing CSP (img-src 'self' data:) and Lighthouse third-party
budget of 0 still hold. Explicit width and height avoid layout shift.
Signed-off-by: K-Arthur <58142087+K-Arthur@users.noreply.github.com>
* test(website): refresh mobile full-page baselines for footer badge
The footer badge adds about 51px to the single-column mobile footer.
Desktop layouts are unchanged. Regenerated with Playwright Chromium on
Linux using the pinned fonts.conf.
Signed-off-by: K-Arthur <58142087+K-Arthur@users.noreply.github.com>
* fix(website): load footer badge eagerly so image-loaded checks pass
* test(website): refresh mobile baselines for footer badge; decline consent in background-removal capture
The footer badge makes the footer 51px taller, so the mobile full-page
captures for background removal, feedback and press need new baselines.
CI builds the site with ANALYTICS_DOMAIN, which shows the fixed analytics
consent banner. The background-removal mobile test did not decline it
(feedback and press already do), so its capture included the banner. On
master that stayed under the 2% tolerance; with a new baseline it would
have been baked in. The test now declines consent before navigation.
Feedback and press baselines are the CI actuals from run 41089160745.
They also pick up copy from #159 that the old baselines predate.
Signed-off-by: K-Arthur <58142087+K-Arthur@users.noreply.github.com>
---------
Signed-off-by: K-Arthur <58142087+K-Arthur@users.noreply.github.com>1 parent 0a874ac commit 1518355
13 files changed
Lines changed: 43 additions & 0 deletions
File tree
- apps/website
- public/badges
- src/components
- tests/e2e
- background-removal-feature.spec.ts-snapshots
- feedback.spec.ts-snapshots
- generative-editing.visual.spec.ts-snapshots
- press.spec.ts-snapshots
- updates.visual.spec.ts-snapshots
- visual.spec.ts-snapshots
| 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 | + | |
61 | 75 | | |
62 | 76 | | |
63 | 77 | | |
| |||
306 | 320 | | |
307 | 321 | | |
308 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
309 | 347 | | |
310 | 348 | | |
311 | 349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
0 commit comments