Add Match History component and update header menu.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<app-header></app-header>
|
||||
<div id="match-history">
|
||||
<p>match-history works!</p>
|
||||
</div>
|
||||
@@ -0,0 +1,5 @@
|
||||
@import '../../../styles';
|
||||
|
||||
#match-history {
|
||||
padding-top: $header_height;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { MatchHistoryComponent } from './match-history.component';
|
||||
|
||||
describe('MatchHistoryComponent', () => {
|
||||
let component: MatchHistoryComponent;
|
||||
let fixture: ComponentFixture<MatchHistoryComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ MatchHistoryComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(MatchHistoryComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-match-history',
|
||||
templateUrl: './match-history.component.html',
|
||||
styleUrls: ['./match-history.component.scss']
|
||||
})
|
||||
export class MatchHistoryComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user