Commit Graph

5 Commits

Author SHA1 Message Date
ske087
187254beca feat: Add interactive map functionality with Leaflet.js
- Implemented interactive map card with expand functionality
- Added Leaflet.js integration with OpenStreetMap tiles
- Created expandable map modal (80% screen coverage)
- Fixed cover image display on community page
- Enhanced post detail page with interactive route visualization
- Added proper error handling and fallback content
- Cleaned up JavaScript structure and removed duplicate code
- Updated community index template to use cover images
- Added GPX file processing utilities
- Fixed indentation error in run.py

Map features:
- Country-level positioning (Romania default)
- Zoom controls and interactive navigation
- Test marker with popup functionality
- Expandable full-screen view with X button
- Clean console logging for debugging
- Responsive design with Tailwind CSS styling
2025-07-24 21:36:42 +03:00
ske087
58e5d1b83d feat: Improve adventure story text parsing and keyword extraction
Text Processing Improvements:
- Better separation of keywords from actual story text
- Extract standalone keywords before <br><br> patterns
- Remove keywords from main text display to show only story content
- Handle both **keyword** patterns and standalone keyword lines
- Clean up multiple <br> tags for better formatting

User Experience:
- Keywords now display as tags above story sections
- Story text shows only the narrative content without keyword clutter
- Example: 'Transalpina Ciungetu Stana lui stefan <br><br> Așa am pornit...'
  now shows keywords as tags and only 'Așa am pornit...' as story text
- Better visual separation between metadata and story content

Technical:
- Improved Jinja2 template logic for text parsing
- Added text length and word count heuristics for keyword detection
- Enhanced text cleaning and formatting
- Fixed template syntax errors from previous edits
2025-07-24 19:06:21 +03:00
ske087
f9fcec83d5 fix: Resolve template syntax error in post detail page
- Fix Jinja2 template syntax error on line 180
- Remove duplicate closing div tags that caused template compilation failure
- Clean up HTML structure for proper blog-style layout
- Add test media files for verifying multiple image upload functionality

Blog Layout Features:
- Sequential sections with keywords, text, and images
- Compact photo gallery in sidebar
- Proper section separation with visual hierarchy
- Keywords extracted from **bold** text displayed as tags
- Continuous narrative flow for better storytelling

Technical Fix:
- Resolved 'Encountered unknown tag endif' Jinja2 error
- Fixed mismatched block structure in template
- Ensured proper template compilation and rendering
2025-07-24 17:56:37 +03:00
ske087
d5c8ec1dc2 feat: Redesign post detail page as blog-style adventure story
Major UI/UX improvements for better storytelling:

Story Layout:
- Convert adventure story into blog-style sequential sections
- Extract keywords from **bold** text and display as highlight tags
- Show sections with keywords → text → images flow
- Create continuous narrative experience with section separators

Photo Gallery Enhancement:
- Move photo gallery to compact sidebar widget
- Reduce gallery size to focus attention on story
- Show 2x2 grid with hover effects and cover indicators
- Add 'click to view gallery' hint for better UX

Features:
- Parse content sections separated by double newlines
- Extract **keyword** patterns as section highlights
- Distribute section images across story sections
- Maintain image modal functionality
- Clean, readable typography with proper spacing
- Visual hierarchy that guides reader through adventure

This creates a much more engaging blog-post experience where the story takes center stage and images support the narrative rather than competing for attention.
2025-07-24 17:52:01 +03:00
ske087
60ef02ced9 Major UI/UX redesign and feature enhancements
🎨 Complete Tailwind CSS conversion
- Redesigned post detail page with modern gradient backgrounds
- Updated profile page with consistent design language
- Converted from Bootstrap to Tailwind CSS throughout

 New Features & Improvements
- Enhanced community post management system
- Added admin panel with analytics dashboard
- Improved post creation and editing workflows
- Interactive GPS map integration with Leaflet.js
- Photo gallery with modal view and hover effects
- Adventure statistics and metadata display
- Like system and community engagement features

🔧 Technical Improvements
- Fixed template syntax errors and CSRF token issues
- Updated database models and relationships
- Enhanced media file management
- Improved responsive design patterns
- Added proper error handling and validation

📱 Mobile-First Design
- Responsive grid layouts
- Touch-friendly interactions
- Optimized for all screen sizes
- Modern card-based UI components

🏍️ Adventure Platform Features
- GPS track visualization and statistics
- Photo uploads with thumbnail generation
- GPX file downloads for registered users
- Community comments and discussions
- Post approval workflow for admins
- Difficulty rating system with star indicators
2025-07-24 02:44:25 +03:00