# BW Pre-Heading

Gutenberg block for a Prompt Victoria-style hero pre-heading / eyebrow — a compact date · venue line with a blinking terminal-prompt icon. Text, prompt-icon color, text color, and alignment are all editable from the block inspector.

## Requirements
- WordPress 6.0 or later
- PHP 7.4 or later

## Installation
1. Download / copy this folder into `wp-content/plugins/bw-pre-heading/`.
2. WP Admin → Plugins → Activate "BW Pre-Heading".
3. Edit any page → add block → search "BW Pre-Heading" (Design category).

## Features
- Inline-editable eyebrow text (empty by default; editor shows `Enter text here` as a RichText placeholder that clears on typing).
- **Prompt icon color** dropdown — Gold `#f58220` (default) / White `#FFFFFF`.
- **Text color** dropdown — Gold `#f58220` (default) / White `#FFFFFF`.
- **Alignment** dropdown — Left (default) / Center / Right.
- Self-contained CSS: looks correct even on themes that don't load the Prompt Victoria stylesheet.
- Server-side rendered (no stale markup in post content on attribute changes).

## Styling
The block outputs markup keyed to the `.pv-hero__eyebrow`, `.pv-hero__eyebrow-prompt`, and `.pv-hero__eyebrow-text` classes. If your theme already styles these classes (e.g. the Prompt Victoria custom CSS), the block inherits that look. Otherwise the bundled `blocks/bw-pre-heading/style.css` provides a sensible default using Space Grotesk 14px / 600 / 0.14em letter-spacing.

## License
GPL-2.0-or-later. See `LICENSE`.
