Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Jesus-Puertos/h-ayuntamiento/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Xochitlanis Tourism System is an innovative platform that transforms how visitors discover and explore Zongolica. It combines interactive onboarding, personalized recommendations, and gamification to create engaging tourism experiences.Named after “Xochitlanis,” a Nahuatl term related to flowers and offerings, connecting to the cultural heritage of Zongolica.
System Architecture
Interactive Onboarding Flow
Location:/turismo/onboarding.astro
The onboarding collects user preferences through 5 interactive steps:
Step 1: Experience Type
Question: “What type of experiences do you prefer?” Options:- 🏔️ Adventure (Aventura)
- 🎭 Culture (Cultura)
- 🌿 Nature (Naturaleza)
- 🍽️ Gastronomy (Gastronomía)
- 🧘 Relaxation (Relajación)
Step 2: Duration
Question: “How long will you visit?” Options:- ⚡ Few hours (2-4 hours)
- 🌅 Half day (4-6 hours)
- ☀️ Full day (8+ hours)
- 🏕️ Multiple days (Weekend)
Step 3: Difficulty Level
Question: “What difficulty level do you prefer?” Options:- 🟢 Easy - Family friendly
- 🟡 Moderate - Some physical activity
- 🔴 Challenging - Requires good fitness
- ⚫ Extreme - For experienced adventurers
Step 4: Travel Group
Question: “Who are you traveling with?” Options:- 👤 Solo
- 💑 Couple
- 👨👩👧👦 Family
- 👥 Friends
- 🎒 Group/Tour
Step 5: Specific Interests
Question: “What interests you most?” Options:- 💧 Waterfalls
- 🕳️ Caves and sótanos
- 🌄 Viewpoints
- ⛪ Religious sites
- 🏞️ Rivers and pools
- 🏛️ Historical ruins
- 🧗 Extreme sports
Database Storage
Preferences are saved to Supabase:src/lib/supabase.ts
Personalized Recommendations
Based on user preferences, the system recommends from 17 tourist attractions:Natural Attractions
Cascada Atlahuitzía
Cascada Atlahuitzía
120-meter waterfall
- Difficulty: Moderate
- Duration: Half day
- Best for: Nature lovers, photographers
- Interests: Waterfalls, hiking
Río Tonto
Río Tonto
River source in Huixtla
- Difficulty: Easy
- Duration: Few hours
- Best for: Families, relaxation
- Interests: Rivers, swimming
Cascada El Coxole
Cascada El Coxole
10-meter waterfall with pool
- Difficulty: Easy
- Duration: Few hours
- Best for: Families, swimming
- Interests: Waterfalls, pools
Río Macuilca
Río Macuilca
Crystal-clear river
- Difficulty: Easy
- Duration: Half day
- Best for: Families, nature
- Interests: Rivers, relaxation
Adventure Attractions
Sótano del Popócatl
Sótano del Popócatl
70-meter vertical cave descent
- Difficulty: Extreme
- Duration: Full day
- Best for: Experienced adventurers
- Interests: Caves, extreme sports, rappelling
Sótano del Gachupín
Sótano del Gachupín
90-meter rappel descent
- Difficulty: Extreme
- Duration: Full day
- Best for: Adventure seekers
- Interests: Caves, rappelling, extreme sports
Cueva Chicomeatl
Cueva Chicomeatl
400-meter cave exploration
- Difficulty: Moderate-Challenging
- Duration: Half day
- Best for: Adventurers, spelunkers
- Interests: Caves, exploration
Cultural & Religious Sites
Parroquia San Francisco de Asís
Parroquia San Francisco de Asís
Colonial parish with “Señor del Recuerdo”
- Difficulty: Easy
- Duration: 1-2 hours
- Best for: Cultural tourism, religious pilgrimage
- Interests: Religious sites, history
El Calvario
El Calvario
Franciscan temple from 1567
- Difficulty: Easy
- Duration: 1-2 hours
- Best for: History enthusiasts
- Interests: Religious sites, colonial architecture
La Pérgola
La Pérgola
Chapel on Tlaltiticuinco hill
- Difficulty: Moderate (uphill walk)
- Duration: 2-3 hours
- Best for: Religious tourism, viewpoints
- Interests: Religious sites, views
Viewpoints
Mirador El Precipicio
Mirador El Precipicio
200-meter cliff viewpoint
- Difficulty: Moderate
- Duration: Half day
- Best for: Photography, nature
- Interests: Viewpoints, panoramas
Estatua Cristo Rey
Estatua Cristo Rey
Macuilxóchitl hill summit
- Difficulty: Moderate
- Duration: 2-3 hours
- Best for: Viewpoints, photography
- Interests: Religious sites, views
Badge Gamification System
Location:src/lib/badges.ts
The platform includes a comprehensive badge system with 29 unique achievements.
Badge Categories
Onboarding Badge
Action-Based Badges
Favorites:Visit-Based Badges (17 Attractions)
Each attraction has a dedicated badge:- 💧 Cascada Atlahuitzía
- 🛶 Río Tonto
- 🕳️ Sótano del Popócatl
- 🦇 Cueva Chicomeatl
- 🏊 Cascada El Coxole
- 🏔️ Arco Natural Boquerón
- 🐦 Cueva de las Golondrinas
- 🏚️ Exhacienda de los Gachupines
- 🧗 Sótano del Gachupín
- 🌄 Mirador El Precipicio
- ⛰️ Perfil del Cristo
- 🕯️ Cueva de Totomochapa
- 🏞️ Río Macuilca
- ⛪ La Pérgola
- 🏛️ El Calvario
- 🙏 Parroquia San Francisco
- ✝️ Estatua Cristo Rey
Purchase-Based Badges
Badge Storage
Badges are tracked in Supabase:Ticket Generation and Sharing
After onboarding, users receive a personalized route ticket:Ticket Components
- User name and profile
- Route name (generated from preferences)
- Recommended attractions (personalized list)
- Unlocked badges (visual icons)
- Share code (unique identifier)
- QR code (for easy sharing)
- Social media sharing (Facebook, Twitter, WhatsApp)
Route Storage
src/lib/supabase.ts
Share Code System
Unique codes are generated usingnanoid:
Shared Route Pages
Location:/ruta/[code].astro
Public pages showing shared routes:
User Profile System
Location:/turismo/perfil.astro
Profile Data
Profile Features
Personal Info
Name, email, avatar, and account settings
Saved Routes
History of generated personalized routes
Badge Collection
Display all unlocked achievements
Favorites
Saved attractions for future visits
Favorites System
Adding Favorites
src/lib/supabase.ts
Tourism Pages
Main Tourism Hub
Location:/turismo/index.astro
Features:
- Call-to-action to start onboarding
- Featured attractions grid
- Recent shared routes
- Tourism statistics
Attractions Index
Location:/turismo/atractivos/index.astro
Browse all 17 attractions with:
- Filterable grid
- Search functionality
- Category tabs
- Difficulty indicators
Attraction Detail Pages
Location:/turismo/atractivos/[slug].astro
Dynamic pages for each attraction:
- Photo gallery
- Description and details
- Location map
- Difficulty and duration
- Related badge
- “Add to Favorites” button
- Similar attractions
Route Planner
Location:/turismo/planificador.astro
Interactive tool to:
- Build custom routes
- Estimate duration
- Calculate distances
- Export to Google Maps
Social Sharing
Integrated sharing for routes:Next Steps
Authentication System
Learn how user authentication works
Multilingual Support
Manage translations for the tourism system
