| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- @using LotteryWebApp.Languages
- @{
- var activePage = ViewData["ActiveTab"] as string ?? "Home";
- }
- <!-- Bottom navigation (fixed at bottom) -->
- <nav class="navigation absolute inset-x-3 bottom-3 z-20 px-3 py-2 rounded-2xl">
- <div class="flex items-center justify-between">
- <a href="/Millions/Home/GameHome" class="nav-item @(activePage == "Home" ? "active" : "") flex flex-col items-center flex-1 no-underline">
- <img src="/Millions/assets/icons/nav-home.png" alt="" class="w-7 h-7"/>
- <span class="text-xs mt-1 @(activePage == "Home" ? "text-[#0062ff] font-semibold" : "text-gray-700")">Home</span>
- @if(activePage == "Home") {
- <span class="w-5 h-1 bg-[#0062ff] rounded-full mt-1"></span>
- }
- </a>
- <a href="/Millions/Home/Rule" class="nav-item @(activePage == "Rule" ? "active" : "") flex flex-col items-center flex-1 no-underline">
- <img src="/Millions/assets/icons/nav-rule.png" alt="" class="w-7 h-7"/>
- <span class="text-xs mt-1 @(activePage == "Rule" ? "text-[#0062ff] font-semibold" : "text-gray-700")">Rule</span>
- @if(activePage == "Rule") {
- <span class="w-5 h-1 bg-[#0062ff] rounded-full mt-1"></span>
- }
- </a>
- <a href="/Millions/Home/History" class="nav-item @(activePage == "History" ? "active" : "") flex flex-col items-center flex-1 no-underline">
- <img src="/Millions/assets/icons/nav-history.png" alt="" class="w-7 h-7"/>
- <span class="text-xs mt-1 @(activePage == "History" ? "text-[#0062ff] font-semibold" : "text-gray-700")">History</span>
- @if(activePage == "History") {
- <span class="w-5 h-1 bg-[#0062ff] rounded-full mt-1"></span>
- }
- </a>
- <a href="/Millions/Home/FAQ" class="nav-item @(activePage == "FAQ" ? "active" : "") flex flex-col items-center flex-1 no-underline">
- <img src="/Millions/assets/icons/nav-faq.png" alt="" class="w-7 h-7"/>
- <span class="text-xs mt-1 @(activePage == "FAQ" ? "text-[#0062ff] font-semibold" : "text-gray-700")">FAQ</span>
- @if(activePage == "FAQ") {
- <span class="w-5 h-1 bg-[#0062ff] rounded-full mt-1"></span>
- }
- </a>
- <a href="/Millions/Home/More" class="nav-item @(activePage == "More" ? "active" : "") flex flex-col items-center flex-1 no-underline">
- <img src="/Millions/assets/icons/nav-more.png" alt="" class="w-7 h-7"/>
- <span class="text-xs mt-1 @(activePage == "More" ? "text-[#0062ff] font-semibold" : "text-gray-700")">More</span>
- @if(activePage == "More") {
- <span class="w-5 h-1 bg-[#0062ff] rounded-full mt-1"></span>
- }
- </a>
- </div>
- </nav>
|