diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 5761d60..89a29af 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -53,7 +53,7 @@ import { NoteDialog } from './shared/create-note-dialog/create-note-dialog'; import { PickerModule } from '@ctrl/ngx-emoji-mart'; import { CirclesComponent } from './circles/circles.component'; import { PeopleComponent } from './people/people.component'; -import { ProfileHeaderComponent } from './shared/profile-header/profile-header.component'; +import { EventHeaderComponent } from './shared/event-header/event-header.component'; import { ProfileActionsComponent } from './shared/profile-actions/profile-actions.component'; import { CircleDialog } from './shared/create-circle-dialog/create-circle-dialog'; import { FollowDialog } from './shared/create-follow-dialog/create-follow-dialog'; @@ -89,7 +89,7 @@ import { ImportFollowDialog } from './circles/import-follow-dialog/import-follow CircleDialog, CirclesComponent, PeopleComponent, - ProfileHeaderComponent, + EventHeaderComponent, ProfileActionsComponent, FeedPrivateComponent, FeedPublicComponent, diff --git a/src/app/feed-private/feed-private.component.html b/src/app/feed-private/feed-private.component.html index dc2cb64..41884d3 100644 --- a/src/app/feed-private/feed-private.component.html +++ b/src/app/feed-private/feed-private.component.html @@ -58,9 +58,9 @@
- {{ event.created_at | ago }} + >
diff --git a/src/app/feed-public/feed-public.component.html b/src/app/feed-public/feed-public.component.html index 96d8d24..11a9189 100644 --- a/src/app/feed-public/feed-public.component.html +++ b/src/app/feed-public/feed-public.component.html @@ -33,9 +33,9 @@
- {{ event.created_at | ago }} + >
{{ event.content }}... (message was truncated)
diff --git a/src/app/note/note.component.html b/src/app/note/note.component.html index 570f226..75449f8 100644 --- a/src/app/note/note.component.html +++ b/src/app/note/note.component.html @@ -4,9 +4,9 @@
- {{ event.created_at | ago }} + > @@ -17,9 +17,9 @@
- {{ event.created_at | ago }} + > @@ -31,9 +31,9 @@ diff --git a/src/app/notes/notes.component.html b/src/app/notes/notes.component.html index fd19c37..19e6a5b 100644 --- a/src/app/notes/notes.component.html +++ b/src/app/notes/notes.component.html @@ -4,10 +4,10 @@
Notes are all your saved posts. These can be your own, or they can be copies of public posts made by others.
- Posted: {{ note.created_at | ago }}, Saved: {{ note.saved | ago }} - +

{{ profile.about }}

@@ -47,8 +48,8 @@ -->
- - +
@@ -58,34 +59,47 @@

- + alternate_email Name - +

- + help_outline About

- + image Image - + + +

+

+ + how_to_reg + E-mail/Domain Identifier (NIP05) + + +

+

+ + currency_bitcoin + Bitcoin Payment Link (LUD06) +

-
-
+ diff --git a/src/app/profile/profile.component.ts b/src/app/profile/profile.component.ts index 16a025f..f42674a 100644 --- a/src/app/profile/profile.component.ts +++ b/src/app/profile/profile.component.ts @@ -21,7 +21,7 @@ export class ProfileComponent { npub!: string; profile?: NostrProfileDocument; about?: string; - imagePath = 'https://notes.blockcore.net/assets/profile.png'; + imagePath = ''; profileName = ''; loading!: boolean; diff --git a/src/app/shared/profile-header/profile-header.component.css b/src/app/shared/event-header/event-header.component.css similarity index 100% rename from src/app/shared/profile-header/profile-header.component.css rename to src/app/shared/event-header/event-header.component.css diff --git a/src/app/shared/profile-header/profile-header.component.html b/src/app/shared/event-header/event-header.component.html similarity index 100% rename from src/app/shared/profile-header/profile-header.component.html rename to src/app/shared/event-header/event-header.component.html diff --git a/src/app/shared/profile-header/profile-header.component.ts b/src/app/shared/event-header/event-header.component.ts similarity index 89% rename from src/app/shared/profile-header/profile-header.component.ts rename to src/app/shared/event-header/event-header.component.ts index c07d3e9..e110ac2 100644 --- a/src/app/shared/profile-header/profile-header.component.ts +++ b/src/app/shared/event-header/event-header.component.ts @@ -5,11 +5,11 @@ import { Utilities } from 'src/app/services/utilities.service'; import { Circle, NostrProfile, NostrProfileDocument } from '../../services/interfaces'; @Component({ - selector: 'app-profile-header', - templateUrl: './profile-header.component.html', - styleUrls: ['./profile-header.component.css'], + selector: 'app-event-header', + templateUrl: './event-header.component.html', + styleUrls: ['./event-header.component.css'], }) -export class ProfileHeaderComponent { +export class EventHeaderComponent { @Input() pubkey: string = ''; @Input() profile?: NostrProfileDocument; diff --git a/src/app/user/user.component.html b/src/app/user/user.component.html index 25e0bb9..0bd4fb6 100644 --- a/src/app/user/user.component.html +++ b/src/app/user/user.component.html @@ -9,12 +9,10 @@

{{ profile.display_name }}


- {{ profileName }} / {{ profile.nip05 }}{{ profileName }} / {{ profile.nip05 }}
-

{{ profile.about }}

- -

{{ profile.website }}

@@ -23,28 +21,11 @@ -
- -
@@ -83,9 +64,9 @@
- {{ event.created_at | ago }} + >
@@ -134,9 +115,9 @@
- {{ event.created_at | ago }} + >