docs: tag cookbook categories as Reference on the examples page#3278
Open
bartlomieju wants to merge 3 commits into
Open
docs: tag cookbook categories as Reference on the examples page#3278bartlomieju wants to merge 3 commits into
bartlomieju wants to merge 3 commits into
Conversation
4750e18 to
03e399b
Compare
Add a short, ordered 'New to Deno? Start here' strip at the top of the examples landing page so newcomers have an obvious entry path, and tag the reference-style snippet categories (File system, System, Web standard APIs, Encoding) with a small Reference label so they read as a cookbook rather than tutorial-grade guides. Both are data-driven in _data.ts.
7768977 to
2bc69a6
Compare
The landing page already stacks Featured, a type-filter bar, and a category pill nav above the lists; a numbered Start here band on top overlapped with Featured and crowded the page. Keep the lightweight Reference category labels, which add signal without another band.
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.
Tags the reference-style snippet categories (File system, System, Web
standard APIs, Encoding) with a small Reference label so they read as a
cookbook to copy from rather than tutorial-grade guides. This is a light,
data-driven treatment (a cookbookCategories list in _data.ts).
An earlier version of this PR also added a numbered "New to Deno? Start
here" strip at the top of the page, but that overlapped with the existing
Featured section and crowded a landing page that already stacks Featured,
a type-filter bar, and a category nav above the lists, so it was dropped.