"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, shared, }: { userData: User sandboxData: Sandbox shared: { id: string name: string }[] }) { const [isEditOpen, setIsEditOpen] = useState(false) const [isShareOpen, setIsShareOpen] = useState(false) return ( <>
Logo
{sandboxData.name}
) }