@page "/dashboard" @using DiunaBI.UI.Shared.Services @using MudBlazor @inject AuthService AuthService @inject NavigationManager NavigationManager @if (AuthService.IsAuthenticated && AuthService.CurrentUser != null) { @if (!string.IsNullOrEmpty(AuthService.CurrentUser.AvatarUrl)) { Avatar } else { @(AuthService.CurrentUser.FullName.Length > 0 ? AuthService.CurrentUser.FullName.Substring(0, 1) : "?") } @AuthService.CurrentUser.FullName @AuthService.CurrentUser.Email ✅ Zalogowano przez Google } else { Nie jesteś zalogowany }