Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Step 5.20: Create a template for ProfileComponent
- Loading branch information
1 parent
a7fbd8d
commit c641deb
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 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> |