﻿@using Anlab.Core.Domain
@using Microsoft.AspNetCore.Http

@inject SignInManager<User> SignInManager
@inject UserManager<User> UserManager


@if (User.Identity.IsAuthenticated)
{
    var user = await UserManager.GetUserAsync(User);
    <form class="flexer" asp-area="" asp-controller="Account" asp-action="Logout" method="post" id="logoutForm">
  <p><a asp-area="" asp-controller="Profile" asp-action="Index" title="Manage">Hello @user.Name!</a></p>


                <button type="submit" class="btn-hollow">Log out</button>

    </form>
}
else
{

        <p><a asp-area="" asp-controller="Account" asp-action="Login">Log in</a></p>

}

@using Anlab.Core.Domain
@using Microsoft.AspNetCore.Http

@inject SignInManager<User> SignInManager
@inject UserManager<User> UserManager


@if (User.Identity.IsAuthenticated)
{
    var user = await UserManager.GetUserAsync(User);
    <form class="flexer" asp-area="" asp-controller="Account" asp-action="Logout" method="post" id="logoutForm">
  <p><a asp-area="" asp-controller="Profile" asp-action="Index" title="Manage">Hello @user.Name!</a></p>


                <button type="submit" class="btn-hollow">Log out</button>

    </form>
}
else
{

        <p><a class="btn btn-primary" asp-area="" asp-controller="Account" asp-action="Login">Log in</a></p>

}

Make the login button more noticeable
Make the login button more noticeable
