Credits: Photos from Unsplash and stock images of unrecorded source
Description
Harbor Lights is a website template for hotels, resorts and guesthouses, built on Bootstrap 5. The layout is responsive and mobile-ready and works in all popular web browsers. It comes with eight pages: home, rooms, room details, restaurant, about, blog, blog post and contact.
The home page has a full-width slider, an availability bar, an amenities row, a guest-review slider, six room cards, a restaurant menu, journal posts and a photo strip. The inner pages add a restaurant menu with nine dishes, a Luxury Room page with a photo slider, a video tour and ratings, a journal article with comments, and a contact page with a working contact form and a click-to-load map.
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 plain JavaScript with no jQuery. Swiper 14 replaces Owl Carousel, PhotoSwipe 5 replaces Magnific Popup, the date fields are the browser’s own, and the icons are Lucide SVGs. npm run build (Dart Sass and esbuild) compiles one minified stylesheet and one script.
Lighter pages: all pages together went from 31.6 MB and 371 requests to 9.3 MB and 191 requests, and the download from 9.7 MB to 8.0 MB. Photos have AVIF versions with the JPEG as the fallback, real dimensions and lazy loading below the first screen.
No third-party requests: Nunito Sans is self-hosted, the icon fonts are replaced by Lucide SVG icons and a small social-logo subset (the Twitter bird is now the X logo), the video is a stock clip that loads from YouTube’s privacy-enhanced player only after a click, the map loads on request, and a Google Analytics 4 snippet stays commented out until you add your own ID.
Accessibility: a skip link, one h1 per page, a labelled and keyboard-operable mobile menu and a visible focus ring. Text over photos and buttons reach at least 4.5:1 contrast.
Working forms: the contact and comment forms post to a PHP mail handler with a spam trap and show success and error messages on the page, and the availability bar opens the contact page with the dates filled in.
Fresh hotel content and fixes: a fictional seaside hotel with six priced room types, nine dishes, journal posts and reviews, and the room links, the rooms page breadcrumb and the restaurant slider now point and show the right things.