Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Step 5.21: Create a template for ProfileComponent
- Loading branch information
1 parent
8841e79
commit db31f99
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<ion-header> | ||
<ion-navbar color="whatsapp"> | ||
<ion-title>Profile</ion-title> | ||
|
||
<ion-buttons end> | ||
<button ion-button class="done-button" (click)="done()">Done</button> | ||
</ion-buttons> | ||
</ion-navbar> | ||
</ion-header> | ||
|
||
<ion-content class="profile-page-content"> | ||
<div class="profile-picture"> | ||
<img [src]="profile.picture"> | ||
<ion-icon name="create"></ion-icon> | ||
</div> | ||
|
||
<ion-item class="profile-name"> | ||
<ion-label stacked>Name</ion-label> | ||
<ion-input [(ngModel)]="profile.name" placeholder="Your name"></ion-input> | ||
</ion-item> | ||
</ion-content> |