delete obsolete components
This commit is contained in:
parent
ea6aa09e1c
commit
947dbfe734
@ -15,13 +15,12 @@ import { HomeModule } from './home/home.module';
|
||||
import { DetailModule } from './detail/detail.module';
|
||||
|
||||
import { AppComponent } from './app.component';
|
||||
import { GameSideButtonComponent } from './game-side-button/game-side-button.component';
|
||||
|
||||
// AoT requires an exported function for factories
|
||||
const httpLoaderFactory = (http: HttpClient): TranslateHttpLoader => new TranslateHttpLoader(http, './assets/i18n/', '.json');
|
||||
|
||||
@NgModule({
|
||||
declarations: [AppComponent, GameSideButtonComponent],
|
||||
declarations: [AppComponent],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
FormsModule,
|
||||
|
@ -1,10 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
|
||||
const routes: Routes = [];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class GameBarRoutingModule { }
|
@ -1,17 +0,0 @@
|
||||
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 { }
|
@ -1 +0,0 @@
|
||||
<p>game-button works!</p>
|
@ -1,18 +0,0 @@
|
||||
<div class="GameBar">
|
||||
<div class="img cornering">
|
||||
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTENKPSC6g94JwGU4-HeYtwTDS6MW2_RO6TL51IDw9H2Gy9HfOkt8xx3VYAqSqW944M03E&usqp=CAU" height="60px" width="60px">
|
||||
</div>
|
||||
<div class="two-lines-centered">
|
||||
<div class="first-line">
|
||||
<div class="text header">
|
||||
<span>Warface</span>
|
||||
</div>
|
||||
<div class="label">
|
||||
Pirate
|
||||
</div>
|
||||
</div>
|
||||
<div class="text light darken">
|
||||
<span>2 people voted. Need 4 more to play.</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,27 +0,0 @@
|
||||
/*********************************************/
|
||||
/************** Games Bar *******************/
|
||||
/*********************************************/
|
||||
|
||||
#GamesBar {
|
||||
margin-left: 15px;
|
||||
}
|
||||
.GameBar {
|
||||
display: flex;
|
||||
margin-top: 13px;
|
||||
padding: 10px 0 2px 10px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
.GameBar:hover {
|
||||
background-color: rgba(255, 255, 255, 0.2);
|
||||
border-radius: 10px;
|
||||
-webkit-backdrop-filter: drop-shadow(5px 5px 0px #ffffff);
|
||||
backdrop-filter: drop-shadow(5px 5px 4px #ffffff);
|
||||
}
|
||||
.GameBar > .two-lines-centered {
|
||||
margin-top: 5px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
.SessionCount {
|
||||
font-size: 13px;
|
||||
margin: 20px 0 20px 10px;
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { GameSideButtonComponent } from './game-side-button.component';
|
||||
|
||||
describe('GameSideButtonComponent', () => {
|
||||
let component: GameSideButtonComponent;
|
||||
let fixture: ComponentFixture<GameSideButtonComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ GameSideButtonComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(GameSideButtonComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
@ -1,15 +0,0 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-game-side-button',
|
||||
templateUrl: './game-side-button.component.html',
|
||||
styleUrls: ['./game-side-button.component.scss']
|
||||
})
|
||||
export class GameSideButtonComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user