Skip to content

feat: add npm link next to GitHub in the site header - #137

Merged
itsflaid merged 1 commit into
mainfrom
feat/web-npm-cta
Oct 31, 2026
Merged

itsflaid merged 1 commit into
mainfrom
feat/web-npm-cta

Conversation

@itsflaid

Copy link
Copy Markdown
Owner

Summary

  • Header: npm button next to the GitHub button (desktop), and an npm entry in the mobile menu. Both use SITE.npm / SITE.github.
  • The header collapses to the mobile menu at 58rem instead of 52rem. With the extra button the bar overflowed horizontally between 832px and ~900px.

Checks

astro check 0 errors, astro build passes. No horizontal overflow at 1280, 1024, 940, 930, 920, 833 and 390px.


Generated by Claude Code

Adds an npm button beside the GitHub button and an npm entry in the mobile menu, both from SITE.npm. The header now collapses at 58rem instead of 52rem so the extra button does not overflow just above the old breakpoint.
@vercel

vercel Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
devmap-web Ready Ready Preview Oct 31, 2026 3:05am UTC

@github-actions

Copy link
Copy Markdown

✅ Welcome ke DevMap!

Terima kasih sudah buat PR. Pastikan checklist ini terpenuhi sebelum review:

  • devmap doctor lolos (tanpa error)
  • Test pnpm test:cli lolos (semua pass)
  • New commands diupdate di docs/commands.md
  • Tidak ada console.log di command files
  • Registry terms sesuai standar (baca docs/guide/05-signal-registry.md)
  • Code style match dengan CONTRIBUTING.md

CI akan jalan otomatis pada setiap update. Kalau gagal, akan muncul link run di komentar ini.

Kalau DevMap membantu, tolong star ya: https://github.com/itsflaid/devmap

Terima kasih kontribusinya! 🙏

@itsflaid
itsflaid merged commit 6f81434 into main Oct 31, 2026
3 checks passed
@itsflaid
itsflaid deleted the feat/web-npm-cta branch October 31, 2026 03:11

This branch was successfully deployed

1 active deployment
Preview — 16a5c699 Deployed Oct 31, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants