Public Pages

This document describes the structure, content, and implementation of the public-facing pages in the Hotelaro system, as rendered by the Moonlit frontend theme. These pages are accessible to all website visitors and provide information about the hotel, its rooms, amenities, activities, restaurant, blog, and more.

Scope:

For information about the theme system and customization, see Theme System.

For details on the website builder and content management, see Website Builder.

Purpose of Public Pages

The public pages serve as the main interface for guests and visitors to:

These pages are implemented as PHP view files under the Moonlit theme and are composed using reusable components.

Overview Diagram: Public Pages and Code Entities

Diagram: "Public Pages to Code Files Mapping"

Main Public Pages and Their Features

Page File(s) Key Features
Home Index/index-1.php, Index/index-3.php Hero banner, room search, about, facilities, rooms, testimonials, gallery, offers, newsletter
About Pages/about.php About section, facilities, team, testimonials
Room Listings Pages/room-one.php, room-two.php, room-three.php, room-four.php Room cards, search/filter, pricing, discover links
Room Details Pages/room-details-1.php, room-details-2.php Room info, amenities, features, booking form, similar rooms
Activities Pages/activities.php Activity cards, features, images
Restaurant Pages/resturant.php About, gallery, menu, testimonials
Blog Pages/blog.php Blog list, categories, tags, search, latest posts

Page Layout and Component Structure

All public pages follow a consistent structure:

Diagram: "Page Layout and Component Includes"

Room Listing and Details Pages

Room Listing Pages

Files: room-one.php, room-two.php, room-three.php, room-four.php

Features:

Room Details Pages

Files: room-details-1.php, room-details-2.php

Features:

Activities Page

File: activities.php

Features:

Restaurant Page

File: resturant.php

Features:

Blog Page

File: blog.php

Features:

About Page

File: about.php

Features:

Component and Modal Includes

All public pages include a standard set of modals and components for user interaction:

Navigation Structure

The offcanvas and desktop menus provide navigation to all public pages. Menu items are defined in the offcanvas menu component and include links to:

Bridging Diagram: Navigation Menu to Page Files

Diagram: "Navigation Menu Items to Page Files"

Summary

The public pages in Hotelaro are modular, component-driven, and follow a consistent structure for maintainability and extensibility. Each page is implemented as a PHP view file, composed of reusable components for headers, footers, content sections, and modals. Navigation is handled via offcanvas and desktop menus, linking all major public-facing features of the hotel website.

For further details on customizing these pages or extending their functionality, refer to Theme System and Website Builder.