contribute page

This commit is contained in:
Cypro Freelance 2024-07-06 21:13:06 +05:30
parent 955c660f1c
commit e64dfeb469
2 changed files with 50 additions and 1 deletions

View file

@ -0,0 +1,22 @@
import ReactMarkdown from "react-markdown";
import { contribute } from "@/constants/guidelines";
import { Metadata } from "next";
export const metadata: Metadata = {
title: "Contribute - SVRJS",
};
const Contribute = () => {
return (
<section
id="tos"
className="wrapper container py-24 md:py-28 gap-4 flex flex-col"
>
<div className="prose max-w-full prose-lg dark:prose-invert">
<ReactMarkdown>{contribute}</ReactMarkdown>
</div>
</section>
);
};
export default Contribute;

View file

@ -336,5 +336,32 @@ BY USING SERVICE OR OTHER SERVICES PROVIDED BY US, YOU ACKNOWLEDGE THAT YOU HAVE
## 18. Contact Us ## 18. Contact Us
Please send your feedback, comments, requests for technical support by email: support[at]svrjs[dot]org. Please send your feedback, comments, requests for technical support by email: support[at]svrjs[dot]org.
`;
export const contribute = `
# Contributing to SVR.JS
We welcome contributions from the community! Heres how you can help:
## Git server details
The Git server runs Forgejo Git hosting package and its located at [git.svrjs.org](https://git.svrjs.org/).
## Reporting Bugs
If you find a bug, please open an issue on our issue tracker with a detailed description of the problem and steps to reproduce it.
## Submitting Patches
We accept patches via pull requests. Heres our process:
## Fork the project.
- Create a branch for your patch.
- Commit your changes with descriptive commit messages.
- Push your branch to your fork.
- Open a pull request against the main repository.
- Running Tests
- Before submitting a pull request, please run the tests to ensure your changes havent introduced any new issues.
## Documentation
If your contribution changes existing functionality or adds new features, please update the documentation accordingly.
## License
By contributing to our project, you agree that your contributions will be licensed under our projects license.
Thank you for considering contributing to our project!
`; `;