A modern, mobile-first Progressive Web App (PWA) for managing DeFi portfolios using intent-based execution.
- 📱 PWA Support - Install as mobile app with offline capabilities
- 🎨 Modern Design - Glass morphism effects with purple/blue gradient theme
- 💼 Wallet Interface - Professional wallet-style portfolio management
- 📊 Smart Navigation - Responsive navigation (sidebar for web, bottom for mobile)
- 🥧 Asset Categories - Visual pie chart for BTC, ETH, STABLECOIN, ALTCOIN categories
- 🔍 Detailed Analytics - Expandable asset details with pool information and APR
- 🔄 Intent-Based Actions - ZapIn, ZapOut, and Optimize operations
- 🧑🤝🧑 Community Hub - Stats, podcasts, and social links
- ⚙️ Settings - Comprehensive preferences and help section
- 📱 Mobile Responsive - Optimized for all screen sizes
- ⚡ Performance - Built with Next.js 15 and Turbopack
- 🎭 Animations - Smooth Framer Motion transitions
- Framework: Next.js 15 with App Router
- Styling: Tailwind CSS v4
- Animations: Framer Motion
- Icons: Lucide React
- PWA: next-pwa
- TypeScript: Full type safety
The dashboard displays key portfolio metrics:
- Total Balance: Current USD value with daily change
- Portfolio APR: Annual percentage return
- Max Drawdown: Peak-to-trough decline percentage
- Risk Score: Portfolio risk assessment (1-10 scale)
- Composition: Asset allocation breakdown
- Desktop: Left sidebar with detailed navigation
- Mobile: Bottom tab bar with swipe gestures
- Sections: Portfolio, Analytics, Community, Airdrop, Settings
- Balance Overview: Total value, 24h change, portfolio metrics
- Asset Categories: Interactive pie chart showing:
- BTC: All Bitcoin-related assets (WBTC, BTC, etc.)
- ETH: Ethereum assets (stETH, ETH, LSTs)
- STABLECOIN: USDC, USDT, DAI pools
- ALTCOIN: LINK, AAVE, and other tokens
- Detailed View: Expandable categories showing:
- Individual assets and pools
- Protocol information (Lido, Aave, Uniswap)
- APR rates and asset types
- Pool performance metrics
- Performance Charts: Historical portfolio analytics and metrics
- Dashboards: Interactive analytics dashboard components
- Community Stats: Ecosystem metrics and engagement
- Resources: Podcast links and social media connections
- Rewards Overview: Token reward programs for early users
- Account Preferences: Configuration options and personalization
- Help & Support: Documentation and community links
Three main intent-based actions available:
- ZapIn - Add liquidity optimally across protocols
- ZapOut - Exit positions with minimal slippage
- Optimize - Rebalance portfolio for maximum yield
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Start production server
npm start
Open http://localhost:3000 with your browser to see the result.
Following the Zap Pilot design language:
- Colors: Purple-blue gradients (#8b5cf6 to #3b82f6)
- Background: Dark theme (#0a0a0f)
- Glass Morphism: Backdrop blur with transparency
- Animations: Subtle hover effects and micro-interactions
- Typography: Geist Sans font family
- Touch-friendly button sizes
- Responsive grid layouts
- Swipe gestures ready
- Optimized for iOS and Android
- Apple Web App metadata
- Chrome/Edge 88+
- Firefox 85+
- Safari 14+
- Mobile Safari 14+
- Chrome Mobile 88+
This repository includes configuration and guidance for automated agents:
.serena/
holds project memories and configuration for the Serena agent..claude/
andClaude.md
document workflows and commands for Anthropic's Claude.
Keep these resources updated as the codebase evolves.