Spaces:
Running
Running
Generate a modern crm application particularly for AI assisted marketing. The target users are organizations that have products and or services that the want to promote through email, sms and notifications. There will be a mobile application that will be developed to handle mobile notifications for customers. Add full user management, add chat support, add ai assisted email, newsletter, and presentation builder - Initial Deployment
8e813de verified Download index.html from syncronetix/crm: direct link, hf CLI and curl.
- Browser
- Download file 75.4 kB
-
https://huggingface.co/spaces/syncronetix/crm/resolve/main/index.html
- Command line
-
hf download hf://spaces/syncronetix/crm/index.html
-
curl -L -o index.html https://huggingface.co/spaces/syncronetix/crm/resolve/main/index.html
75.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AI Marketing CRM</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| .sidebar.collapsed { | |
| width: 70px; | |
| } | |
| .sidebar.collapsed .sidebar-text { | |
| display: none; | |
| } | |
| .sidebar.collapsed .logo-text { | |
| display: none; | |
| } | |
| .main-content { | |
| transition: all 0.3s ease; | |
| } | |
| .sidebar.collapsed + .main-content { | |
| margin-left: 70px; | |
| } | |
| .chat-container { | |
| height: calc(100vh - 150px); | |
| } | |
| .email-editor { | |
| min-height: 300px; | |
| } | |
| .slide-preview { | |
| aspect-ratio: 16/9; | |
| } | |
| @media (max-width: 768px) { | |
| .sidebar { | |
| position: fixed; | |
| z-index: 50; | |
| transform: translateX(-100%); | |
| } | |
| .sidebar.open { | |
| transform: translateX(0); | |
| } | |
| .main-content { | |
| margin-left: 0 ; | |
| } | |
| .mobile-menu-btn { | |
| display: block; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div class="sidebar bg-indigo-800 text-white w-64 flex flex-col fixed h-full"> | |
| <div class="p-4 flex items-center space-x-2 border-b border-indigo-700"> | |
| <i class="fas fa-robot text-2xl text-indigo-300"></i> | |
| <span class="logo-text text-xl font-bold">AI Marketing CRM</span> | |
| </div> | |
| <div class="flex-1 overflow-y-auto py-4"> | |
| <div class="px-4 space-y-1"> | |
| <div class="text-indigo-300 uppercase text-xs font-semibold px-2 py-2 sidebar-text">Dashboard</div> | |
| <a href="#" class="flex items-center px-2 py-2 rounded-lg bg-indigo-700 text-white"> | |
| <i class="fas fa-chart-line mr-3"></i> | |
| <span class="sidebar-text">Overview</span> | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-2 rounded-lg hover:bg-indigo-700 text-white"> | |
| <i class="fas fa-calendar-alt mr-3"></i> | |
| <span class="sidebar-text">Campaigns</span> | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-2 rounded-lg hover:bg-indigo-700 text-white"> | |
| <i class="fas fa-bell mr-3"></i> | |
| <span class="sidebar-text">Notifications</span> | |
| </a> | |
| </div> | |
| <div class="px-4 mt-6 space-y-1"> | |
| <div class="text-indigo-300 uppercase text-xs font-semibold px-2 py-2 sidebar-text">Marketing Tools</div> | |
| <a href="#" class="flex items-center px-2 py-2 rounded-lg hover:bg-indigo-700 text-white"> | |
| <i class="fas fa-envelope mr-3"></i> | |
| <span class="sidebar-text">Email Campaigns</span> | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-2 rounded-lg hover:bg-indigo-700 text-white"> | |
| <i class="fas fa-sms mr-3"></i> | |
| <span class="sidebar-text">SMS Marketing</span> | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-2 rounded-lg hover:bg-indigo-700 text-white"> | |
| <i class="fas fa-newspaper mr-3"></i> | |
| <span class="sidebar-text">Newsletters</span> | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-2 rounded-lg hover:bg-indigo-700 text-white"> | |
| <i class="fas fa-file-powerpoint mr-3"></i> | |
| <span class="sidebar-text">Presentation Builder</span> | |
| </a> | |
| </div> | |
| <div class="px-4 mt-6 space-y-1"> | |
| <div class="text-indigo-300 uppercase text-xs font-semibold px-2 py-2 sidebar-text">Management</div> | |
| <a href="#" class="flex items-center px-2 py-2 rounded-lg hover:bg-indigo-700 text-white"> | |
| <i class="fas fa-users mr-3"></i> | |
| <span class="sidebar-text">User Management</span> | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-2 rounded-lg hover:bg-indigo-700 text-white"> | |
| <i class="fas fa-comments mr-3"></i> | |
| <span class="sidebar-text">Customer Support</span> | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-2 rounded-lg hover:bg-indigo-700 text-white"> | |
| <i class="fas fa-mobile-alt mr-3"></i> | |
| <span class="sidebar-text">Mobile App</span> | |
| </a> | |
| <a href="#" class="flex items-center px-2 py-2 rounded-lg hover:bg-indigo-700 text-white"> | |
| <i class="fas fa-cog mr-3"></i> | |
| <span class="sidebar-text">Settings</span> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="p-4 border-t border-indigo-700"> | |
| <div class="flex items-center"> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-10 h-10 rounded-full"> | |
| <div class="ml-3 sidebar-text"> | |
| <div class="font-medium">Sarah Johnson</div> | |
| <div class="text-xs text-indigo-300">Admin</div> | |
| </div> | |
| <button class="ml-auto text-indigo-300 hover:text-white"> | |
| <i class="fas fa-sign-out-alt"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="main-content flex-1 flex flex-col overflow-hidden ml-64"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white shadow-sm"> | |
| <div class="px-4 py-3 flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <button id="mobile-menu-btn" class="mobile-menu-btn mr-4 text-gray-500 hover:text-gray-600 md:hidden"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| <h1 class="text-xl font-semibold text-gray-800">AI Marketing Dashboard</h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <button class="text-gray-500 hover:text-gray-600"> | |
| <i class="fas fa-bell text-xl"></i> | |
| </button> | |
| <span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span> | |
| </div> | |
| <div class="relative"> | |
| <button class="text-gray-500 hover:text-gray-600"> | |
| <i class="fas fa-envelope text-xl"></i> | |
| </button> | |
| <span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span> | |
| </div> | |
| <div class="relative"> | |
| <button id="ai-assistant-btn" class="bg-indigo-600 text-white p-2 rounded-full hover:bg-indigo-700"> | |
| <i class="fas fa-robot"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- AI Assistant Panel --> | |
| <div id="ai-assistant-panel" class="hidden absolute right-4 top-16 w-80 bg-white rounded-lg shadow-xl z-50 border border-gray-200"> | |
| <div class="p-4 border-b border-gray-200 bg-indigo-600 text-white rounded-t-lg"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="font-semibold">AI Marketing Assistant</h3> | |
| <button id="close-ai-panel" class="text-white hover:text-indigo-200"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="p-4 bg-gray-50"> | |
| <div class="mb-4"> | |
| <p class="text-sm text-gray-600">How can I help with your marketing today?</p> | |
| </div> | |
| <div class="space-y-2"> | |
| <button class="w-full text-left px-3 py-2 bg-white border border-gray-200 rounded-lg hover:bg-gray-50 text-sm"> | |
| <i class="fas fa-envelope mr-2 text-indigo-500"></i> Generate email campaign | |
| </button> | |
| <button class="w-full text-left px-3 py-2 bg-white border border-gray-200 rounded-lg hover:bg-gray-50 text-sm"> | |
| <i class="fas fa-chart-line mr-2 text-indigo-500"></i> Analyze campaign performance | |
| </button> | |
| <button class="w-full text-left px-3 py-2 bg-white border border-gray-200 rounded-lg hover:bg-gray-50 text-sm"> | |
| <i class="fas fa-users mr-2 text-indigo-500"></i> Suggest customer segments | |
| </button> | |
| <button class="w-full text-left px-3 py-2 bg-white border border-gray-200 rounded-lg hover:bg-gray-50 text-sm"> | |
| <i class="fas fa-lightbulb mr-2 text-indigo-500"></i> Creative campaign ideas | |
| </button> | |
| </div> | |
| </div> | |
| <div class="p-4 border-t border-gray-200"> | |
| <div class="relative"> | |
| <input type="text" placeholder="Ask the AI assistant..." class="w-full pl-4 pr-10 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
| <button class="absolute right-2 top-2 text-indigo-600"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content Area --> | |
| <main class="flex-1 overflow-y-auto p-4 bg-gray-50"> | |
| <!-- Dashboard Overview --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6"> | |
| <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">Total Campaigns</p> | |
| <h3 class="text-2xl font-bold">128</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-indigo-100 text-indigo-600"> | |
| <i class="fas fa-bullhorn"></i> | |
| </div> | |
| </div> | |
| <div class="mt-2"> | |
| <span class="text-green-500 text-sm font-medium">+12%</span> | |
| <span class="text-gray-500 text-sm ml-1">from last month</span> | |
| </div> | |
| </div> | |
| <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">Active Subscribers</p> | |
| <h3 class="text-2xl font-bold">24,589</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-green-100 text-green-600"> | |
| <i class="fas fa-users"></i> | |
| </div> | |
| </div> | |
| <div class="mt-2"> | |
| <span class="text-green-500 text-sm font-medium">+5.8%</span> | |
| <span class="text-gray-500 text-sm ml-1">from last month</span> | |
| </div> | |
| </div> | |
| <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">Open Rate</p> | |
| <h3 class="text-2xl font-bold">34.7%</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-blue-100 text-blue-600"> | |
| <i class="fas fa-envelope-open"></i> | |
| </div> | |
| </div> | |
| <div class="mt-2"> | |
| <span class="text-green-500 text-sm font-medium">+2.3%</span> | |
| <span class="text-gray-500 text-sm ml-1">from last month</span> | |
| </div> | |
| </div> | |
| <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">Conversion Rate</p> | |
| <h3 class="text-2xl font-bold">8.2%</h3> | |
| </div> | |
| <div class="p-3 rounded-full bg-purple-100 text-purple-600"> | |
| <i class="fas fa-exchange-alt"></i> | |
| </div> | |
| </div> | |
| <div class="mt-2"> | |
| <span class="text-red-500 text-sm font-medium">-1.1%</span> | |
| <span class="text-gray-500 text-sm ml-1">from last month</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Campaigns and AI Tools --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <!-- Recent Campaigns --> | |
| <div class="lg:col-span-2 bg-white rounded-lg shadow-sm border border-gray-200"> | |
| <div class="p-4 border-b border-gray-200"> | |
| <h2 class="font-semibold text-lg">Recent Campaigns</h2> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Campaign</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Performance</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="font-medium">Summer Sale 2023</div> | |
| <div class="text-sm text-gray-500">Sent: 2 days ago</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-indigo-100 text-indigo-800">Email</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="w-20 bg-gray-200 rounded-full h-2.5 mr-2"> | |
| <div class="bg-green-500 h-2.5 rounded-full" style="width: 72%"></div> | |
| </div> | |
| <span>72%</span> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button> | |
| <button class="text-indigo-600 hover:text-indigo-900"><i class="fas fa-chart-bar"></i></button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="font-medium">New Product Launch</div> | |
| <div class="text-sm text-gray-500">Sent: 1 week ago</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">SMS</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="w-20 bg-gray-200 rounded-full h-2.5 mr-2"> | |
| <div class="bg-green-500 h-2.5 rounded-full" style="width: 85%"></div> | |
| </div> | |
| <span>85%</span> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button> | |
| <button class="text-indigo-600 hover:text-indigo-900"><i class="fas fa-chart-bar"></i></button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="font-medium">Monthly Newsletter</div> | |
| <div class="text-sm text-gray-500">Scheduled</div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Newsletter</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="w-20 bg-gray-200 rounded-full h-2.5 mr-2"> | |
| <div class="bg-gray-300 h-2.5 rounded-full" style="width: 0%"></div> | |
| </div> | |
| <span>0%</span> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button> | |
| <button class="text-indigo-600 hover:text-indigo-900"><i class="fas fa-chart-bar"></i></button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="p-4 border-t border-gray-200 text-center"> | |
| <button class="text-indigo-600 hover:text-indigo-800 font-medium">View All Campaigns</button> | |
| </div> | |
| </div> | |
| <!-- AI Marketing Tools --> | |
| <div class="bg-white rounded-lg shadow-sm border border-gray-200"> | |
| <div class="p-4 border-b border-gray-200"> | |
| <h2 class="font-semibold text-lg">AI Marketing Tools</h2> | |
| </div> | |
| <div class="p-4 space-y-4"> | |
| <div class="p-4 bg-indigo-50 rounded-lg border border-indigo-100"> | |
| <div class="flex items-start"> | |
| <div class="p-2 bg-indigo-100 rounded-full text-indigo-600 mr-3"> | |
| <i class="fas fa-envelope"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-medium">AI Email Generator</h3> | |
| <p class="text-sm text-gray-600 mt-1">Create high-converting emails in seconds with AI</p> | |
| <button class="mt-2 text-sm text-indigo-600 hover:text-indigo-800 font-medium">Try Now</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 bg-green-50 rounded-lg border border-green-100"> | |
| <div class="flex items-start"> | |
| <div class="p-2 bg-green-100 rounded-full text-green-600 mr-3"> | |
| <i class="fas fa-sms"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-medium">SMS Campaign Builder</h3> | |
| <p class="text-sm text-gray-600 mt-1">Generate personalized SMS messages with AI</p> | |
| <button class="mt-2 text-sm text-green-600 hover:text-green-800 font-medium">Try Now</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 bg-purple-50 rounded-lg border border-purple-100"> | |
| <div class="flex items-start"> | |
| <div class="p-2 bg-purple-100 rounded-full text-purple-600 mr-3"> | |
| <i class="fas fa-file-powerpoint"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-medium">Presentation Creator</h3> | |
| <p class="text-sm text-gray-600 mt-1">AI-powered slides for your marketing decks</p> | |
| <button class="mt-2 text-sm text-purple-600 hover:text-purple-800 font-medium">Try Now</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 bg-blue-50 rounded-lg border border-blue-100"> | |
| <div class="flex items-start"> | |
| <div class="p-2 bg-blue-100 rounded-full text-blue-600 mr-3"> | |
| <i class="fas fa-chart-pie"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-medium">Performance Analyzer</h3> | |
| <p class="text-sm text-gray-600 mt-1">Get AI insights on your campaign performance</p> | |
| <button class="mt-2 text-sm text-blue-600 hover:text-blue-800 font-medium">Try Now</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Email Campaign Builder (Hidden by default, shown when user clicks on email tool) --> | |
| <div id="email-builder" class="hidden mt-6 bg-white rounded-lg shadow-sm border border-gray-200"> | |
| <div class="p-4 border-b border-gray-200 flex justify-between items-center"> | |
| <h2 class="font-semibold text-lg">AI Email Campaign Builder</h2> | |
| <button id="close-email-builder" class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <div class="p-4"> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <div class="lg:col-span-2"> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Campaign Goal</label> | |
| <select class="w-full border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
| <option>Increase sales</option> | |
| <option>Promote new product</option> | |
| <option>Customer retention</option> | |
| <option>Brand awareness</option> | |
| <option>Event promotion</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Target Audience</label> | |
| <select class="w-full border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
| <option>All customers</option> | |
| <option>New customers</option> | |
| <option>Repeat customers</option> | |
| <option>High-value customers</option> | |
| <option>Inactive customers</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Email Tone</label> | |
| <select class="w-full border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
| <option>Professional</option> | |
| <option>Friendly</option> | |
| <option>Urgent</option> | |
| <option>Exciting</option> | |
| <option>Informative</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Additional Details</label> | |
| <textarea class="w-full border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" rows="3" placeholder="Any specific details about your product/service or special offers..."></textarea> | |
| </div> | |
| <button class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"> | |
| Generate Email with AI | |
| </button> | |
| </div> | |
| <div> | |
| <div class="bg-gray-50 p-4 rounded-lg border border-gray-200"> | |
| <h3 class="font-medium text-gray-800 mb-3">AI Suggestions</h3> | |
| <div class="space-y-3"> | |
| <div class="p-3 bg-white rounded-lg border border-gray-200 shadow-xs"> | |
| <div class="flex items-start"> | |
| <div class="bg-indigo-100 p-1 rounded-full mr-2"> | |
| <i class="fas fa-lightbulb text-indigo-600 text-xs"></i> | |
| </div> | |
| <p class="text-sm text-gray-700">Highlight your unique selling proposition in the first paragraph.</p> | |
| </div> | |
| </div> | |
| <div class="p-3 bg-white rounded-lg border border-gray-200 shadow-xs"> | |
| <div class="flex items-start"> | |
| <div class="bg-indigo-100 p-1 rounded-full mr-2"> | |
| <i class="fas fa-lightbulb text-indigo-600 text-xs"></i> | |
| </div> | |
| <p class="text-sm text-gray-700">Use a limited-time offer to create urgency.</p> | |
| </div> | |
| </div> | |
| <div class="p-3 bg-white rounded-lg border border-gray-200 shadow-xs"> | |
| <div class="flex items-start"> | |
| <div class="bg-indigo-100 p-1 rounded-full mr-2"> | |
| <i class="fas fa-lightbulb text-indigo-600 text-xs"></i> | |
| </div> | |
| <p class="text-sm text-gray-700">Include social proof like customer testimonials.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- User Management Section --> | |
| <div id="user-management" class="hidden mt-6 bg-white rounded-lg shadow-sm border border-gray-200"> | |
| <div class="p-4 border-b border-gray-200 flex justify-between items-center"> | |
| <h2 class="font-semibold text-lg">User Management</h2> | |
| <div> | |
| <button id="close-user-management" class="text-gray-500 hover:text-gray-700 mr-3"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| <button class="bg-indigo-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-indigo-700"> | |
| <i class="fas fa-plus mr-1"></i> Add User | |
| </button> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <div class="mb-4 flex justify-between items-center"> | |
| <div class="relative w-64"> | |
| <input type="text" placeholder="Search users..." class="w-full pl-8 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <select class="border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 text-sm"> | |
| <option>All Roles</option> | |
| <option>Admin</option> | |
| <option>Manager</option> | |
| <option>Editor</option> | |
| <option>Viewer</option> | |
| </select> | |
| <select class="border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 text-sm"> | |
| <option>All Status</option> | |
| <option>Active</option> | |
| <option>Inactive</option> | |
| <option>Suspended</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">User</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Email</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Role</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">John Smith</div> | |
| <div class="text-sm text-gray-500">Last active: 2h ago</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">john.smith@example.com</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Admin</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> | |
| <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></a> | |
| <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash-alt"></i></a> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Sarah Johnson</div> | |
| <div class="text-sm text-gray-500">Last active: 1d ago</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">sarah.j@example.com</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Manager</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> | |
| <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></a> | |
| <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash-alt"></i></a> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/75.jpg" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Michael Brown</div> | |
| <div class="text-sm text-gray-500">Last active: 3d ago</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">michael.b@example.com</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Editor</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Inactive</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> | |
| <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></a> | |
| <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash-alt"></i></a> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="mt-4 flex items-center justify-between"> | |
| <div class="text-sm text-gray-500"> | |
| Showing <span class="font-medium">1</span> to <span class="font-medium">3</span> of <span class="font-medium">24</span> users | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm bg-white text-gray-700 hover:bg-gray-50"> | |
| Previous | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm bg-indigo-600 text-white hover:bg-indigo-700"> | |
| 1 | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm bg-white text-gray-700 hover:bg-gray-50"> | |
| 2 | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm bg-white text-gray-700 hover:bg-gray-50"> | |
| 3 | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm bg-white text-gray-700 hover:bg-gray-50"> | |
| Next | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Chat Support Section --> | |
| <div id="chat-support" class="hidden mt-6 bg-white rounded-lg shadow-sm border border-gray-200"> | |
| <div class="p-4 border-b border-gray-200 flex justify-between items-center"> | |
| <h2 class="font-semibold text-lg">Customer Support Chat</h2> | |
| <div> | |
| <button id="close-chat-support" class="text-gray-500 hover:text-gray-700 mr-3"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| <button class="bg-indigo-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-indigo-700"> | |
| <i class="fas fa-plus mr-1"></i> New Chat | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex"> | |
| <!-- Chat List --> | |
| <div class="w-1/3 border-r border-gray-200"> | |
| <div class="p-3 border-b border-gray-200"> | |
| <input type="text" placeholder="Search conversations..." class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 text-sm"> | |
| </div> | |
| <div class="overflow-y-auto" style="height: 500px;"> | |
| <div class="p-3 border-b border-gray-200 hover:bg-gray-50 cursor-pointer"> | |
| <div class="flex items-center"> | |
| <div class="relative"> | |
| <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/12.jpg" alt=""> | |
| <span class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></span> | |
| </div> | |
| <div class="ml-3"> | |
| <div class="text-sm font-medium text-gray-900">Emily Wilson</div> | |
| <div class="text-xs text-gray-500">Hey, I have a question about my subscription...</div> | |
| </div> | |
| <div class="ml-auto text-xs text-gray-500">2 min ago</div> | |
| </div> | |
| </div> | |
| <div class="p-3 border-b border-gray-200 bg-gray-50 cursor-pointer"> | |
| <div class="flex items-center"> | |
| <div class="relative"> | |
| <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/42.jpg" alt=""> | |
| <span class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></span> | |
| </div> | |
| <div class="ml-3"> | |
| <div class="text-sm font-medium text-gray-900">David Miller</div> | |
| <div class="text-xs text-gray-500">The mobile app is not showing my notifications...</div> | |
| </div> | |
| <div class="ml-auto text-xs text-gray-500">15 min ago</div> | |
| </div> | |
| </div> | |
| <div class="p-3 border-b border-gray-200 hover:bg-gray-50 cursor-pointer"> | |
| <div class="flex items-center"> | |
| <div class="relative"> | |
| <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/33.jpg" alt=""> | |
| <span class="absolute bottom-0 right-0 w-3 h-3 bg-gray-500 rounded-full border-2 border-white"></span> | |
| </div> | |
| <div class="ml-3"> | |
| <div class="text-sm font-medium text-gray-900">Jessica Brown</div> | |
| <div class="text-xs text-gray-500">Thanks for your help!</div> | |
| </div> | |
| <div class="ml-auto text-xs text-gray-500">1h ago</div> | |
| </div> | |
| </div> | |
| <div class="p-3 border-b border-gray-200 hover:bg-gray-50 cursor-pointer"> | |
| <div class="flex items-center"> | |
| <div class="relative"> | |
| <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/64.jpg" alt=""> | |
| <span class="absolute bottom-0 right-0 w-3 h-3 bg-gray-500 rounded-full border-2 border-white"></span> | |
| </div> | |
| <div class="ml-3"> | |
| <div class="text-sm font-medium text-gray-900">Robert Taylor</div> | |
| <div class="text-xs text-gray-500">How do I change my email preferences?</div> | |
| </div> | |
| <div class="ml-auto text-xs text-gray-500">3h ago</div> | |
| </div> | |
| </div> | |
| <div class="p-3 border-b border-gray-200 hover:bg-gray-50 cursor-pointer"> | |
| <div class="flex items-center"> | |
| <div class="relative"> | |
| <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/28.jpg" alt=""> | |
| <span class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></span> | |
| </div> | |
| <div class="ml-3"> | |
| <div class="text-sm font-medium text-gray-900">Sophia Davis</div> | |
| <div class="text-xs text-gray-500">I'm interested in your premium plan...</div> | |
| </div> | |
| <div class="ml-auto text-xs text-gray-500">5h ago</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Chat Conversation --> | |
| <div class="w-2/3 flex flex-col"> | |
| <div class="p-4 border-b border-gray-200 flex items-center"> | |
| <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/42.jpg" alt=""> | |
| <div class="ml-3"> | |
| <div class="text-sm font-medium text-gray-900">David Miller</div> | |
| <div class="text-xs text-gray-500">Online</div> | |
| </div> | |
| <div class="ml-auto flex space-x-2"> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-phone"></i> | |
| </button> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-video"></i> | |
| </button> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-ellipsis-v"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex-1 p-4 overflow-y-auto chat-container"> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/men/42.jpg" alt=""> | |
| <div class="ml-3"> | |
| <div class="bg-gray-100 rounded-lg py-2 px-4"> | |
| <p class="text-sm text-gray-800">Hi there! The mobile app is not showing my notifications even though I've enabled them in settings.</p> | |
| </div> | |
| <div class="text-xs text-gray-500 mt-1">15 minutes ago</div> | |
| </div> | |
| </div> | |
| <div class="flex items-start justify-end"> | |
| <div class="mr-3 text-right"> | |
| <div class="bg-indigo-100 rounded-lg py-2 px-4"> | |
| <p class="text-sm text-gray-800">Hi David, sorry to hear that. Let me check your account settings.</p> | |
| </div> | |
| <div class="text-xs text-gray-500 mt-1">14 minutes ago</div> | |
| </div> | |
| <img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt=""> | |
| </div> | |
| <div class="flex items-start justify-end"> | |
| <div class="mr-3 text-right"> | |
| <div class="bg-indigo-100 rounded-lg py-2 px-4"> | |
| <p class="text-sm text-gray-800">I can see that notifications are enabled on our end. Have you checked your device settings to make sure notifications are allowed for our app?</p> | |
| </div> | |
| <div class="text-xs text-gray-500 mt-1">12 minutes ago</div> | |
| </div> | |
| <img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt=""> | |
| </div> | |
| <div class="flex items-start"> | |
| <img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/men/42.jpg" alt=""> | |
| <div class="ml-3"> | |
| <div class="bg-gray-100 rounded-lg py-2 px-4"> | |
| <p class="text-sm text-gray-800">Yes, I've checked my phone settings and notifications are enabled for the app. I've also tried reinstalling but no luck.</p> | |
| </div> | |
| <div class="text-xs text-gray-500 mt-1">10 minutes ago</div> | |
| </div> | |
| </div> | |
| <div class="flex items-start justify-end"> | |
| <div class="mr-3 text-right"> | |
| <div class="bg-indigo-100 rounded-lg py-2 px-4"> | |
| <p class="text-sm text-gray-800">I see. Let me escalate this to our technical team. Could you tell me what device and OS version you're using?</p> | |
| </div> | |
| <div class="text-xs text-gray-500 mt-1">8 minutes ago</div> | |
| </div> | |
| <img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt=""> | |
| </div> | |
| <div class="flex items-start"> | |
| <img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/men/42.jpg" alt=""> | |
| <div class="ml-3"> | |
| <div class="bg-gray-100 rounded-lg py-2 px-4"> | |
| <p class="text-sm text-gray-800">I'm using an iPhone 12 with iOS 16.5. The app version is 2.4.1.</p> | |
| </div> | |
| <div class="text-xs text-gray-500 mt-1">5 minutes ago</div> | |
| </div> | |
| </div> | |
| <div class="flex items-start justify-end"> | |
| <div class="mr-3 text-right"> | |
| <div class="bg-indigo-100 rounded-lg py-2 px-4"> | |
| <p class="text-sm text-gray-800">Thanks for the details. I've created a support ticket (#45782) for this issue. Our team will investigate and we'll notify you via email once we have an update. Is there anything else I can help you with today?</p> | |
| </div> | |
| <div class="text-xs text-gray-500 mt-1">2 minutes ago</div> | |
| </div> | |
| <img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt=""> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 border-t border-gray-200"> | |
| <div class="flex items-center"> | |
| <button class="text-gray-500 hover:text-gray-700 mr-2"> | |
| <i class="fas fa-paperclip"></i> | |
| </button> | |
| <input type="text" placeholder="Type your message..." class="flex-1 px-4 py-2 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
| <button class="ml-2 bg-indigo-600 text-white p-2 rounded-full hover:bg-indigo-700"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Mobile App Section --> | |
| <div id="mobile-app" class="hidden mt-6 bg-white rounded-lg shadow-sm border border-gray-200"> | |
| <div class="p-4 border-b border-gray-200 flex justify-between items-center"> | |
| <h2 class="font-semibold text-lg">Mobile App Management</h2> | |
| <div> | |
| <button id="close-mobile-app" class="text-gray-500 hover:text-gray-700 mr-3"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| <button class="bg-indigo-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-indigo-700"> | |
| <i class="fas fa-plus mr-1"></i> New Push Campaign | |
| </button> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6"> | |
| <div> | |
| <h3 class="font-medium text-gray-800 mb-3">App Statistics</h3> | |
| <div class="grid grid-cols-2 gap-4 mb-6"> | |
| <div class="bg-white p-4 rounded-lg shadow-xs border border-gray-200"> | |
| <div class="text-sm text-gray-500 mb-1">Installs</div> | |
| <div class="text-2xl font-bold">24,589</div> | |
| <div class="text-green-500 text-sm mt-1">+12% this month</div> | |
| </div> | |
| <div class="bg-white p-4 rounded-lg shadow-xs border border-gray-200"> | |
| <div class="text-sm text-gray-500 mb-1">Active Users</div> | |
| <div class="text-2xl font-bold">18,742</div> | |
| <div class="text-green-500 text-sm mt-1">+8% this month</div> | |
| </div> | |
| <div class="bg-white p-4 rounded-lg shadow-xs border border-gray-200"> | |
| <div class="text-sm text-gray-500 mb-1">Push Opens</div> | |
| <div class="text-2xl font-bold">62%</div> | |
| <div class="text-green-500 text-sm mt-1">+5% this month</div> | |
| </div> | |
| <div class="bg-white p-4 rounded-lg shadow-xs border border-gray-200"> | |
| <div class="text-sm text-gray-500 mb-1">Avg. Session</div> | |
| <div class="text-2xl font-bold">3.2m</div> | |
| <div class="text-red-500 text-sm mt-1">-0.5m this month</div> | |
| </div> | |
| </div> | |
| <h3 class="font-medium text-gray-800 mb-3">Recent Push Notifications</h3> | |
| <div class="space-y-3"> | |
| <div class="p-3 bg-white rounded-lg border border-gray-200 shadow-xs"> | |
| <div class="flex items-start"> | |
| <div class="bg-indigo-100 p-2 rounded-full text-indigo-600 mr-3"> | |
| <i class="fas fa-bell"></i> | |
| </div> | |
| <div> | |
| <div class="font-medium">Summer Sale Starts Now!</div> | |
| <div class="text-sm text-gray-600 mt-1">Sent to 24,589 users - 62% open rate</div> | |
| <div class="text-xs text-gray-500 mt-1">2 days ago</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-3 bg-white rounded-lg border border-gray-200 shadow-xs"> | |
| <div class="flex items-start"> | |
| <div class="bg-green-100 p-2 rounded-full text-green-600 mr-3"> | |
| <i class="fas fa-bell"></i> | |
| </div> | |
| <div> | |
| <div class="font-medium">New Feature: Personalized Recommendations</div> | |
| <div class="text-sm text-gray-600 mt-1">Sent to 18,742 users - 58% open rate</div> | |
| <div class="text-xs text-gray-500 mt-1">1 week ago</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-3 bg-white rounded-lg border border-gray-200 shadow-xs"> | |
| <div class="flex items-start"> | |
| <div class="bg-blue-100 p-2 rounded-full text-blue-600 mr-3"> | |
| <i class="fas fa-bell"></i> | |
| </div> | |
| <div> | |
| <div class="font-medium">Your Exclusive Discount Awaits</div> | |
| <div class="text-sm text-gray-600 mt-1">Sent to 5,200 users - 71% open rate</div> | |
| <div class="text-xs text-gray-500 mt-1">2 weeks ago</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="font-medium text-gray-800 mb-3">Create New Push Notification</h3> | |
| <div class="bg-gray-50 p-4 rounded-lg border border-gray-200"> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Notification Title</label> | |
| <input type="text" class="w-full border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="Limited Time Offer!"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Message</label> | |
| <textarea class="w-full border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" rows="3" placeholder="Get 20% off all products this weekend only!"></textarea> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Target Audience</label> | |
| <select class="w-full border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
| <option>All Users</option> | |
| <option>Active Users (last 30 days)</option> | |
| <option>Inactive Users (30+ days)</option> | |
| <option>High-Value Customers</option> | |
| <option>iOS Users</option> | |
| <option>Android Users</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Delivery Time</label> | |
| <div class="flex space-x-4"> | |
| <label class="inline-flex items-center"> | |
| <input type="radio" class="form-radio text-indigo-600" name="delivery" checked> | |
| <span class="ml-2">Send immediately</span> | |
| </label> | |
| <label class="inline-flex items-center"> | |
| <input type="radio" class="form-radio text-indigo-600" name="delivery"> | |
| <span class="ml-2">Schedule</span> | |
| </label> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Deep Link (optional)</label> | |
| <input type="text" class="w-full border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="https://example.com/summer-sale"> | |
| </div> | |
| <div class="flex justify-end"> | |
| <button class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"> | |
| Send Notification | |
| </button> | |
| </div> | |
| </div> | |
| <h3 class="font-medium text-gray-800 mt-6 mb-3">App Preview</h3> | |
| <div class="relative mx-auto" style="width: 300px;"> | |
| <img src="https://via.placeholder.com/300x600" alt="Mobile App" class="rounded-lg border border-gray-300"> | |
| <div class="absolute inset-0 flex items-center justify-center"> | |
| <div class="bg-white p-4 rounded-lg shadow-lg" style="width: 90%;"> | |
| <div class="font-medium mb-1">Limited Time Offer!</div> | |
| <div class="text-sm text-gray-600">Get 20% off all products this weekend only!</div> | |
| <div class="mt-2 text-xs text-gray-500">Just now</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| // Toggle sidebar on mobile | |
| document.getElementById('mobile-menu-btn').addEventListener('click', function() { | |
| document.querySelector('.sidebar').classList.toggle('open'); | |
| }); | |
| // Toggle AI assistant panel | |
| document.getElementById('ai-assistant-btn').addEventListener('click', function() { | |
| document.getElementById('ai-assistant-panel').classList.toggle('hidden'); | |
| }); | |
| document.getElementById('close-ai-panel').addEventListener('click', function() { | |
| document.getElementById('ai-assistant-panel').classList.add('hidden'); | |
| }); | |
| // Show email builder when clicking on AI email tool | |
| document.querySelectorAll('[class*="text-indigo-600"].font-medium').forEach(button => { | |
| button.addEventListener('click', function() { | |
| if (this.textContent.includes('Email')) { | |
| document.getElementById('email-builder').classList.remove('hidden'); | |
| } else if (this.textContent.includes('User')) { | |
| document.getElementById('user-management').classList.remove('hidden'); | |
| } else if (this.textContent.includes('Customer')) { | |
| document.getElementById('chat-support').classList.remove('hidden'); | |
| } else if (this.textContent.includes('Mobile')) { | |
| document.getElementById('mobile-app').classList.remove('hidden'); | |
| } | |
| }); | |
| }); | |
| // Close panels | |
| document.getElementById('close-email-builder').addEventListener('click', function() { | |
| document.getElementById('email-builder').classList.add('hidden'); | |
| }); | |
| document.getElementById('close-user-management').addEventListener('click', function() { | |
| document.getElementById('user-management').classList.add('hidden'); | |
| }); | |
| document.getElementById('close-chat-support').addEventListener('click', function() { | |
| document.getElementById('chat-support').classList.add('hidden'); | |
| }); | |
| document.getElementById('close-mobile-app').addEventListener('click', function() { | |
| document.getElementById('mobile-app').classList.add('hidden'); | |
| }); | |
| // Simulate AI email generation | |
| document.querySelector('#email-builder button.bg-indigo-600').addEventListener('click', function() { | |
| alert('AI is generating your email campaign... Check back in a few seconds!'); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=syncronetix/crm" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |