Skip to content

chore: remove dead code from 10years page and make it fully static#17116

Merged
wackerow merged 2 commits into
devfrom
cleanup/10years-dead-code
Jan 20, 2026
Merged

chore: remove dead code from 10years page and make it fully static#17116
wackerow merged 2 commits into
devfrom
cleanup/10years-dead-code

Conversation

@pettinarip
Copy link
Copy Markdown
Member

@pettinarip pettinarip commented Jan 19, 2026

Summary

  • Remove unused 10years components (TenYearHomeBanner, CountDown, TenYearGlobe, countries.json ~480KB)
  • Remove dead NFTMintCard minting components (10 files) - mint has ended
  • Remove dead hooks (useGasPrice, useNetworkContract)
  • Remove dead contract data (TenYearsNFT.json, TenYearsNFT.ts)
  • Remove @/lib/torch directory and replace with pre-computed static data
  • Remove unused npm packages (canvas-confetti, react-globe.gl, three)

The 10years page is now fully static with zero blockchain/wagmi dependencies for the torch holder data.

Test plan

  • Verify 10years page renders correctly
  • Verify torch history swiper displays all holders
  • Verify NFT mint card shows "mint ended" message
  • Run type check passes
  • Run lint passes

Preview link

https://deploy-preview-17116.ethereum.it/10years

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 19, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 467f1e2
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/696e541133f7500008b706c3
😎 Deploy Preview https://deploy-preview-17116.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 55 (🟢 up 2 from production)
Accessibility: 94 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added dependencies 📦 Changes related to project dependencies tooling 🔧 Changes related to tooling of the project labels Jan 19, 2026
Copy link
Copy Markdown
Member

@wackerow wackerow left a comment

Choose a reason for hiding this comment

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

🔥

@wackerow wackerow merged commit 4cf874a into dev Jan 20, 2026
7 checks passed
@wackerow wackerow deleted the cleanup/10years-dead-code branch January 20, 2026 04:08
@wackerow wackerow mentioned this pull request Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies 📦 Changes related to project dependencies tooling 🔧 Changes related to tooling of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants