-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
95 additions
and
2 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
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
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,5 @@ | ||
.avatar { | ||
width: 150px; | ||
height: 150px; | ||
border-radius: 50%; | ||
} |
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,45 @@ | ||
<div class="container"> | ||
<div class="row mt-2"> | ||
<div class="col d-flex justify-content-end"> | ||
<a class="fs-3 text-success cursor-pointer" routerLink="settings"><fa-icon [icon]="faCog"></fa-icon></a> | ||
</div> | ||
</div> | ||
<div class="row justify-content-center mt-3 g-0"> | ||
<img src="assets/profile_picture.JPEG" alt="" class="avatar"> | ||
</div> | ||
<div class="row text-center my-3"> | ||
<h4>Lewis Blundell</h4> | ||
</div> | ||
<div class="row row-cols-2"> | ||
<div class="col mb-2"> | ||
<div class="card"> | ||
<div class="card-body text-center"> | ||
Fish Caught | ||
<p class="h3 text-center m-0">6</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col mb-2"> | ||
<div class="card"> | ||
<div class="card-body text-center"> | ||
Personal Best | ||
<p class="h3 text-center m-0">16lb 7oz</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col mb-2"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
This is some text within a card body. | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col mb-2"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
This is some text within a card body. | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { ProfileComponent } from './profile.component'; | ||
|
||
describe('ProfileComponent', () => { | ||
let component: ProfileComponent; | ||
let fixture: ComponentFixture<ProfileComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [ ProfileComponent ] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(ProfileComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
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,12 @@ | ||
import { Component } from '@angular/core'; | ||
import { faCog } from '@fortawesome/free-solid-svg-icons'; | ||
|
||
@Component({ | ||
selector: 'app-profile', | ||
templateUrl: './profile.component.html', | ||
styleUrls: ['./profile.component.css'] | ||
}) | ||
export class ProfileComponent { | ||
faCog = faCog; | ||
|
||
} |
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
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