ui improvements

This commit is contained in:
Ishaan Dey
2024-05-05 00:06:10 -07:00
parent 159e7b62e2
commit 5ae5c226ba
7 changed files with 105 additions and 26 deletions

View File

@ -12,6 +12,7 @@ import Image from "next/image"
import Button from "../ui/customButton"
import { ChevronRight } from "lucide-react"
import Avatar from "../ui/avatar"
import Link from "next/link"
export default function DashboardSharedWithMe({
shared,
@ -66,9 +67,11 @@ export default function DashboardSharedWithMe({
{new Date(sandbox.sharedOn).toLocaleDateString()}
</TableCell>
<TableCell className="text-right">
<Button>
Open <ChevronRight className="w-4 h-4 ml-2" />
</Button>
<Link href={`/code/${sandbox.id}`}>
<Button>
Open <ChevronRight className="w-4 h-4 ml-2" />
</Button>
</Link>
</TableCell>
</TableRow>
))}