FAQ.cshtml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. @{
  2. ViewData["Title"] = "LotteryV2 - FAQs";
  3. ViewData["ActiveTab"] = "FAQ";
  4. Layout = "~/Areas/LotteryV2/Views/Shared/_Layout.cshtml";
  5. }
  6. @using LotteryWebApp.Languages;
  7. <script src="https://cdn.tailwindcss.com"></script>
  8. <link rel="stylesheet" href="/LotteryV2/css/faq.css">
  9. <div class="main-container animate__animated animate__fadeIn bg-[#F5F5F5] min-h-screen relative flex flex-col pb-24 shadow-xl overflow-x-hidden">
  10. <!-- Header Block (Red) - Fixed -->
  11. <div class="fixed top-0 left-1/2 -translate-x-1/2 w-full max-w-[414px] bg-[#EE0033] h-[52px] flex items-center justify-between px-4 z-[100] shadow-sm">
  12. <!-- Back Button -->
  13. <button onclick="window.history.back()" class="w-10 h-10 flex items-center justify-center -ml-2 rounded-full active:bg-white/20 transition-colors z-10 text-white cursor-pointer">
  14. <i class="fa-solid fa-arrow-left text-[20px]"></i>
  15. </button>
  16. <!-- Title -->
  17. <div class="absolute inset-0 flex items-center justify-center pointer-events-none">
  18. <span class="text-white text-[24px] font-bold tracking-wide drop-shadow-sm">@Lang.faq</span>
  19. </div>
  20. </div>
  21. <!-- Header Spacer (~52px) -->
  22. <div class="h-[52px]"></div>
  23. <!-- Banner Graphic directly integrated with Grey background -->
  24. <div class="w-full relative flex justify-center mt-3 mb-1">
  25. <img src="/LotteryV2/img/faq_banner_full.png" alt="FAQ Graphic" class="w-full max-h-48 object-contain z-10 px-4 pointer-events-none">
  26. </div>
  27. <!-- Messages / FAQ Chat Style List -->
  28. <div class="flex-1 w-full px-5 pt-8 pb-20 space-y-5" id="faq-list">
  29. <!-- Standard Row Bot Bubble (Question) -->
  30. <div class="flex justify-start">
  31. <div class="rounded-xl rounded-tl-sm px-5 py-3 shadow-sm w-[90%] bg-[#EE0033] text-white">
  32. <span class="text-sm font-bold leading-snug block">@Lang.faq_q1</span>
  33. </div>
  34. </div>
  35. <!-- Standard Row User Bubble (Answer) -->
  36. <div class="flex justify-end mt-2">
  37. <div class="rounded-xl rounded-tr-sm px-5 py-4 shadow-md w-[90%] bg-white text-[#212121] border border-gray-100">
  38. <span class="text-[13px] font-medium leading-relaxed block">@Lang.faq_a1</span>
  39. </div>
  40. </div>
  41. <!-- Standard Row Bot Bubble (Question) -->
  42. <div class="flex justify-start mt-8">
  43. <div class="rounded-xl rounded-tl-sm px-5 py-3 shadow-sm w-[90%] bg-[#EE0033] text-white">
  44. <span class="text-sm font-bold leading-snug block">@Lang.faq_q2</span>
  45. </div>
  46. </div>
  47. <!-- Standard Row User Bubble (Answer Long Text) -->
  48. <div class="flex justify-end mt-2">
  49. <div class="rounded-xl rounded-tr-sm px-5 py-4 shadow-md w-[90%] bg-white text-[#212121] border border-gray-100">
  50. <span class="text-[13px] font-medium leading-relaxed block mb-3">@Lang.faq_a2</span>
  51. <span class="text-sm font-bold text-[#EE0033] block mb-1">@Lang.faq_q3</span>
  52. <span class="text-[13px] font-medium leading-relaxed block">@Lang.faq_a3</span>
  53. </div>
  54. </div>
  55. </div>
  56. <!-- Bottom Navbar shared component -->
  57. <partial name="_BottomNavbar" />
  58. </div>