EAOS Hotel Site
EAOS Hotel Site
Section titled “EAOS Hotel Site”Elevator Pitch
Section titled “Elevator Pitch”Hotel site developers use this package to reuse bilingual Astro pages and booking presentation from a published CMS snapshot.
Why & Value Proposition
Section titled “Why & Value Proposition”Share routes, layouts and publication outputs across hotel sites. Facility content and theme choices come from CMS settings so consumers can focus on site configuration.
Key Highlights
Section titled “Key Highlights”- CMS-only content loaders pinned to a publication.
- Japanese and English routes, booking UI and structured output.
- CMS-selected shared themes and local preview image helpers.
- Static output with explicit server handlers for contact and analytics.
Quickstart
Section titled “Quickstart”The packages use GitHub Packages. Prerequisites: Bun, access to the package registry, and registry authentication configured outside source files. Examples use fictional site identifiers and reserved example domains.
bun add @dataarthub/eaos-hotel-site-astro astro react react-domSave as example.ts, then run bun example.ts.
import { previewImageOrigins } from '@dataarthub/eaos-hotel-site-astro/core/content/media-policy';
console.log(previewImageOrigins([ { src: 'http://localhost:4321/image.webp' }, 'https://example.com/image.webp',])); // http://localhost:4321