2024-07-06 17:43:06 +02:00
|
|
|
import ReactMarkdown from "react-markdown";
|
|
|
|
import { contribute } from "@/constants/guidelines";
|
|
|
|
import { Metadata } from "next";
|
|
|
|
|
2024-08-01 16:32:57 +02:00
|
|
|
// baseURL [ENV]
|
2024-07-06 17:43:06 +02:00
|
|
|
export const metadata: Metadata = {
|
2024-09-07 09:39:26 +02:00
|
|
|
title: "Contribute - SVR.JS",
|
2024-09-07 09:12:48 +02:00
|
|
|
description:
|
|
|
|
"Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to make your code contributions.",
|
|
|
|
openGraph: {
|
2024-09-07 09:39:26 +02:00
|
|
|
title: "Contribute - SVR.JS",
|
2024-09-07 09:12:48 +02:00
|
|
|
description:
|
|
|
|
"Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to make your code contributions.",
|
2024-09-08 13:16:43 +02:00
|
|
|
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/contribute`,
|
2024-09-07 09:12:48 +02:00
|
|
|
type: "website",
|
|
|
|
images: [
|
|
|
|
{
|
2024-09-08 13:16:43 +02:00
|
|
|
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/metadata/svrjs-cover.png`,
|
2024-09-07 09:12:48 +02:00
|
|
|
width: 800,
|
|
|
|
height: 600,
|
2024-09-07 09:39:26 +02:00
|
|
|
alt: "Contribute - SVR.JS"
|
2024-09-07 09:12:48 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
twitter: {
|
|
|
|
card: "summary_large_image",
|
|
|
|
site: "@SVR_JS",
|
2024-09-07 09:39:26 +02:00
|
|
|
title: "Contribute - SVR.JS",
|
2024-09-07 09:12:48 +02:00
|
|
|
description:
|
|
|
|
"Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to make your code contributions.",
|
2024-09-08 13:16:43 +02:00
|
|
|
images: [`${process.env.NEXT_PUBLIC_WEBSITE_URL}/metadata/svrjs-cover.png`],
|
2024-09-07 09:12:48 +02:00
|
|
|
creator: "@SVR_JS"
|
|
|
|
}
|
2024-07-06 17:43:06 +02:00
|
|
|
};
|
2024-09-07 12:17:34 +02:00
|
|
|
|
2024-07-06 17:43:06 +02:00
|
|
|
const Contribute = () => {
|
2024-09-07 09:12:48 +02:00
|
|
|
return (
|
|
|
|
<section
|
|
|
|
id="tos"
|
|
|
|
className="wrapper container py-24 md:py-28 gap-2 flex flex-col"
|
|
|
|
>
|
|
|
|
<h1 className="text-3xl md:text-5xl pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
|
|
|
|
Contributing to SVR.JS
|
|
|
|
</h1>
|
|
|
|
<p className="md:text-lg text-muted-foreground text-start mb-6">
|
|
|
|
We welcome contributions from the community! Here's how you can
|
|
|
|
help!
|
|
|
|
</p>
|
|
|
|
<div className="prose max-w-full md:prose-lg dark:prose-invert">
|
|
|
|
<ReactMarkdown>{contribute}</ReactMarkdown>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
);
|
2024-07-06 17:43:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
export default Contribute;
|