Skip to content

Remove "Shared marketing footer" and build docs specific one as per design - #3320

Merged
enf0rc3 merged 2 commits into
mainfrom
wl/footer-redesign
Aug 10, 2026
Merged

Remove "Shared marketing footer" and build docs specific one as per design#3320
enf0rc3 merged 2 commits into
mainfrom
wl/footer-redesign

Conversation

@enf0rc3

@enf0rc3 enf0rc3 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Replaces the footer fetched from octopus.com/fragments/footer with an Astro component built to the Figma design.

This is a big change to the status quo internal discussion here,

We have a preference for removing unrelated navigation where we can and a majority of the shared footer content is marketing and other channels, and newsletter.

Results:

  • Links live in src/data/footer.ts, wording in src/data/language.json.
  • Deletes the fetch, snapshot fallback, .env.*, the three microsite stylesheets, and the Marketo forms that only rendered inside the imported markup.
  • "Last updated" moves from the article body into the footer, per the design's anatomy. The article keeps dateModified as microdata.
  • The nav column now spans the footer row of the content grid so its divider reaches the bottom of the page (design).

TODO

  • Before merge, get the final answer regarding the value of the newsletter and if we should keep the shared footer or not.

Confirmed, remove shared footer, accept there will be a little future work to keep links up to date.

🤖 Generated with Claude Code

@enf0rc3
enf0rc3 force-pushed the wl/footer-redesign branch from 118f015 to 887d048 Compare August 10, 2026 02:40
@team-marketing-branch-protections

Copy link
Copy Markdown

Pull request environment is available at https://stoctodocspr3320.z22.web.core.windows.net.

You can view the ephemeral environment status in Octopus Deploy.

This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity.

@enf0rc3 enf0rc3 changed the title Build the footer in this repo instead of importing it Remove "Shared marketing footer" and build docs specific one as per design Aug 10, 2026
@enf0rc3
enf0rc3 marked this pull request as ready for review August 10, 2026 05:44
Comment thread src/data/footer.ts Outdated
Comment thread package.json
"dev": "npm-run-all --parallel dev:img dev:dictionary dev:astro dev:watch",
"dev:dictionary": "node ./dictionary-sorter.mjs",
"dev:img": "node ./src/themes/octopus/utilities/img.mjs",
"dev:astro": "astro dev --mode staging",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why astro dev --mode staging existed

It was there purely to serve the microsite footer, and my PR already removes it.

Astro loads .env.[mode] files, so --mode staging made pnpm dev pick up .env.staging — which held only the three shared-footer variables. Its own header comment spells out the purpose:

"Defaults match production. Edit temporarily to point at staging URLs (e.g. https://a.dev.octopus.com/...) when you want to preview upcoming shared navbar/footer changes locally before they ship to prod."

So: the footer HTML was fetched at build time from octopus.com/fragments/footer, and the flag let you repoint that fetch at a staging origin to preview footer changes before they went live. It was added in 247ce823e ("Integrate shared footer") — same commit that introduced the fetch.

With the fetch gone, both .env files are deleted and the mode has nothing left to load, so dev:astro is back to plain astro dev.

Comment thread README.md
footer has changed meaningfully and you want the safety net to stay roughly
current, or when `data-shared-source="fallback"` shows up on a deployed page.
Styles live in `src/styles/main.css` under `/* Footer */`. The footer repeats
the page's column template (`--page-grid-columns`) so its content lines up with

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My right-nav PR changed the way the central column and right-nav are positioned. I've merged it, so recommend you rebase and check that this positioning rule/comment is still accurate

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the heads up, checked and looks good to me

@borland borland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM. I have no complaints about the technical implementation, just a couple of small comments

enf0rc3 and others added 2 commits August 11, 2026 10:16
The footer came from https://octopus.com/fragments/footer at build time,
with CSS and JS loaded from the main site at page-view time. Replace it
with an Astro component built to the Figma design, and delete the fetch,
the snapshot fallback, and the Marketo forms that only ever rendered
inside the imported markup.

The nav column now spans the footer row of the content grid, so its
divider runs to the bottom of the page as the design shows.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The community Slack is being retired, so the link would break.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@enf0rc3
enf0rc3 force-pushed the wl/footer-redesign branch from 887d048 to 8d92795 Compare August 10, 2026 22:22
@enf0rc3
enf0rc3 requested a review from borland August 10, 2026 22:52
@enf0rc3
enf0rc3 merged commit 5e29e50 into main Aug 10, 2026
7 checks passed
@enf0rc3
enf0rc3 deleted the wl/footer-redesign branch August 10, 2026 23:08
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.

3 participants