Thank you for considering contributing to DY Comps! We appreciate your support and effort in making this project better.
- Fork the Repository
- Clone Your Fork
- Create a New Branch
- Install Dependencies
pnpm i - Create a new folder inside
src/templates/blocks. - Add the following two files: (both files are required)
metadata.ts: Contains data about this template. You can view other examples or refer totype.d.tsfor more details. moreindex.tsx: The template's main component. (component must bedefault export)
- Commit & Push Your Changes
- Create a Pull Request (PR)
If you change the metadata.ts file or change template folder-name, then run the following command:
pnpm gen:dataNote
This command generates the public/data/templatesStructure.json file, which contains metadata about the templates.
Important
After running pnpm gen:data, open a new tab in your browser to view the updates.
- Follow the coding style used in the project.
- Write meaningful commit messages.
- Ensure your changes do not break existing functionality.
If you encounter a bug or have a feature request, please create an issue:
- Navigate to the Issues tab.
- Click New Issue.
- Provide a clear and concise description of the problem.
For any questions, feel free to reach out by opening an issue or contacting the maintainers.
Happy Coding! 🚀