@syfpsy/hotel-blocks
v0.1.0
Published
Swappable layout blocks (variant-driven) for agency hotel sites. Markup + variants; styling comes from the host's tokens/CSS.
Maintainers
Readme
@syfpsy/hotel-blocks
Swappable, variant-driven layout blocks for hotel websites built with Astro. Blocks provide markup + layout variants; styling comes from the host app's design tokens / CSS (see @syfpsy/hotel-core).
Exports
@syfpsy/hotel-blocks/Hero— a hero block withsplit(left-aligned glass panel) andcentered(editorial) layout variants. Content via props; the booking bar goes in thebookingslot.
Usage
---
import Hero from '@syfpsy/hotel-blocks/Hero';
import BookingBar from './BookingBar.astro';
---
<Hero
slides={slides}
eyebrow="Fethiye"
headline={{ pre: 'A ', em: 'calm', post: ' escape.' }}
sub="…"
stars={4}
variant="centered"
>
<BookingBar slot="booking" />
</Hero>Peer-depends on astro (^6). MIT.
