Skip to content

fix: share the site footer between the home and /why pages#1045

Merged
vivek7405 merged 1 commit into
mainfrom
feature/why-page-footer
Jul 22, 2026
Merged

fix: share the site footer between the home and /why pages#1045
vivek7405 merged 1 commit into
mainfrom
feature/why-page-footer

Conversation

@vivek7405

Copy link
Copy Markdown
Collaborator

The full marketing footer lived inline only in website/app/page.ts, so /why rendered without it. Extract it into website/lib/site-footer.ts and render ${siteFooter()} on both pages so the site reads as one system. Section anchors now use /#id so they resolve from any page.

  • New lib/site-footer.ts: pure SSR-time html helper (no client globals, never ships the page).
  • app/page.ts: inline footer replaced; trimmed now-unused link imports.
  • app/why/page.ts: renders the shared footer after </main>.

Verified: webjs check + tsc --noEmit pass; both / and /why serve the footer live.

Closes #1044

The full marketing footer lived only in app/page.ts, so /why rendered
without it. Extract it into lib/site-footer.ts and render it on both
pages so the site reads as one system. Section anchors now use /#id so
they resolve from any page, not only home.

Closes #1044
@vivek7405
vivek7405 merged commit 235abed into main Jul 22, 2026
10 checks passed
@vivek7405
vivek7405 deleted the feature/why-page-footer branch July 22, 2026 11:46
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.

dogfood: /why page missing the shared site footer

1 participant