Author is a one-page website template for a writer and a new book, built on Bootstrap 5. The menu scrolls to each section of a single page: a full-screen hero with the featured book, its price and a buy button, a row of publisher logos, an about-the-book block with figures that count up, and a chapter preview with a sticky chapter list that marks the part you are reading. The layout is responsive and mobile-ready.
Further down you will find talks and workshops, a reader reviews slider, a bibliography of eight books with titles that show on hover, an author profile with contact details, and a contact section with four info boxes, a working contact form and a map that loads on click. Author gives novelists, poets and non-fiction writers a ready-made site for a book launch.
What’s new in 3.0
Bootstrap 5.3.8 (the earlier release used Bootstrap 4.3.1 and jQuery), compiled from Sass together with the theme and the Bootstrap 4 proportions the design was drawn with, and plain JavaScript with no jQuery. Swiper 14 replaces Owl Carousel on the reviews slider, small built-in modules replace Waypoints, animate.css and the number counter, and the unused Magnific Popup, Stellar and Scrollax plugins are gone. npm run build (Dart Sass and esbuild) compiles one minified stylesheet and one script.
Lighter page: the one-page site went from 4.6 MB and 58 requests to 1.5 MB and 32 requests. Every photo has an AVIF version with the JPEG or PNG as the fallback and real dimensions, and the full-page preloader is gone.
No third-party requests: Open Sans and Raleway are self-hosted, the icon fonts are replaced by Lucide SVG icons and a 1 KB social-logo subset, the map is an OpenStreetMap map (no API key needed) that loads only when a visitor clicks “Show map”, and a Google Analytics 4 snippet stays commented out until you add your own ID. Before, the page loaded fonts and icons from two CDNs and the Google Maps script with a sample key.
Working contact form: it sends through php/send-email.php, with visible labels, validation, a spam trap and an in-page message. Before, it had no action and no field names, so nothing could be sent.
Accessibility: a skip link and a main landmark, headings in order, labelled social links, book titles that also show on keyboard focus, visible focus rings, reduced-motion support and WCAG AA text contrast, with a deeper green for buttons and links, darker body text and scrims behind text on the hero illustration, the reviews photo and the book covers on phones.
Demo content and fixes: original cover art and titles for the eight books and the book spines in the about photo, fictional publisher wordmarks, a fictional author, reviewers, address, phone and email, sharper reviewer photos, typos fixed, and every menu, footer and button link now goes to a real section (the Home link had no target).