import { Shield, Eye, RotateCcw, Zap, Globe, TrendingUp, ArrowRight, CheckCircle, } from 'lucide-react' import { Button } from '@/components/ui/button' import { Card } from '@/components/ui/card' import { buildProUrl } from '@/lib/utils' interface TokenDashboardProps { onBackToDashboard: () => void shouldShowUpsell: boolean } export const TokenDashboard = ({ onBackToDashboard: _onBackToDashboard, shouldShowUpsell, }: TokenDashboardProps) => { if (!shouldShowUpsell) { return null } const proUrl = buildProUrl({ source: 'token-dashboard', medium: 'placeholder', campaign: 'pro-upgrade', content: 'unlock-features', }) const features = [ { icon: Eye, title: 'Real-time Token Visibility', description: 'Monitor all active JWT tokens with detailed dashboard insights and live status updates', color: 'jwt-text-blue-600', bgColor: 'jwt-bg-blue-50', }, { icon: RotateCcw, title: 'Refresh Token Mechanism', description: 'Automatic token rotation with secure refresh capabilities and seamless user experience', color: 'jwt-text-emerald-600', bgColor: 'jwt-bg-emerald-50', }, { icon: Shield, title: 'Instant Token Revocation', description: 'Auto-revoke on password/email/role changes for maximum security and threat prevention', color: 'jwt-text-purple-600', bgColor: 'jwt-bg-purple-50', }, { icon: Zap, title: 'Rate Limiting', description: 'Advanced rate limiting per IP address to prevent abuse and ensure system stability', color: 'jwt-text-red-600', bgColor: 'jwt-bg-red-50', }, { icon: Globe, title: 'Geo-IP Login Tracking', description: 'Identify and track login locations for enhanced security and suspicious activity detection', color: 'jwt-text-orange-600', bgColor: 'jwt-bg-orange-50', }, { icon: TrendingUp, title: 'Advanced Analytics', description: 'Detailed usage tracking with 50+ WordPress hooks and comprehensive reporting dashboard', color: 'jwt-text-indigo-600', bgColor: 'jwt-bg-indigo-50', }, ] const benefits = [ 'Refresh tokens with automatic rotation', 'Instant revocation on security events', 'Advanced rate limiting protection', 'Geo-IP tracking and analytics', '50+ WordPress integration hooks', 'Premium support and documentation', ] return (
Real-time token management, refresh mechanisms, and advanced security features for modern applications
{feature.description}
Upgrade to JWT Authentication Pro for refresh tokens, instant revocation, rate limiting, geo-IP tracking, and advanced analytics. Perfect for headless WordPress, mobile apps, and SPAs.
{/* Benefits List */}Starting at $59.99/year{' '} • 50+ WordPress hooks • Premium support