package templates

import "bookhoard/internal/handlers"

templ BooksGrid(books []handlers.BookInfo, limit int, offset int, count int, currentLibraryID string) {
		if len(books) > 0 {
			for _, book := range books {
				@BookCard(book)
			}
		} else {
			<!-- Empty state -->
			<div class="col-span-full text-center py-12" style="color: var(--text-secondary);">
				<p class="text-lg mb-2">📚 No books found</p>
				<p class="text-sm">Try adjusting your filters or add some books to your library.</p>
			</div>
		}
}
