summaryrefslogtreecommitdiff
path: root/apps/web/src/components/gitHub-contribute-section.tsx
diff options
context:
space:
mode:
authorMaze <167211895+mazeincoding@users.noreply.github.com>2026-01-31 00:20:04 +0100
committerGitHub <noreply@github.com>2026-01-31 00:20:04 +0100
commit7bf0984698e43b9aa2dd879f65951318ed410390 (patch)
treeccf2cd590a47d550152afc07129cb55c71a9ec35 /apps/web/src/components/gitHub-contribute-section.tsx
parent0173db99448d1c4c6415dcf15272e17551b48b04 (diff)
downloadopencut-7bf0984698e43b9aa2dd879f65951318ed410390.tar.gz
codebase overhaul (#697)
Diffstat (limited to 'apps/web/src/components/gitHub-contribute-section.tsx')
-rw-r--r--apps/web/src/components/gitHub-contribute-section.tsx47
1 files changed, 47 insertions, 0 deletions
diff --git a/apps/web/src/components/gitHub-contribute-section.tsx b/apps/web/src/components/gitHub-contribute-section.tsx
new file mode 100644
index 00000000..f96def4a
--- /dev/null
+++ b/apps/web/src/components/gitHub-contribute-section.tsx
@@ -0,0 +1,47 @@
+import { Button } from "./ui/button";
+import Link from "next/link";
+import { SOCIAL_LINKS } from "@/constants/site-constants";
+import {
+ GithubIcon,
+ Link04Icon,
+} from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
+
+export function GitHubContributeSection({
+ title,
+ description,
+}: {
+ title: string;
+ description: string;
+}) {
+ return (
+ <div className="flex flex-col gap-6">
+ <div className="flex flex-col gap-4 text-center">
+ <h3 className="text-2xl font-semibold">{title}</h3>
+ <p className="text-muted-foreground">{description}</p>
+ </div>
+ <div className="flex flex-col justify-center gap-4 sm:flex-row">
+ <Link
+ href={`${SOCIAL_LINKS.github}/blob/main/.github/CONTRIBUTING.md`}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ <Button className="w-full" size="lg">
+ <HugeiconsIcon icon={GithubIcon} />
+ Start contributing
+ </Button>
+ </Link>
+ <Link
+ href={`${SOCIAL_LINKS.github}/issues`}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ <Button variant="outline" className="w-full" size="lg">
+ <HugeiconsIcon icon={Link04Icon} />
+ Report issues
+ </Button>
+ </Link>
+ </div>
+ </div>
+ );
+}