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>About this project</DialogTitle>
|
|
|
|
</DialogHeader>
|
|
|
|
<div className="text-sm text-muted-foreground">
|
|
|
|
Sandbox is an open-source cloud-based code editing environment with
|
2024-05-26 17:28:52 -07:00
|
|
|
custom AI code autocompletion and real-time collaboration.
|
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
|
|
|
}
|