New source control repo for Biskilog POS - secure hub to store & manage source code. Streamlines dev process, tracks changes, & improves collaboration. Ensures reliable software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
525 B

<div class="tab">
<button class="@(GetTabClass(0))">Email or User ID</button>
<button class="@(GetTabClass(1))">Phone</button>
</div>
@if (activeTab == 0)
{
<UsernameTab />
}
else if (activeTab == 1)
{
<PhoneAuthTab />
}
@code {
private int activeTab = 0;
private string GetTabClass(int tabId) => tabId == activeTab ? "tablinks active" : "tablinks";
private void SwitchTabs(int tabId)
{
activeTab = tabId;
}
}