add home screen components
This commit is contained in:
parent
947dbfe734
commit
85019b2a54
16
src/app/home/game-bar/game-button/game-button.component.html
Normal file
16
src/app/home/game-bar/game-button/game-button.component.html
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<div class="two-lines-centered">
|
||||||
|
<div class="first-line">
|
||||||
|
<div class="text header">
|
||||||
|
<span>Minecraft</span>
|
||||||
|
</div>
|
||||||
|
<div class="label">
|
||||||
|
Survival
|
||||||
|
</div>
|
||||||
|
<div class="label">
|
||||||
|
1.12.2
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="text light darken">
|
||||||
|
<span>Survival world with mods such as Industrial Craft, RailCraft, etc.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
18
src/app/home/game-bar/user-info/user-info.component.html
Normal file
18
src/app/home/game-bar/user-info/user-info.component.html
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<div class="ProfileBar">
|
||||||
|
<div class="img rounded" id="ProfilePicture">
|
||||||
|
<img src="./assets/avatar.jpeg" height="45px" width="45px">
|
||||||
|
</div>
|
||||||
|
<div class="two-lines-centered">
|
||||||
|
<div class="first-line">
|
||||||
|
<div class="text header big">
|
||||||
|
<span>MrSandyMoon</span>
|
||||||
|
</div>
|
||||||
|
<div class="label">
|
||||||
|
Booster
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="text light darken">
|
||||||
|
<span>Administrator</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
23
src/app/home/game-bar/user-info/user-info.component.spec.ts
Normal file
23
src/app/home/game-bar/user-info/user-info.component.spec.ts
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { UserInfoComponent } from './user-info.component';
|
||||||
|
|
||||||
|
describe('UserInfoComponent', () => {
|
||||||
|
let component: UserInfoComponent;
|
||||||
|
let fixture: ComponentFixture<UserInfoComponent>;
|
||||||
|
|
||||||
|
beforeEach(async () => {
|
||||||
|
await TestBed.configureTestingModule({
|
||||||
|
declarations: [ UserInfoComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
|
||||||
|
fixture = TestBed.createComponent(UserInfoComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
15
src/app/home/game-bar/user-info/user-info.component.ts
Normal file
15
src/app/home/game-bar/user-info/user-info.component.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-user-info',
|
||||||
|
templateUrl: './user-info.component.html',
|
||||||
|
styleUrls: ['./user-info.component.scss']
|
||||||
|
})
|
||||||
|
export class UserInfoComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1,19 +1 @@
|
|||||||
<div id="RightBar">
|
ОГО, ну и хуита эта ваша игра
|
||||||
|
|
||||||
<div class="two-lines-centered">
|
|
||||||
<div class="first-line">
|
|
||||||
<div class="text header">
|
|
||||||
<span>Minecraft</span>
|
|
||||||
</div>
|
|
||||||
<div class="label">
|
|
||||||
Survival
|
|
||||||
</div>
|
|
||||||
<div class="label">
|
|
||||||
1.12.2
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="text light darken">
|
|
||||||
<span>Survival world with mods such as Industrial Craft, RailCraft, etc.</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
Loading…
Reference in New Issue
Block a user