From ec15d20abac65bfda6c8e6396ce9fc2061f5067a Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Wed, 24 Apr 2024 14:52:57 +0100 Subject: ui(web): Show bookmark URL when maximizing a bookmark --- .../dashboard/bookmarks/BookmarkActionBar.tsx | 26 ++++++++-------------- 1 file changed, 9 insertions(+), 17 deletions(-) (limited to 'apps/web/components/dashboard/bookmarks') diff --git a/apps/web/components/dashboard/bookmarks/BookmarkActionBar.tsx b/apps/web/components/dashboard/bookmarks/BookmarkActionBar.tsx index d4e8dfca..6cc8e44e 100644 --- a/apps/web/components/dashboard/bookmarks/BookmarkActionBar.tsx +++ b/apps/web/components/dashboard/bookmarks/BookmarkActionBar.tsx @@ -1,6 +1,6 @@ -import BookmarkPreview from "@/components/dashboard/preview/BookmarkPreview"; -import { Button } from "@/components/ui/button"; -import { Dialog, DialogContent, DialogTrigger } from "@/components/ui/dialog"; +import Link from "next/link"; +import { buttonVariants } from "@/components/ui/button"; +import { cn } from "@/lib/utils"; import { Maximize2 } from "lucide-react"; import type { ZBookmark } from "@hoarder/shared/types/bookmarks"; @@ -18,20 +18,12 @@ export default function BookmarkActionBar({ {bookmark.favourited && ( )} - - - - - e.preventDefault()} - > - - - + + + ); -- cgit v1.2.3-70-g09d2