"use client"
import Image from "next/image"
import Logo from "@/assets/logo.svg"
import { Pencil, Users } from "lucide-react"
import Link from "next/link"
import { Sandbox, User } from "@/lib/types"
import UserButton from "@/components/ui/userButton"
import { Button } from "@/components/ui/button"
import { useState } from "react"
import EditSandboxModal from "./edit"
import ShareSandboxModal from "./share"
export default function Navbar({
userData,
sandboxData,
}: {
userData: User
sandboxData: Sandbox
}) {
const [isEditOpen, setIsEditOpen] = useState(false)
const [isShareOpen, setIsShareOpen] = useState(false)
return (
<>