Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

started work on icons section #387

Merged
merged 15 commits into from
Feb 8, 2023
Merged

started work on icons section #387

merged 15 commits into from
Feb 8, 2023

Conversation

lukasoppermann
Copy link
Contributor

@lukasoppermann lukasoppermann commented Feb 6, 2023

Once completed this fixes https://github.com/github/primer/issues/1630.

Related

Redirects

The following redirects are needed once this PR gets merged

Todo

  • build:icons needs to be run on build of docs the json from @primer/octicons-react can be used
  • ping @rezrah once this PR has been merged to add the redirects
  • Archive docs from octicons

Problems

  • blob-stream throws errors in the individual icon pages (will try to replace with native stream)
  • jsPDF creates an error when gatsby is built

@lukasoppermann lukasoppermann self-assigned this Feb 6, 2023
@lukasoppermann lukasoppermann temporarily deployed to github-pages February 6, 2023 16:54 — with GitHub Actions Inactive
@lukasoppermann lukasoppermann temporarily deployed to github-pages February 7, 2023 07:59 — with GitHub Actions Inactive
@lukasoppermann lukasoppermann temporarily deployed to github-pages February 7, 2023 09:05 — with GitHub Actions Inactive
@lukasoppermann lukasoppermann marked this pull request as ready for review February 7, 2023 10:50
@lukasoppermann lukasoppermann requested a review from a team as a code owner February 7, 2023 10:50
@lukasoppermann lukasoppermann force-pushed the migrate-octicons branch 2 times, most recently from 0e86dde to 258be60 Compare February 7, 2023 13:14
@lukasoppermann lukasoppermann force-pushed the migrate-octicons branch 3 times, most recently from ad8a698 to b67d755 Compare February 7, 2023 13:18
@lukasoppermann lukasoppermann force-pushed the migrate-octicons branch 2 times, most recently from 3f10d65 to e463729 Compare February 7, 2023 13:52
@lukasoppermann lukasoppermann temporarily deployed to github-pages February 7, 2023 14:34 — with GitHub Actions Inactive
src/components/icons.js Outdated Show resolved Hide resolved
@colebemis colebemis temporarily deployed to github-pages February 7, 2023 20:49 — with GitHub Actions Inactive
@colebemis colebemis temporarily deployed to github-pages February 7, 2023 21:40 — with GitHub Actions Inactive
Copy link
Contributor

@colebemis colebemis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this, @lukasoppermann! 💖

I made a few adjustments:

  • Updated the site to fetch the Octicon data from unpkg.com so we can get the latest data every time we build. This means that our documentation doesn't rely on the @primer/octicons version in node_modules being up-to-date.
  • Removed the hero and made a couple of styling updates.
  • Renamed "Icon overview" to "Overview" in the nav. "Icon overview" felt redundant nested under the "Icons" item.

Copy link
Contributor

@emilybrick emilybrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Thank you! ✨

@lukasoppermann lukasoppermann merged commit 540044c into main Feb 8, 2023
@lukasoppermann lukasoppermann deleted the migrate-octicons branch February 8, 2023 16:04
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.

3 participants