@using AiLogia.Web.Infrastructure
@inject ICurrentUser CurrentUser

@{
  ViewData["Title"] = "Личный кабинет — Обзор";
}
@section Head {
  <link rel="stylesheet" href="~/css/account.css" asp-append-version="true" />
}

<div class="container">
  <div class="grid">
    @await Html.PartialAsync("_AccountSidebar", new AiLogia.Web.Models.AccountNavModel {
    DisplayName = CurrentUser.FullName ?? "User: " + CurrentUser.TelegramId,
        Username = CurrentUser.Username,
        NewCoursesCount = 1
        })
    <section>
      <div class="panel">
        <div class="head"><div class="h1">Обзор</div></div>
        <div class="body">
          <div class="kpi">
            <div class="card"><div class="muted">Прогресс недели</div><div class="v">62%</div></div>
            <div class="card"><div class="muted">Текущий трек</div><div class="v">ИИ-ассистент</div></div>
            <div class="card"><div class="muted">Новые курсы</div><div class="v">3</div></div>
            <div class="card"><div class="muted">Подписка</div><div class="v">Стандарт</div></div>
          </div>
        </div>
      </div>
    </section>
  </div>
</div>
