@page "/registerOld"
@inject NavigationManager navManager
<PageTitle>Register</PageTitle>

<div class="wrapper">
        <div class="my-logo">
            <img src="_content/TIAMSharedUI/images/png-logo-0.png" alt="">
        </div>
        <div class="text-center mt-4 name">
            Let's create your account!
        </div>
        <form class="p-3 mt-3">
        <!--DxMaskedInput @bind-Value="@Telephone"
                       CssClass="cw-320"
                       Mask="+00 (999) 000-0000">
            <DxTextMaskProperties Placeholder="Placeholder" SaveLiteral="SaveLiterals" />
        </DxMaskedInput-->

            <div class="form-field d-flex align-items-center">
                <span class="far fa-user"></span>
                <input type="tel" name="phoneNumber" id="phoneNumber" placeholder="Phone number">
            </div>
      
        <a class="btn btn-primary mt-3" @onclick="next">Next</a>
        </form>



        <div class="text-center fs-6">
            Already have an account? <a href="login">Sign in here!</a>
        </div>
    </div>

@code {

    /*IEnumerable<char> PredefinedPlaceholders = new List<char>() { '_', '#' };
    string Telephone { get; set; } = "5625595830";
    char Placeholder { get; set; } = '_';
    bool SaveLiterals { get; set; } = true;*/

    private void next()
    {
        navManager.NavigateTo("register2");
    }
    
}


