Flatten the navbar, remove the playground, and share one type system with winglang.io - #1055
Open
eladb wants to merge 1 commit into
Open
Flatten the navbar, remove the playground, and share one type system with winglang.io#1055eladb wants to merge 1 commit into
eladb wants to merge 1 commit into
Conversation
…with winglang.io winglang.io is served as one static bundle: the Webflow marketing pages and this project's build. The two halves had drifted apart. This brings them back together and removes what the shutdown left behind. One navbar: both halves are now Install / Docs / Examples / Blog with a GitHub link on the right. Drops Learn, Libraries and the Community & Support dropdown from the bar; /learn-wing stays and is linked from the footer. Deletes community.tsx. Replaces the live-star-count button with a plain GitHub link. The playground: the hosted playground needed a compiler service and AWS infrastructure that went away with the company. Removes the /play route, the navbar item, the Play code-block button, the calls to action on /install and the landing page, the contributors' guide section, and repoints six FAQ pages at /install and the local simulator. Unlinks twelve playground links in archived blog posts, leaving their text intact. Drops the footer Press Kit item. Typography: declares TASA Orbiter once as Text (400/500/600/700) and Display (600) under the names the marketing bundle uses, fixes the Semibold face that was declared against the Display OTF, and unifies weights and the monospace stack so the docs stop reading heavier than the rest of the site. Also points three docs links at routes rather than raw source paths. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Branch:
claude/resume-qlgc79· Base:main(ae70caa, after #1054)winglang.io is served as one static bundle: the Webflow marketing pages at
/,/aboutand/contact, and this project's build at/docs,/blog,/contributing,/installand/learn-wing. The two halves had drifted apart.This brings them back together, and removes what the shutdown left behind.
One navbar
The two halves ran different top bars, sharing only Install, Learn and GitHub, so
clicking Docs from the homepage swapped the entire bar under the visitor: Docs,
Blog and Use Cases vanished, and Libraries and Examples appeared from nowhere.
Both bars are now Install · Docs · Examples · Blog, with a GitHub link on the
right. Of eight comparable language sites surveyed, six — Rust, Zig, Gleam, Elixir,
Swift and Roc — use a flat bar with no dropdowns at all; the two that don't, Go and
Deno, are far larger properties.
/learn-wingis a genuinely useful curated hub, so it stays and is linked fromthe footer's Documentation column — whose Installation entry also stops
pointing at
/docs, now that/installexists.src/pages/community.tsxis deleted along with its navbar entry.on every page load, and its icon and label stacked vertically because the
pseudo-element was
display: flexinside a flex row.bar had eight items and wrapped.
The playground
The hosted playground needed a compiler service and AWS infrastructure behind it.
Both went away with the company, so
/playcannot come back. Everything that ledthere is gone: the navbar item, the
/playroute, the Play button the code-blocktheme rendered on any fence tagged
playground, the calls to action on/installand the landing page, the contributors' guide section on embedding the playground,
the maintainers' operations entry, and the Playground section of
start-here/learn-more.Six FAQ pages that offered the playground as a way to try Wing now point at
/installand the local simulator. Theplaygroundfence keyword is left inplace — nothing reads it any more, and stripping it would touch 27 code blocks for
no visible change.
Archived blog posts keep their text, as #1054 established for Discord, but their
twelve playground links are unlinked: a link that 404s is worse than a sentence
about something that used to exist.
The footer's Press Kit entry also goes — a Google Drive folder on company
infrastructure that nobody can reach.
Typography
Both halves already used TASA Orbiter, but not in a way that could stay in sync:
TASA Orbiter Texthere vsTasaOrbiterText-Regular), so each half downloaded its own copy of the samefaces and no shared rule could target both. The faces are now declared once, as
TASA Orbiter Text(400/500/600/700) andTASA Orbiter Display(600) — thenames the marketing bundle already uses, with weight on the weight axis.
TASAOrbiterText-Semiboldwas declared against the Display OTF, so anythingasking for text semibold silently got the display face.
side, and navbar links were the display face at 600 where the marketing bar is the
text face at 500. That is why the docs read heavier than the rest of the site.
--ifm-font-family-monospace.Also
Three docs pages linked to raw Docusaurus source paths (
../NN-name.md), which arenot routes and 404 for a reader:
typescript/intro,typescript/inflightsandtools/wing-console.Verification
Clean build, 95 redirect stubs, no
/communityor/playroute emitted. Measuredin headless Chromium at 1280/1440/1920 and 390×844: all four items visible on every
page, the GitHub link on a single row, and both bars reporting the same family,
weight, size and 80px bar height. No horizontal overflow. On the merged site, 263
internal links resolve and 362/362 sitemap entries are absolute.
Generated by Claude Code