diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..c2058b5 --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +VITE_API_BASE_URL=http://localhost:8000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..07d8575 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +# Node +node_modules/ +dist/ +dist-ssr/ +*.local + +# Environment +.env +.env.*.local + +# Logs +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# Editor +.vscode/ +.idea/ +*.swp diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..81dec10 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,34 @@ +# Armonía del Ser: Public Landing & Self-Service UI - Agent Guidelines & Workflow Rules + +This document specifies mandatory workflows, constraints, and quality gates for AI agents operating in `armonia-landing`. + +--- + +## 1. Core Operating Constraints + +- **No Direct Commits to `main`**: Agents must never commit directly to `main`. All work must be developed on descriptive feature, bugfix, or chore branches (`feat/*`, `fix/*`, `chore/*`). +- **No Destructive Git Actions**: Commands such as `git reset --hard`, `git restore `, `git clean -fd`, and force-pushes (`git push --force`) are strictly prohibited without the user's explicit yes. +- **Secret Redaction**: Never print, commit, or log sensitive tokens or API credentials. +- **Session Modes**: + - `learning`: The user drives and writes the reasoning, the agent asks guiding questions. + - `delivery`: The agent may draft code and plans, presenting rationale and trade-offs. + +--- + +## 2. Agent Directory & Persona Delegation + +- **Anne Droid** (`profile/agents/anne-droid.md`): Senior Frontend Engineer & UX Specialist. + - **Consult when**: Defining visual tone, typography, color palettes, and emotional resonance. + - **Delegate when**: Implementing client-facing hero components, booking modals, and responsive flyers on `feat/anne/*` branches. + - **Aesthetic Manifesto**: Reflect the peaceful, grounded identity of *Armonía del Ser* (warm earth tones, lavender/sage lotus palette from the flyer, clean serif display typography, natural textures) without falling into generic template patterns. + +--- + +## 3. Architecture & Functional Directives + +- **Target Persona**: Prospective and recurring clients seeking therapy, meditation, cocoa circles, or retreats. +- **Self-Service Booking Flow**: + 1. *Browse Services*: Clear cards displaying modality (presencial/online), schedule, price in MXN, and benefits. + 2. *Reserve Spot*: Client provides name, phone (WhatsApp), and chooses a slot. + 3. *Payment Clarity*: Instructions showing SPEI CLABE + unique Folio code (`ADS-XXXX`). + 4. *One-Tap WhatsApp Handoff*: Client taps button to open WhatsApp chat with Jazmín and send receipt. diff --git a/README.md b/README.md index f48b037..60b5465 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,50 @@ -# armonia-landing +# Armonía del Ser: Client Landing & Self-Service UI (`armonia-landing`) -Public client-facing landing & self-service booking UI for Armonía del Ser \ No newline at end of file +Client-facing landing page and self-service appointment reservation application for **Armonía del Ser**. + +> *"Cada día, un espacio para volver a ti."* +> Espacios para reconectar contigo, calmar tu mente y armonizar tu cuerpo y tu energía. + +--- + +## Capabilities & Vision + +`armonia-landing` translates Jazmín's physical service flyer and Instagram outreach into a welcoming digital experience: +- **Service Catalog**: Clean breakdown of weekly recurring circles (*Círculos de Cacao*, *Meditación con cuencos*, *Constelaciones Familiares*) and individual psychotherapy (*Atención Psicológica*). +- **Self-Service Reservation**: Allows clients to select a service, specify their attendance modality (Presencial in Mexico or Online via Google Meet/Zoom), and claim a spot. +- **Frictionless SPEI Instructions**: Displays Jazmín's CLABE and bank details with an auto-generated reservation folio (`ADS-XXXX`). +- **WhatsApp Direct Connect**: Instant button to send payment receipt directly to Jazmín's WhatsApp. + +--- + +## Design & Aesthetics + +Guided by **Anne Droid**: +- Soft, grounded aesthetic matching the flyer: lavender, sage, warm stone, and lotus accents. +- Responsive for mobile clients coming from Instagram/WhatsApp stories. +- Complete 5-state resilience (handling empty slots, loading states, and instant confirmation feedback). + +--- + +## Local Development Quickstart + +### Prerequisites +- Node.js 20+ +- npm + +### 1. Setup Environment +```bash +cp .env.example .env +``` +Set `VITE_API_BASE_URL=http://localhost:8000` to connect to `armonia-api`. + +### 2. Install Dependencies +```bash +npm install +``` + +### 3. Run Dev Server +```bash +npm run dev +``` +Open `http://localhost:5173` in your browser. \ No newline at end of file