forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Landing page: groups of features (github#22313)
* homepage: reduce padding below search area Bring as much useful content up "above the fold". * homepage: add groups for the front page sections Group the homepage links into sections that map to the GitHub features page (`/features`) plus two groups that are bespoke to the docs ("Get started" and "Developers"). * homepage: update group design Group the feature list area using the design exploration work by @arisacoba. Remove the description. * homepage: remove ungrouped items from main area Remove ungrouped items (like the external links) from the main feature area. Users can still navigate to ungrouped items in the sidebar. * fix tsc error, use Link component * homepage: support empty icon in group Don't assume that we have icons everywhere on the landing page groups. * homepage: drop octocat/invertocat Looks weird with the modern icons, looks bad in dark mode. Drop them for now. * homepage: document the childGroups frontmatter property * homepage: don't test that sidebar == main content We're reducing the links on the homepage in the main content area, but the sidebar should be the complete list of products. Remove the tests that ensure that the main content area has all the sidebar content. But keep the tests that ensure that the sidebar content has all the links in the main content area. * homepage: remove "GitHub" doc set The "GitHub" doc set "will be removed soon as we keep moving more content out of it, so let's not include it here to keep the page more evergreen." * homepage: don't test that `/github` is linked on the main page We're removing the `/github` doc set, and it's now not in the main page grouped links. Remove the test that `/github` exists, now look for `/get-started`. * homepage: use octicons instead of images The images from https://github.com/features will be updated 🔜 - in the meantime, let's use octicons which are consistent and give visual interest. * homepage: use octicons from @primer/octicons-react Using the react components adds `<svg>` elements instead of `<img>` elements, which lets the element use the current fill color, supporting both light and dark themes. Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com> Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
- Loading branch information
1 parent
501e162
commit 0fee9ae
Showing
8 changed files
with
174 additions
and
47 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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