import React from 'react'; import { ClayCard } from './ClayCard'; import { Button } from './Button'; import { FileText, Calculator, ArrowRight, CheckCircle2, Sparkles, FileSignature, BarChart3, Clock, Zap, Shield, TrendingUp, PieChart, Target, Layers, Award } from 'lucide-react'; interface ExternalToolsProps { loiToolUrl?: string; underwritingToolUrl?: string; onToolClick?: (toolName: string) => void; } interface ToolFeature { icon: React.ReactNode; text: string; } interface Tool { id: string; name: string; fullName: string; description: string; longDescription: string; icon: React.ReactNode; iconBg: string; gradientFrom: string; gradientTo: string; features: ToolFeature[]; capabilities: string[]; badge?: string; badgeColor?: string; } export const ExternalTools: React.FC = ({ loiToolUrl = '#', underwritingToolUrl = '#', onToolClick, }) => { const handleToolAccess = (toolName: string, url: string) => { if (onToolClick) { onToolClick(toolName); } if (url && url !== '#') { window.open(url, '_blank', 'noopener,noreferrer'); } }; const tools: Tool[] = [ { id: 'loi', name: 'LOI Drafting Tool', fullName: 'Letter of Intent (LOI) Drafting Tool', description: 'Create professional letters of intent in minutes', longDescription: 'Streamline your deal-making process with our intelligent LOI generator. Input your deal terms and receive a professionally formatted letter of intent ready for submission.', icon: , iconBg: 'bg-gradient-to-br from-emerald-500 to-green-600', gradientFrom: 'from-emerald-100/50', gradientTo: 'to-green-100/50', badge: 'Time Saver', badgeColor: 'bg-emerald-100 text-emerald-700', features: [ { icon: , text: 'Auto-generate from deal data' }, { icon: , text: 'Industry-standard templates' }, { icon: , text: 'Create LOIs in under 5 minutes' }, ], capabilities: [ 'Multiple property type templates', 'Custom clause library', 'Export to PDF/Word', 'Save drafts for later', 'Track sent LOIs', ], }, { id: 'underwriting', name: 'Underwriting Tool', fullName: 'Advanced Underwriting Analysis Tool', description: 'Gamified approach to property analysis', longDescription: 'Make smarter investment decisions with our comprehensive underwriting tool. Analyze deals with confidence using our intuitive, gamified interface that makes complex financial modeling accessible.', icon: , iconBg: 'bg-gradient-to-br from-amber-500 to-orange-600', gradientFrom: 'from-amber-100/50', gradientTo: 'to-orange-100/50', badge: 'Pro Analysis', badgeColor: 'bg-amber-100 text-amber-700', features: [ { icon: , text: 'Interactive financial modeling' }, { icon: , text: 'Scenario comparison' }, { icon: , text: 'ROI & IRR calculations' }, ], capabilities: [ 'Multi-year projections', 'Sensitivity analysis', 'Cap rate calculations', 'Cash flow modeling', 'Investment scoring', ], }, ]; return (
{/* Header - Level 1 (subtle) since it's a page header */}
Productivity Suite

External Tools

Access specialized tools designed to streamline your workflow and help you close deals faster. Each tool is built specifically for commercial real estate professionals.

{/* Tools Grid */}
{tools.map((tool) => ( {/* Background Decoration */}
{/* Header Section */}
{tool.icon}

{tool.fullName}

{tool.badge && ( {tool.badge} )}

{tool.longDescription}

{/* Features Row */}
{tool.features.map((feature, index) => (
{feature.icon} {feature.text}
))}
{/* Capabilities Section */}

Key Capabilities

{tool.capabilities.map((capability, index) => (
{capability}
))}
))}
{/* Coming Soon Section */}

Coming Soon

{[ { name: 'Comp Analysis Tool', description: 'Market comparison insights', icon: }, { name: 'Document Generator', description: 'Custom CRE documents', icon: }, { name: 'Deal Calculator', description: 'Quick deal metrics', icon: }, ].map((item, index) => (
{item.icon}

{item.name}

{item.description}

In Development
))}
); };