Skip to content

A "Fork me on GitHub" ribbon instead of the nav GitHub button - #31

Merged
tannevaled merged 1 commit into
mainfrom
fork-ribbon
Oct 9, 2026
Merged

tannevaled merged 1 commit into
mainfrom
fork-ribbon

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

The nav bar's GitHub button and the hero's "Browse the source" both led to GitHub. This replaces them with a "Fork me on GitHub" corner ribbon (github.blog, 2008), drawn in CSS with the brand gradient so it follows the theme, linking to the library repository.

  • Shared sheet: the CSS is in styles.html, byte-identical across the landings that use the kit; the markup is partials/fork-ribbon.html.
  • The nav bar keeps clear of the ribbon below 1420px; the ribbon shrinks under 600px.
  • Checked in headless Chrome, light and dark, 1280 / 1440 / 390 px (device emulation): no horizontal scroll, theme toggle still clickable, ribbon clickable on phones.

🤖 Generated with Claude Code

…drop the hero's Browse the source

From the landing kit (logos/landing-kit, go-fileshare's sheet): the ribbon
links to github.com/go-ndarray/ndarray. The playground page keeps its nav bar
button, since a corner ribbon would cover the canvas.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 7fd414a into main Oct 9, 2026
7 checks passed
@tannevaled
tannevaled deleted the fork-ribbon branch October 9, 2026 13:23
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.

1 participant