Click the "Fork" button on the repository page to create a copy of the project in your GitHub account.
Clone the forked repository to your local machine:
Create a branch for your changes, named after what you're working on:
Implement the changes: add new components, fix bugs or improve the documentation.
To add a component, open the collection file in src/features/snippets/data/ and place your snippet at the end of the array, below all the others. New collections are registered once in src/features/snippets/config/collections.ts — the route, navigation and page metadata are generated from it.
src/features/snippets/ ├── config/collections.ts # slug, title, description, layout ├── data/ │ ├── index.ts # maps each slug to its snippets │ ├── buttons.tsx │ └── your-collection.tsx # add your snippet here ├── components/ # gallery, card, preview dialog └── types.ts
Add 5 random digits to every class in your component to avoid conflicts with existing and future components.
Example:
Commit your work with a clear, descriptive message:
Push the branch to your fork:
Go back to the original repository and click "New Pull Request". Describe what you changed and why, so it can be reviewed and merged into the main project.
We'll review your contribution. If everything looks good it gets merged; if changes are needed, we'll leave feedback so you can adjust it.