Skip to content

Start writing React components from Figma Designs #10

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

Open
ovflowd opened this issue May 30, 2024 · 3 comments
Open

Start writing React components from Figma Designs #10

ovflowd opened this issue May 30, 2024 · 3 comments

Comments

@ovflowd
Copy link
Member

ovflowd commented May 30, 2024

This is the issue that requires nodejs/nodejs.org to be already as a monorepo or have a way that we can import the React Components created from there;

We would also need to add the API Docs-specific Components to this repository within the mdx-react generator folder. Layouts (header, footer, navigation) must probably exist within the react-web generator (?).. I assume that a good chunk can be reused from the Node.js Website ones.

The Figma design is available here: https://www.figma.com/design/pu1vZPqNIM7BePd6W8APA5/Node.js?node-id=422-7923

@Avinashshiyani
Copy link

I can help you with that

@AugustinMauroy
Copy link
Member

AugustinMauroy commented Sep 11, 2024

Update on that:

  • nodejs/nodejs.org as a monorepo
  • i18n package
  • UI package

Once we've created the UI package, we can open an output suite to create the components.

@avivkeller
Copy link
Member

avivkeller commented May 20, 2025

#273 currently requires the following components1:

  • <CircularIcon color={...} symbol={...} />

Image

  • <ChangeHistory changes={...} />2, where changes is an array of objects in the form:
    { versions: ["vX.Y.Z", "vX.Y.Z"], url: "https://url/to/pr", label: "description of change" }

Image

Footnotes

  1. The names, and props they accept, can be changed as needed

  2. The styles are similar to <Select />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants