Skip to content

Join the marketing footer to the network footer band; release v0.24.0 - #104

Merged
0thernet merged 1 commit into
mainfrom
task/footer-merge
Sep 28, 2026
Merged

0thernet merged 1 commit into
mainfrom
task/footer-merge

Conversation

@0thernet

Copy link
Copy Markdown
Member

Summary

Product sites that mount MarketingSiteFooter followed by the @hraness/site-footer network footer render two stacked bars today. This release joins the pair into one band through two adjacency rules in product-marketing.css:

  • .hraness-marketing-footer:has(+ .hraness-site-footer) collapses the product row's 2rem 4rem bottom space to 2rem 1.25rem, so the two registers read as one band.
  • .hraness-marketing-footer + .hraness-site-footer sets the footer's documented --hraness-site-footer-measure seam to min(100%, measure) - 2 * gutter, which makes the network row's content land on the marketing column edge at every width.

Both landmarks, the product row's top rule, and the network row's hairline stay; only the double spacing and column drift go away. The seam is CSS-only: no props, no markup contract changes, and it reaches standalone, compiled, and compiler-adopter consumers through the existing stylesheets.

Requires @hraness/site-footer v0.20.0 for the in-flow footer; older pins keep working unchanged.

Test plan

  • bun run check — lint, typecheck, build, StyleX artifact + determinism gates, package smoke, 505 tests, all browser suites
  • New regression test pins the adjacency composition and both edges
  • Migrate stacking consumers to #v0.24.0 + #v0.20.0 in follow-ups

Generated with Devin

A marketing footer directly followed by the shared network footer
(.hraness-site-footer) now reads as one band instead of two stacked bars:
the product row's bottom space collapses to a compact gap and the network
row's content follows the marketing measure and gutter through the
documented --hraness-site-footer-measure seam, so both registers share one
column at every width. Both landmarks and both edges stay; only the double
spacing and column drift go away.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@0thernet
0thernet merged commit 96d5bdf into main Sep 28, 2026
5 checks passed
@0thernet
0thernet deleted the task/footer-merge branch September 28, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant