Credits: Photos from Unsplash, logo and graphics by Colorlib
Description
Hiroto is a hotel website template built on Bootstrap 5, with a dark header, a gold accent and a booking bar over a full-width photo. The layout is responsive and works in all popular web browsers. It comes with seven pages: home, rooms, room details, about, news, news article and contact, plus a thank-you page.
The home page has a hero with a check-in and check-out form, an about section, service icons, room cards with prices, a guest-review slider, a photo gallery slider and a news grid. The inner pages add a room list with photo sliders, a room page with facilities, an about page with a history timeline, a news page with sidebar, an article page with comments and a contact page with a working contact form and a click-to-load map. Hiroto gives you a ready-made site to present your rooms, your services and your location.
What’s new in 3.0
Bootstrap 5.3.8 (the earlier release used Bootstrap 4.4.1 and jQuery), compiled from Sass with the original Bootstrap 4 proportions, and plain JavaScript with no jQuery. Swiper 14 replaces Owl Carousel, the mobile menu is a keyboard-operable panel instead of SlickNav, the date and guest fields are native inputs, and Lucide SVG icons plus a small social-logo set replace the icon fonts. npm run build (Dart Sass and esbuild) compiles one minified stylesheet and one script.
Lighter pages: all seven pages together went from 15.4 MB and 343 requests to 4.4 MB and 203 requests (the home page from 4.4 MB to 1.0 MB), and the download from 10.1 MB to 6.8 MB. Every photo has an AVIF version with the JPEG as the fallback, with real dimensions and lazy loading below the first screen.
No third-party requests: Barlow Condensed and DM Sans are self-hosted instead of loaded from Google Fonts, the map loads only after a click, and a Google Analytics 4 snippet stays commented out until you add your own ID.
Working forms: the contact, comment and newsletter forms send through a PHP handler with validation, a spam trap and an in-page message. Before, none of the eleven forms had an action or named fields, so nothing could be sent.
Accessibility: a skip link and a main landmark on every page, one h1 per page, labelled form fields and icon links, a Pages menu that opens from the keyboard (it opened on hover only), visible focus rings, descriptive alt text and WCAG AA text contrast, with white labels on a darker gold for buttons and a darker grey for body text.
New demo content: hotel copy for the rooms, services, reviews, history and news, fictional guest names, placeholder contact details, and new photos for the entrance hall and the review section.