-
-
-
-
-
-
+
+
-
+
-
-
-
- 2
- sessions active
-
+
+
+
+
+
+
+
+
-
- 1
- session announced
-
-
-
-
- 2
- sessions to be voted
-
-
+
+
+
+
-
-
-
-
- Survival
-
-
- 1.12.2
-
-
-
- Survival world with mods such as Industrial Craft, RailCraft, etc.
-
-
+
+
diff --git a/src/app/home/home.component.scss b/src/app/home/home.component.scss
index a630e88..2754361 100644
--- a/src/app/home/home.component.scss
+++ b/src/app/home/home.component.scss
@@ -2,10 +2,43 @@
}
+/*********************************************/
+/************** Main Frame *******************/
+/*********************************************/
+
+.container {
+ display: flex;
+ height: 100%;
+}
+#LeftBar {
+ width: 30%;
+ display: inline-block;
+ -webkit-backdrop-filter: blur(8px);
+ backdrop-filter: blur(8px);
+ min-width: 350px;
+}
+#RightBar {
+ width: 70%;
+ display: inline-block;
+ -webkit-backdrop-filter: blur(2px);
+ backdrop-filter: blur(2px);
+ padding-left: 60px;
+}
+
.games-icons-panel{
position: fixed;
background-color: #454545;
height: 100%;
margin-left: auto;
float: left
+}
+
+#GamesBar {
+ margin-left: 15px;
+}
+
+.ButtonsBar {
+ margin-left: auto;
+ margin-right: 70px;
+ display: flex;
}
\ No newline at end of file
diff --git a/src/app/home/home.module.ts b/src/app/home/home.module.ts
index 3bd43bc..d68963d 100644
--- a/src/app/home/home.module.ts
+++ b/src/app/home/home.module.ts
@@ -5,9 +5,20 @@ import { HomeRoutingModule } from './home-routing.module';
import { HomeComponent } from './home.component';
import { SharedModule } from '../shared/shared.module';
+import { GameBarComponent } from './game-bar/game-bar.component';
+import { SessionCountComponent } from './session-count/session-count.component';
+import { ProfileBarComponent } from './profile-bar/profile-bar.component';
+import { LabelComponent } from './label/label.component';
+import { GenericGameComponent } from './generic-game/generic-game.component';
+import { GameHeaderComponent } from './game-header/game-header.component';
+import { GameBodyComponent } from './game-body/game-body.component';
+import { GameFooterComponent } from './game-footer/game-footer.component';
+import { ButtonComponent } from './button/button.component';
+import { ButtonSvgComponent } from './button-svg/button-svg.component';
+import { PlayersBarComponent } from './players-bar/players-bar.component';
@NgModule({
- declarations: [HomeComponent],
+ declarations: [HomeComponent, GameBarComponent, SessionCountComponent, ProfileBarComponent, LabelComponent, GenericGameComponent, GameHeaderComponent, GameBodyComponent, GameFooterComponent, ButtonComponent, ButtonSvgComponent, PlayersBarComponent],
imports: [CommonModule, SharedModule, HomeRoutingModule]
})
export class HomeModule {}
diff --git a/src/app/home/label/label.component.html b/src/app/home/label/label.component.html
new file mode 100644
index 0000000..b186278
--- /dev/null
+++ b/src/app/home/label/label.component.html
@@ -0,0 +1,3 @@
+
+ Booster
+
\ No newline at end of file
diff --git a/src/app/home/label/label.component.scss b/src/app/home/label/label.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/src/app/home/label/label.component.spec.ts b/src/app/home/label/label.component.spec.ts
new file mode 100644
index 0000000..332a6e4
--- /dev/null
+++ b/src/app/home/label/label.component.spec.ts
@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { LabelComponent } from './label.component';
+
+describe('LabelComponent', () => {
+ let component: LabelComponent;
+ let fixture: ComponentFixture
;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ LabelComponent ]
+ })
+ .compileComponents();
+
+ fixture = TestBed.createComponent(LabelComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/home/label/label.component.ts b/src/app/home/label/label.component.ts
new file mode 100644
index 0000000..05280da
--- /dev/null
+++ b/src/app/home/label/label.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-label',
+ templateUrl: './label.component.html',
+ styleUrls: ['./label.component.scss']
+})
+export class LabelComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit(): void {
+ }
+
+}
diff --git a/src/app/home/players-bar/players-bar.component.html b/src/app/home/players-bar/players-bar.component.html
new file mode 100644
index 0000000..9b36fd6
--- /dev/null
+++ b/src/app/home/players-bar/players-bar.component.html
@@ -0,0 +1,17 @@
+
+
+ Players online:
+ 3
+
+
+
\ No newline at end of file
diff --git a/src/app/home/players-bar/players-bar.component.scss b/src/app/home/players-bar/players-bar.component.scss
new file mode 100644
index 0000000..f694942
--- /dev/null
+++ b/src/app/home/players-bar/players-bar.component.scss
@@ -0,0 +1,13 @@
+.PlayersBar {
+ display: flex;
+ margin-top: 12px;
+}
+.PlayersIcons {
+ display: flex;
+ margin-left: 20px;
+ backdrop-filter: drop-shadow(1px 0px 4px #000000);
+ -webkit-backdrop-filter: drop-shadow(1px 0px 4px #000000);
+}
+.PlayersIcons > .rounded {
+ margin-left: -15px;
+}
\ No newline at end of file
diff --git a/src/app/home/players-bar/players-bar.component.spec.ts b/src/app/home/players-bar/players-bar.component.spec.ts
new file mode 100644
index 0000000..91d69dc
--- /dev/null
+++ b/src/app/home/players-bar/players-bar.component.spec.ts
@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { PlayersBarComponent } from './players-bar.component';
+
+describe('PlayersBarComponent', () => {
+ let component: PlayersBarComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ PlayersBarComponent ]
+ })
+ .compileComponents();
+
+ fixture = TestBed.createComponent(PlayersBarComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/home/players-bar/players-bar.component.ts b/src/app/home/players-bar/players-bar.component.ts
new file mode 100644
index 0000000..6ed14b9
--- /dev/null
+++ b/src/app/home/players-bar/players-bar.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-players-bar',
+ templateUrl: './players-bar.component.html',
+ styleUrls: ['./players-bar.component.scss']
+})
+export class PlayersBarComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit(): void {
+ }
+
+}
diff --git a/src/app/home/profile-bar/profile-bar.component.html b/src/app/home/profile-bar/profile-bar.component.html
new file mode 100644
index 0000000..7544521
--- /dev/null
+++ b/src/app/home/profile-bar/profile-bar.component.html
@@ -0,0 +1,16 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/home/profile-bar/profile-bar.component.scss b/src/app/home/profile-bar/profile-bar.component.scss
new file mode 100644
index 0000000..b872868
--- /dev/null
+++ b/src/app/home/profile-bar/profile-bar.component.scss
@@ -0,0 +1,22 @@
+/*********************************************/
+/************** Profile Bar ******************/
+/*********************************************/
+
+.ProfileBar {
+ display: flex;
+ padding: 5px 0 0 10px;
+ margin-bottom: -10px;
+ height: 60px;
+}
+.ProfileBar > .two-lines-centered {
+ margin-top: 4px;
+ margin-left: 15px;
+}
+#ProfilePicture {
+ padding-top: 3px;
+}
+
+.first-line > .header {
+ font-size: 19px;
+ margin-bottom: -5px;
+}
\ No newline at end of file
diff --git a/src/app/home/profile-bar/profile-bar.component.spec.ts b/src/app/home/profile-bar/profile-bar.component.spec.ts
new file mode 100644
index 0000000..b806d2c
--- /dev/null
+++ b/src/app/home/profile-bar/profile-bar.component.spec.ts
@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { ProfileBarComponent } from './profile-bar.component';
+
+describe('ProfileBarComponent', () => {
+ let component: ProfileBarComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ ProfileBarComponent ]
+ })
+ .compileComponents();
+
+ fixture = TestBed.createComponent(ProfileBarComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/home/profile-bar/profile-bar.component.ts b/src/app/home/profile-bar/profile-bar.component.ts
new file mode 100644
index 0000000..186e095
--- /dev/null
+++ b/src/app/home/profile-bar/profile-bar.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-profile-bar',
+ templateUrl: './profile-bar.component.html',
+ styleUrls: ['./profile-bar.component.scss']
+})
+export class ProfileBarComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit(): void {
+ }
+
+}
diff --git a/src/app/home/session-count/session-count.component.html b/src/app/home/session-count/session-count.component.html
new file mode 100644
index 0000000..755e464
--- /dev/null
+++ b/src/app/home/session-count/session-count.component.html
@@ -0,0 +1,4 @@
+
+ 2
+ sessions active
+
\ No newline at end of file
diff --git a/src/app/home/session-count/session-count.component.scss b/src/app/home/session-count/session-count.component.scss
new file mode 100644
index 0000000..590c996
--- /dev/null
+++ b/src/app/home/session-count/session-count.component.scss
@@ -0,0 +1,4 @@
+.SessionCount {
+ font-size: 13px;
+ margin: 20px 0 20px 10px;
+}
\ No newline at end of file
diff --git a/src/app/home/session-count/session-count.component.spec.ts b/src/app/home/session-count/session-count.component.spec.ts
new file mode 100644
index 0000000..b47f9b9
--- /dev/null
+++ b/src/app/home/session-count/session-count.component.spec.ts
@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { SessionCountComponent } from './session-count.component';
+
+describe('SessionCountComponent', () => {
+ let component: SessionCountComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ declarations: [ SessionCountComponent ]
+ })
+ .compileComponents();
+
+ fixture = TestBed.createComponent(SessionCountComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/home/session-count/session-count.component.ts b/src/app/home/session-count/session-count.component.ts
new file mode 100644
index 0000000..2fcaa91
--- /dev/null
+++ b/src/app/home/session-count/session-count.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-session-count',
+ templateUrl: './session-count.component.html',
+ styleUrls: ['./session-count.component.scss']
+})
+export class SessionCountComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit(): void {
+ }
+
+}
diff --git a/src/styles.scss b/src/styles.scss
index bc162b5..7c92d30 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -8,6 +8,7 @@ html, body {
background-size: cover;
font-family: "Poppins-Regular";
color: white;
+ backdrop-filter: brightness(0.7);
height: 100%;
}
@@ -27,6 +28,14 @@ html, body {
font-family: "Poppins-SemiBold";
src: url("./assets/Poppins/Poppins-SemiBold.ttf");
}
+@font-face {
+ font-family: "Poppins-Bold";
+ src: url("./assets/Poppins/Poppins-Bold.ttf");
+}
+@font-face {
+ font-family: "Poppins-ExtraBold";
+ src: url("./assets/Poppins/Poppins-ExtraBold.ttf");
+}
.SemiBold {
font-family: "Poppins-SemiBold"
@@ -35,28 +44,6 @@ html, body {
font-family: "Poppins-Light"
}
-/*********************************************/
-/************** Main Frame *******************/
-/*********************************************/
-
-.container {
- display: flex;
- height: 100%;
-}
-#LeftBar {
- width: 30%;
- display: inline-block;
- -webkit-backdrop-filter: blur(8px);
- backdrop-filter: blur(8px);
- min-width: 350px;
-}
-#RightBar {
- width: 70%;
- display: inline-block;
- -webkit-backdrop-filter: blur(2px);
- backdrop-filter: blur(2px);
- padding-left: 20px;
-}
/*********************************************/
/************** Default Set ******************/
@@ -95,57 +82,27 @@ hr {
border: 1px solid rgba(0, 0, 0, 0.1);
}
-/*********************************************/
-/************** Profile Bar ******************/
-/*********************************************/
-
-.ProfileBar {
- display: flex;
- padding: 5px 0 0 10px;
- margin-bottom: -10px;
- height: 60px;
-}
-.ProfileBar > .two-lines-centered {
- margin-top: 4px;
- margin-left: 15px;
-}
-#ProfilePicture {
- padding-top: 3px;
-}
-
-.first-line > .header {
- font-size: 19px;
- margin-bottom: -5px;
-}
/*********************************************/
/************** Games Bar *******************/
/*********************************************/
-#GamesBar {
- margin-left: 15px;
-}
-.GameBar {
+
+
+/*********************************************/
+/************** Generic Game *****************/
+/*********************************************/
+
+
+
+
+
+
+.ButtonsBar {
+ margin-left: auto;
+ margin-right: 70px;
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;
}
-.big {
- font-size: calc(+20%);
-}
+
+