localgreenchain/pages
Claude c2a1b05677
Implement Agent 10: Mobile Optimization with PWA capabilities
This implements the mobile optimization agent (P3 - Enhancement) with:

PWA Configuration:
- Add next-pwa integration with offline caching strategies
- Create web app manifest for installability
- Add service worker with background sync support
- Create offline fallback page

Mobile Components:
- BottomNav: Touch-friendly bottom navigation bar
- MobileHeader: Responsive header with back navigation
- InstallPrompt: Smart PWA install prompt (iOS & Android)
- SwipeableCard: Gesture-based swipeable cards
- PullToRefresh: Native-like pull to refresh
- QRScanner: Camera-based QR code scanning

Mobile Library:
- camera.ts: Camera access and photo capture utilities
- offline.ts: IndexedDB-based offline storage and sync
- gestures.ts: Touch gesture detection (swipe, pinch, tap)
- pwa.ts: PWA status, install prompts, service worker management

Mobile Pages:
- /m: Mobile dashboard with quick actions and stats
- /m/scan: QR code scanner for plant lookup
- /m/quick-add: Streamlined plant registration form
- /m/profile: User profile with offline status

Dependencies added: next-pwa, idb
2025-11-23 03:56:30 +00:00
..
api Add comprehensive transparency system for LocalGreenChain 2025-11-23 03:29:56 +00:00
blog/page Initial commit 2023-08-09 21:34:23 +00:00
m Implement Agent 10: Mobile Optimization with PWA capabilities 2025-11-23 03:56:30 +00:00
plants Add environmental tracking UI components and integrations 2025-11-16 16:58:53 +00:00
vertical-farm Add vertical farming UI components and pages 2025-11-22 18:35:57 +00:00
[[...slug]].tsx Initial commit 2023-08-09 21:34:23 +00:00
_app.tsx Implement Agent 10: Mobile Optimization with PWA capabilities 2025-11-23 03:56:30 +00:00
_document.tsx Initial commit 2023-08-09 21:34:23 +00:00
index.tsx Implement LocalGreenChain: Plant Cloning Blockchain System 2025-11-16 05:11:55 +00:00
transparency.tsx Add comprehensive transparency system for LocalGreenChain 2025-11-23 03:29:56 +00:00