diff --git a/src/app/game-bar/game-bar-routing.module.ts b/src/app/game-bar/game-bar-routing.module.ts new file mode 100644 index 0000000..431c0dd --- /dev/null +++ b/src/app/game-bar/game-bar-routing.module.ts @@ -0,0 +1,10 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; + +const routes: Routes = []; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class GameBarRoutingModule { } diff --git a/src/app/game-bar/game-bar.module.ts b/src/app/game-bar/game-bar.module.ts new file mode 100644 index 0000000..c3eed74 --- /dev/null +++ b/src/app/game-bar/game-bar.module.ts @@ -0,0 +1,17 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + +import { GameBarRoutingModule } from './game-bar-routing.module'; +import { GameButtonComponent } from './game-button/game-button.component'; + + +@NgModule({ + declarations: [ + GameButtonComponent + ], + imports: [ + CommonModule, + GameBarRoutingModule + ] +}) +export class GameBarModule { } diff --git a/src/app/game-bar/game-button/game-button.component.html b/src/app/game-bar/game-button/game-button.component.html new file mode 100644 index 0000000..4ad8a77 --- /dev/null +++ b/src/app/game-bar/game-button/game-button.component.html @@ -0,0 +1 @@ +

game-button works!

diff --git a/src/app/game-bar/game-button/game-button.component.scss b/src/app/game-bar/game-button/game-button.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/game-bar/game-button/game-button.component.spec.ts b/src/app/game-bar/game-button/game-button.component.spec.ts new file mode 100644 index 0000000..85bf386 --- /dev/null +++ b/src/app/game-bar/game-button/game-button.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { GameButtonComponent } from './game-button.component'; + +describe('GameButtonComponent', () => { + let component: GameButtonComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ GameButtonComponent ] + }) + .compileComponents(); + + fixture = TestBed.createComponent(GameButtonComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/game-bar/game-button/game-button.component.ts b/src/app/game-bar/game-button/game-button.component.ts new file mode 100644 index 0000000..2abb4e7 --- /dev/null +++ b/src/app/game-bar/game-button/game-button.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-game-button', + templateUrl: './game-button.component.html', + styleUrls: ['./game-button.component.scss'] +}) +export class GameButtonComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/src/app/home/home.component.html b/src/app/home/home.component.html index d45a9be..db3ba0a 100644 --- a/src/app/home/home.component.html +++ b/src/app/home/home.component.html @@ -21,8 +21,8 @@
-
- +
+
2 sessions active