Credits: Photos from Unsplash and illustrations drawn for the template; see the included documentation.
Description
Book is a website template for a book or an author: a gradient hero with the cover, an author section, a facts band with counters, three editions with prices, a carousel of more titles, a call to action and reader reviews. It has three pages as shipped: the home page, a book page with a first chapter and an order form, and an elements page.
Rebuilt from the original design, with the gradient hero, the overlapping author card, the counters band, the price cards and the book carousel, and new copy and covers for a travel memoir.
Bootstrap 5.3.9, plain JavaScript with no jQuery, Swiper, PhotoSwipe, Lucide icons and self-hosted Poppins.
Lighter pages: the three pages load 2.5 MB in 95 requests (1.0: 4.7 MB in 142 requests), with no third-party requests. The download is 4.2 MB.
Photos are AVIF with JPEG fallbacks that still show if AVIF is blocked; the covers and the hero book are SVG.
An order form, a contact form on the elements page and a newsletter box, with a spam trap. Set the recipient in the included PHP handlers before publishing.
Deeper gradient and text colours so white text passes WCAG AA, visible keyboard focus and a keyboard-friendly menu.