"use client" import Link from "next/link" import { BookOpen, BookMarked, Trash2 } from "lucide-react" import { Button } from "@/components/ui/button" import { useAuth } from "@/lib/auth-context" import { useBookmarks } from "@/lib/bookmark-context" export default function BookshelfPage() { const { user } = useAuth() const { bookmarks, toggleBookmark } = useBookmarks() if (!user) { return (
Đăng nhập để xem danh sách truyện đã lưu
Chưa có truyện nào
Hãy thêm truyện yêu thích vào tủ sách của bạn.
{novel.authorName}
{bookmark.lastChapterNumber && (Đang đọc: Chương {bookmark.lastChapterNumber} / {novel.totalChapters}
)}