58 lines
1.6 KiB
TypeScript
Raw Permalink Normal View History

2024-05-26 17:28:52 -07:00
"use client"
2024-05-05 00:06:10 -07:00
import {
Dialog,
DialogContent,
DialogHeader,
DialogTitle,
2024-05-26 17:28:52 -07:00
} from "@/components/ui/dialog"
2024-05-05 00:06:10 -07:00
export default function AboutModal({
open,
setOpen,
}: {
2024-05-26 17:28:52 -07:00
open: boolean
setOpen: (open: boolean) => void
2024-05-05 00:06:10 -07:00
}) {
return (
<Dialog open={open} onOpenChange={setOpen}>
<DialogContent>
<DialogHeader>
<DialogTitle>Help & Support</DialogTitle>
2024-05-05 00:06:10 -07:00
</DialogHeader>
<div className="space-y-4">
{/* <div className="text-sm text-muted-foreground">
Sandbox is an open-source cloud-based code editing environment with
custom AI code autocompletion and real-time collaboration.
</div> */}
<div className="text-sm text-muted-foreground">
Get help and support through our Discord community or by creating issues on GitHub:
</div>
<div className="space-y-2">
<div className="text-sm">
<a
href="https://discord.gitwit.dev/"
target="_blank"
rel="noopener noreferrer"
className="text-primary hover:underline"
>
Join our Discord community
</a>
</div>
<div className="text-sm">
<a
href="https://github.com/jamesmurdza/sandbox/issues"
target="_blank"
rel="noopener noreferrer"
className="text-primary hover:underline"
>
Report issues on GitHub
</a>
</div>
</div>
2024-05-05 00:06:10 -07:00
</div>
</DialogContent>
</Dialog>
2024-05-26 17:28:52 -07:00
)
2024-05-05 00:06:10 -07:00
}