Skip to content

chore: delete the unreferenced snippets/home.jsx - #2305

Merged
GigaHierz merged 1 commit into
mainfrom
GigaHierz/remove-dead-home-snippet
Sep 2, 2026
Merged

chore: delete the unreferenced snippets/home.jsx#2305
GigaHierz merged 1 commit into
mainfrom
GigaHierz/remove-dead-home-snippet

Conversation

@GigaHierz

Copy link
Copy Markdown
Contributor

The hole, and the fix

snippets/home.jsx is 541 lines that nothing imports. Mintlify only renders a snippet a page imports, so it has never been served to a reader.

$ git grep -n "home.jsx" -- '*.mdx' '*.json' '*.jsx'
(no matches)

It is a stale duplicate of the CardGroup in home/celo.mdx. Keeping it has a real cost: every edit to that card deck has had to be made twice. #2301 hit this — the Lemonade→Luma swap and the Proof of Ship card removal both had to be applied to a file that renders nowhere.

It is also already rotten: its internal hrefs point at /about-celo/**, a tree renamed to /home/**, and at /about-celo/protocol/governance/voting-in-governance, which no longer exists.

What this does NOT do / residual risk

Deletes only. If someone wanted this deck as a reusable component, home/celo.mdx holds the current version and the file is one git revert away.

No redirect needed — AGENTS.md §2 covers pages, and this was never reachable. snippets/ is excluded from the orphan check by design, which is why the checker never flagged it.

Judgement calls

None. Discovered while auditing #2301's card-deck edits.

Issues

Closes: none. Follow-up from #2301.

Stacking / conflicts

Branched off main, independent. No other open PR touches snippets/.

Verification evidence

$ git grep -n "home.jsx" -- '*.mdx' '*.json' '*.jsx'
(no matches)

$ bash scripts/check-orphans.sh
No orphan pages found.

$ mint broken-links
success no broken links found

Remaining ops steps

  • none

Questions for the maintainer

None.

541 lines imported by nothing. `git grep "home.jsx"` across mdx, json and
jsx returns no matches, and Mintlify only renders a snippet that a page
imports, so this has never been served.

It duplicates the card deck in home/celo.mdx, which means every edit to
that deck has had to be made twice — #2301 updated both to swap the events
link and drop the Proof of Ship card. Its internal hrefs still point at
`/about-celo/**`, a tree that was renamed to `/home/**`, so the copy was
already stale.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@GigaHierz
GigaHierz requested a review from a team as a code owner September 2, 2026 17:26
@GigaHierz
GigaHierz requested a review from palango September 2, 2026 17:26
@GigaHierz
GigaHierz merged commit e1f8776 into main Sep 2, 2026
5 checks passed
@GigaHierz
GigaHierz deleted the GigaHierz/remove-dead-home-snippet branch September 2, 2026 21: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.

2 participants