38 lines
861 B
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,
DialogDescription,
DialogHeader,
DialogTitle,
DialogTrigger,
2024-05-26 17:28:52 -07:00
} from "@/components/ui/dialog"
import Image from "next/image"
import { useState } from "react"
2024-05-05 00:06:10 -07:00
2024-05-26 17:28:52 -07:00
import { Button } from "../ui/button"
import { ChevronRight } from "lucide-react"
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
}