@if (app.initialized()) { Nostria icon {{title}} @if (layout.search()) { } @if (layout.search()) { } @if (pwaUpdateService.updateAvailable()) { } @if (notificationService.notifications().length > 0) { @for (notification of notificationService.notifications().slice(0, 5); track notification.id) { } } @else { } } @if (appState.showOfflineWarning()) {
wifi_off You are currently offline
} @if (app.initialized()) { @for (item of navItems; track $index) { {{item.icon}} @if(displayLabels()) { {{item.label}} } } @if (displayLabels()) { chevron_left } @else { chevron_right } Profile
@if (accountMetadata(); as metadata) { @if (metadata?.content?.picture) {
Profile picture
} @else {
account_circle
} @if(metadata.content.name) {

{{ metadata.content.name }}

} @else {

{{ metadata.pubkey | npub }}

} @if (metadata.content.nip05) { {{ metadata.content.nip05.startsWith('_@') ? metadata.content.nip05.substring(1) : metadata.content.nip05 }} } @if (metadata.content.about) {

{{ metadata.content.about }}

} } @else {
account_circle

{{ nostrService.account()?.name || (nostrService.account()?.pubkey | npub) }}

}
person My Profile key Credentials logout Logout @if (nostrService.hasAccounts()) { @for (account of nostrService.accounts(); track account.pubkey) { @if (account.pubkey !== nostrService.account()?.pubkey) { @if(nostrService.getMetadataForAccount(account.pubkey); as metadata) { } @else { } } } }
} @if (layout.isHandset()) {
@for (item of navItems; track $index) { @if (item.showInMobile) { {{item.icon}}
{{item.label}}
} }
} @if (appState.isLoading()) { } @if (appState.showSuccess()) {
}