2024-05-22 19:35:19 -07:00
|
|
|
"use client";
|
2024-05-05 00:06:10 -07:00
|
|
|
|
|
|
|
import {
|
|
|
|
Dialog,
|
|
|
|
DialogContent,
|
|
|
|
DialogDescription,
|
|
|
|
DialogHeader,
|
|
|
|
DialogTitle,
|
|
|
|
DialogTrigger,
|
2024-05-22 19:35:19 -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-22 19:35:19 -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-22 19:35:19 -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
|
|
|
|
custom AI code autocompletion and real-time collaboration. The
|
2024-05-22 19:35:19 -07:00
|
|
|
infrastructure runs on Docker and AWS ECS to scale automatically based
|
|
|
|
on resource usage.
|
2024-05-05 00:06:10 -07:00
|
|
|
</div>
|
|
|
|
</DialogContent>
|
|
|
|
</Dialog>
|
2024-05-22 19:35:19 -07:00
|
|
|
);
|
2024-05-05 00:06:10 -07:00
|
|
|
}
|