Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
eTallang committed Jun 13, 2024
1 parent bb0511d commit f34354f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
3 changes: 2 additions & 1 deletion src/app/game/game-multiplayer/services/pairing.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export class PairingService {

constructor() {
const id = localStorage.getItem('pairID');
id ? this.setPairID(id) : this.setPairID(environment.PAIR_ID ?? '');

this.setPairID(id ?? environment.PAIR_ID ?? '');
}

getPairID() {
Expand Down
12 changes: 3 additions & 9 deletions src/app/welcome/welcome.component.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
<div class="container-background">
<div class="container">
<div>
<img
class="logo"
src="assets/logo/IO-logo-inverted_transparent-bg.png"
alt="logo"
(click)="goToAdmin()"
aria-label="Gå til admin side"
/>
</div>
<button class="logo" (click)="goToAdmin()">
<img src="assets/logo/IO-logo-inverted_transparent-bg.png" alt="logo" aria-label="Gå til admin side" />
</button>
<div class="play-container">
<div class="text-container">
<div class="avatar"><img class="avatar-image" src="assets/logo/io_logoanimasjon.gif" alt="avatar" /></div>
Expand Down
13 changes: 8 additions & 5 deletions src/app/welcome/welcome.component.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
@import '../../variables.scss';

// .ng-star-inserted {
// height: 100px !important;
// }
.container-background {
position: relative;
}
.container-background:before {
content: "";
content: '';
top: 0;
left: 0;
width: 100%;
height: 100%;
position: absolute;
background-image: url("../../assets/background/io_rutemoenster-inverted.png");
background-image: url('../../assets/background/io_rutemoenster-inverted.png');
background-size: cover;
background-color: black;
}
Expand Down Expand Up @@ -117,7 +114,13 @@ a {
margin: 35px;
height: 44px;
width: 70px;
cursor: default;

img {
width: 100%;
}
}

.play-game-button {
background: $button_background_color;
color: $button_content_color;
Expand Down

0 comments on commit f34354f

Please sign in to comment.