mirror of
https://github.com/block-core/blockcore-notes.git
synced 2024-09-29 06:20:42 +00:00
Add support for banner on profile edit
This commit is contained in:
parent
454bd1f05e
commit
36ec38d5f9
@ -27,10 +27,17 @@
|
||||
<p>
|
||||
<mat-form-field appearance="outline" class="input-full-width">
|
||||
<mat-icon matPrefix>image</mat-icon>
|
||||
<mat-label>Image</mat-label>
|
||||
<mat-label>Profile Image</mat-label>
|
||||
<input matInput type="text" [(ngModel)]="profile.picture" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field appearance="outline" class="input-full-width">
|
||||
<mat-icon matPrefix>image</mat-icon>
|
||||
<mat-label>Profile Banner</mat-label>
|
||||
<input matInput type="text" [(ngModel)]="profile.banner" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field appearance="outline" class="input-full-width">
|
||||
<mat-icon matPrefix>how_to_reg</mat-icon>
|
||||
|
@ -41,6 +41,7 @@ export class Utilities {
|
||||
lud06: profile.lud06,
|
||||
display_name: profile.display_name,
|
||||
website: profile.website,
|
||||
banner: profile.banner,
|
||||
// TODO: Consider adding support for these in the future depending on how the community of Nostr grows and adopts these fields.
|
||||
} as NostrProfile;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user