From cb00498df1dde4d341b4b2d1f095d57abc5f0a52 Mon Sep 17 00:00:00 2001 From: Riccardo Giorato Date: Sat, 27 Dec 2025 12:12:51 +0100 Subject: [PATCH] Add page navigation buttons and update info button text for mobile and d --- components/editor/comic-canvas.tsx | 74 +++++++++++++++++++----------- 1 file changed, 46 insertions(+), 28 deletions(-) diff --git a/components/editor/comic-canvas.tsx b/components/editor/comic-canvas.tsx index c7277cd..ec860c6 100644 --- a/components/editor/comic-canvas.tsx +++ b/components/editor/comic-canvas.tsx @@ -1,6 +1,6 @@ "use client"; -import { RefreshCw, Share, Info, Loader2, Trash2 } from "lucide-react"; +import { RefreshCw, Share, Info, Loader2, Trash2, ChevronLeft, ChevronRight } from "lucide-react"; import { useToast } from "@/hooks/use-toast"; import { Button } from "@/components/ui/button"; @@ -81,18 +81,18 @@ export function ComicCanvas({ - {/* Action buttons below the page image */} -
- {onInfoClick && ( - - )} + {/* Action buttons below the page image */} +
+ {onInfoClick && ( + + )} {isOwner && ( + Page {pageIndex + 1} of {totalPages} + +
- {/* Mobile action buttons */} -
- {onInfoClick && ( - - )} + {/* Mobile action buttons */} +
+ {onInfoClick && ( + + )} {isOwner && (