Spaces:
Running
Running
File size: 25,422 Bytes
0b7f2de 28e99a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Battle Buddy Benefits Navigator</title>
<link rel="icon" type="image/x-icon" href="https://static.photos/military/200x200/1">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<style>
.hero-gradient {
background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
}
.benefit-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.mock-chat {
height: 400px;
border-radius: 12px;
overflow: hidden;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Vanta.js Background -->
<div id="vanta-bg" class="fixed top-0 left-0 w-full h-full z-0"></div>
<!-- Main Content -->
<div class="relative z-10">
<!-- Hero Section -->
<section class="hero-gradient text-white py-20 px-4">
<div class="container mx-auto max-w-6xl text-center">
<div class="flex justify-center mb-6">
<img src="https://static.photos/military/200x200/5" alt="Military Badge" class="h-24 w-24 rounded-full border-4 border-yellow-400">
</div>
<h1 class="text-4xl md:text-6xl font-bold mb-6">Battle Buddy Benefits Navigator</h1>
<p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto">Your personalized guide to military benefits, disability ratings, and VA claims assistance</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<a href="#calculator" class="bg-yellow-500 hover:bg-yellow-600 text-gray-900 font-semibold py-3 px-6 rounded-lg transition duration-300 transform hover:scale-105">
<i data-feather="calculator" class="inline mr-2"></i> Benefits Calculator
</a>
<a href="#chatbot" class="bg-gray-800 hover:bg-gray-900 text-white font-semibold py-3 px-6 rounded-lg transition duration-300 transform hover:scale-105">
<i data-feather="message-square" class="inline mr-2"></i> VA Agent Chatbot
</a>
</div>
</div>
</section>
<!-- Benefits Calculator -->
<section id="calculator" class="py-16 px-4 bg-white">
<div class="container mx-auto max-w-6xl">
<div class="text-center mb-12">
<h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-4">Benefits Eligibility Calculator</h2>
<p class="text-gray-600 max-w-2xl mx-auto">Answer a few questions to estimate your potential disability rating and benefits</p>
</div>
<div class="bg-gray-100 rounded-xl p-6 shadow-lg">
<div class="mb-8">
<h3 class="text-xl font-semibold mb-4 text-gray-800">Service Information</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label class="block text-gray-700 mb-2">Branch of Service</label>
<select class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<option>Select Branch</option>
<option>Army</option>
<option>Navy</option>
<option>Air Force</option>
<option>Marines</option>
<option>Coast Guard</option>
</select>
</div>
<div>
<label class="block text-gray-700 mb-2">Years of Service</label>
<input type="number" class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Enter years">
</div>
</div>
</div>
<div class="mb-8">
<h3 class="text-xl font-semibold mb-4 text-gray-800">Disability Information</h3>
<div class="space-y-4">
<div class="flex items-center">
<input type="checkbox" id="combat" class="h-5 w-5 text-blue-600 rounded">
<label for="combat" class="ml-2 text-gray-700">Combat-related injury</label>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label class="block text-gray-700 mb-2">Primary Condition</label>
<select class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<option>Select Condition</option>
<option>PTSD</option>
<option>Back Injury</option>
<option>Hearing Loss</option>
<option>Traumatic Brain Injury</option>
<option>Other</option>
</select>
</div>
<div>
<label class="block text-gray-700 mb-2">Secondary Conditions (if any)</label>
<input type="text" class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="List conditions separated by commas">
</div>
</div>
</div>
</div>
<div class="text-center">
<button class="bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 px-8 rounded-lg transition duration-300 transform hover:scale-105">
Calculate My Benefits <i data-feather="arrow-right" class="inline ml-2"></i>
</button>
</div>
</div>
<!-- Results Section (hidden by default) -->
<div id="results" class="mt-12 hidden">
<div class="bg-gradient-to-r from-blue-500 to-blue-700 rounded-xl p-8 text-white">
<div class="flex items-center justify-between mb-6">
<h3 class="text-2xl font-bold">Your Estimated Benefits</h3>
<div class="bg-yellow-400 text-gray-900 font-bold py-2 px-4 rounded-full">
Estimated Rating: 70%
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-white bg-opacity-20 p-4 rounded-lg">
<div class="flex items-center mb-2">
<i data-feather="dollar-sign" class="mr-2"></i>
<h4 class="font-semibold">Monthly Compensation</h4>
</div>
<p class="text-2xl font-bold">$1,500</p>
</div>
<div class="bg-white bg-opacity-20 p-4 rounded-lg">
<div class="flex items-center mb-2">
<i data-feather="heart" class="mr-2"></i>
<h4 class="font-semibold">Healthcare Benefits</h4>
</div>
<p class="text-2xl font-bold">Priority Group 1</p>
</div>
<div class="bg-white bg-opacity-20 p-4 rounded-lg">
<div class="flex items-center mb-2">
<i data-feather="home" class="mr-2"></i>
<h4 class="font-semibold">Housing Benefits</h4>
</div>
<p class="text-2xl font-bold">Eligible</p>
</div>
</div>
<div class="mt-8">
<h4 class="font-semibold mb-3">Recommended Next Steps:</h4>
<ul class="space-y-2">
<li class="flex items-start">
<i data-feather="check-circle" class="mr-2 mt-1"></i>
<span>File a claim with the VA through our guided process</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="mr-2 mt-1"></i>
<span>Prepare for your C&P exam with our mock interview</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="mr-2 mt-1"></i>
<span>Connect with a local VSO for personalized assistance</span>
</li>
</ul>
</div>
<div class="mt-6 flex flex-wrap gap-4">
<a href="#" class="bg-white text-blue-600 hover:bg-gray-100 font-semibold py-2 px-4 rounded-lg transition duration-300">
<i data-feather="file-text" class="inline mr-2"></i> Start VA Claim
</a>
<a href="#chatbot" class="bg-yellow-400 hover:bg-yellow-500 text-gray-900 font-semibold py-2 px-4 rounded-lg transition duration-300">
<i data-feather="message-square" class="inline mr-2"></i> Talk to VA Agent
</a>
</div>
</div>
</div>
</div>
</section>
<!-- VA Chatbot Section -->
<section id="chatbot" class="py-16 px-4 bg-gray-50">
<div class="container mx-auto max-w-6xl">
<div class="text-center mb-12">
<h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-4">VA Agent Chatbot</h2>
<p class="text-gray-600 max-w-2xl mx-auto">Practice your C&P exam interview with our AI that simulates VA agents</p>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<div class="bg-white rounded-xl shadow-lg overflow-hidden">
<div class="bg-blue-600 text-white py-3 px-6">
<h3 class="font-semibold">Select Agent Type</h3>
</div>
<div class="p-6">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
<button class="agent-btn border border-blue-200 rounded-lg p-4 hover:bg-blue-50 transition" data-agent="compensation">
<div class="flex items-center">
<div class="bg-blue-100 p-2 rounded-full mr-3">
<i data-feather="dollar-sign" class="text-blue-600"></i>
</div>
<div>
<h4 class="font-semibold text-gray-800">Compensation Agent</h4>
<p class="text-sm text-gray-600">Disability benefits</p>
</div>
</div>
</button>
<button class="agent-btn border border-blue-200 rounded-lg p-4 hover:bg-blue-50 transition" data-agent="pension">
<div class="flex items-center">
<div class="bg-blue-100 p-2 rounded-full mr-3">
<i data-feather="credit-card" class="text-blue-600"></i>
</div>
<div>
<h4 class="font-semibold text-gray-800">Pension Agent</h4>
<p class="text-sm text-gray-600">Retirement benefits</p>
</div>
</div>
</button>
<button class="agent-btn border border-blue-200 rounded-lg p-4 hover:bg-blue-50 transition" data-agent="healthcare">
<div class="flex items-center">
<div class="bg-blue-100 p-2 rounded-full mr-3">
<i data-feather="heart" class="text-blue-600"></i>
</div>
<div>
<h4 class="font-semibold text-gray-800">Healthcare Agent</h4>
<p class="text-sm text-gray-600">Medical benefits</p>
</div>
</div>
</button>
<button class="agent-btn border border-blue-200 rounded-lg p-4 hover:bg-blue-50 transition" data-agent="education">
<div class="flex items-center">
<div class="bg-blue-100 p-2 rounded-full mr-3">
<i data-feather="book" class="text-blue-600"></i>
</div>
<div>
<h4 class="font-semibold text-gray-800">Education Agent</h4>
<p class="text-sm text-gray-600">GI Bill questions</p>
</div>
</div>
</button>
</div>
</div>
</div>
<div class="mock-chat bg-white rounded-xl shadow-lg">
<div class="bg-blue-600 text-white py-3 px-6 flex justify-between items-center">
<h3 class="font-semibold">VA Agent Chat</h3>
<div class="flex items-center">
<div class="w-2 h-2 bg-green-400 rounded-full mr-1"></div>
<span class="text-xs">Online</span>
</div>
</div>
<div class="p-4 h-64 overflow-y-auto bg-gray-50">
<div class="text-center py-8 text-gray-500">
<i data-feather="message-square" class="mx-auto h-8 w-8 mb-2"></i>
<p>Select an agent type to begin your mock interview</p>
</div>
</div>
<div class="p-4 border-t border-gray-200">
<div class="flex">
<input type="text" placeholder="Type your message..." class="flex-1 px-4 py-2 rounded-l-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-r-lg">
<i data-feather="send"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Resources Section -->
<section class="py-16 px-4 bg-white">
<div class="container mx-auto max-w-6xl">
<div class="text-center mb-12">
<h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-4">Benefit Resources</h2>
<p class="text-gray-600 max-w-2xl mx-auto">Quick links to official forms and support services</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<a href="https://www.va.gov/disability/file-disability-claim-form-21-526ez/introduction" target="_blank" class="benefit-card bg-gray-100 hover:bg-blue-50 border border-gray-200 rounded-xl p-6 transition duration-300">
<div class="bg-blue-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i data-feather="file-text" class="text-blue-600"></i>
</div>
<h3 class="text-xl font-semibold mb-2 text-gray-800">VA Disability Claim</h3>
<p class="text-gray-600">Form 21-526EZ for disability compensation</p>
</a>
<a href="https://www.va.gov/health-care/apply/application" target="_blank" class="benefit-card bg-gray-100 hover:bg-blue-50 border border-gray-200 rounded-xl p-6 transition duration-300">
<div class="bg-blue-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i data-feather="activity" class="text-blue-600"></i>
</div>
<h3 class="text-xl font-semibold mb-2 text-gray-800">Healthcare Application</h3>
<p class="text-gray-600">Apply for VA health care benefits</p>
</a>
<a href="https://www.va.gov/education/apply-for-education-benefits/application" target="_blank" class="benefit-card bg-gray-100 hover:bg-blue-50 border border-gray-200 rounded-xl p-6 transition duration-300">
<div class="bg-blue-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i data-feather="book-open" class="text-blue-600"></i>
</div>
<h3 class="text-xl font-semibold mb-2 text-gray-800">Education Benefits</h3>
<p class="text-gray-600">GI Bill and other education programs</p>
</a>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12 px-4">
<div class="container mx-auto max-w-6xl">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4">Battle Buddy</h3>
<p class="text-gray-400">Helping veterans navigate the complex world of military benefits since 2023.</p>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Home</a></li>
<li><a href="#calculator" class="text-gray-400 hover:text-white transition">Benefits Calculator</a></li>
<li><a href="#chatbot" class="text-gray-400 hover:text-white transition">VA Agent Chatbot</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Official Resources</h3>
<ul class="space-y-2">
<li><a href="https://www.va.gov" target="_blank" class="text-gray-400 hover:text-white transition">VA.gov</a></li>
<li><a href="https://www.benefits.va.gov" target="_blank" class="text-gray-400 hover:text-white transition">VA Benefits</a></li>
<li><a href="https://www.vba.va.gov" target="_blank" class="text-gray-400 hover:text-white transition">Veterans Benefits Admin</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Connect</h3>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="linkedin"></i></a>
</div>
<p class="text-gray-400 mt-4">info@battlebuddy.org</p>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
<p>© 2023 Battle Buddy Benefits Navigator. All rights reserved.</p>
</div>
</div>
</footer>
</div>
<script>
// Initialize Vanta.js background
VANTA.NET({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3b82f6,
backgroundColor: 0xf8fafc,
points: 10.00,
maxDistance: 20.00,
spacing: 15.00
});
// Show results when calculator button is clicked
document.querySelector('button').addEventListener('click', function() {
document.getElementById('results').classList.remove('hidden');
document.getElementById('results').scrollIntoView({ behavior: 'smooth' });
});
// Initialize feather icons
feather.replace();
// Agent selection functionality
document.querySelectorAll('.agent-btn').forEach(btn => {
btn.addEventListener('click', function() {
const agentType = this.getAttribute('data-agent');
const chatWindow = document.querySelector('.mock-chat div:nth-child(2)');
// Clear previous chat
chatWindow.innerHTML = '';
// Add welcome message based on agent type
let welcomeMessage = '';
let agentName = '';
switch(agentType) {
case 'compensation':
agentName = 'Compensation Agent';
welcomeMessage = 'Hello veteran. I\'m here to help you with your disability compensation questions. How can I assist you today?';
break;
case 'pension':
agentName = 'Pension Agent';
welcomeMessage = 'Welcome. I specialize in VA pension benefits. What questions do you have about your retirement benefits?';
break;
case 'healthcare':
agentName = 'Healthcare Agent';
welcomeMessage = 'Good day. I can help you navigate VA healthcare services. What would you like to know?';
break;
case 'education':
agentName = 'Education Agent';
welcomeMessage = 'Hello! I\'m here to assist with GI Bill and other education benefits. How can I help you?';
break;
}
// Update chat header
document.querySelector('.mock-chat h3').textContent = agentName + ' Chat';
// Add welcome message to chat
const messageDiv = document.createElement('div');
messageDiv.className = 'bg-blue-100 text-blue-800 rounded-lg p-3 mb-3 max-w-xs';
messageDiv.textContent = welcomeMessage;
chatWindow.appendChild(messageDiv);
// Scroll to bottom
chatWindow.scrollTop = chatWindow.scrollHeight;
});
});
</script>
</body>
</html>
|