Compare commits

..

No commits in common. "f3ab70f389c87dacefb495ff1005a8d3ed3a21da" and "88f024dfbce799254b3a40a696addcc8506a6af1" have entirely different histories.

5 changed files with 10 additions and 23 deletions

1
.gitattributes vendored
View File

@ -1,2 +1 @@
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text

View File

@ -1,13 +1,20 @@
<h1>{{game.title}}</h1>
<p>{{game.description}}</p>
<ng-template #icon>
<tui-avatar
size="xs"
[rounded]="true"
[avatarUrl]="'http://jpg.jpg'"
></tui-avatar>
</ng-template>
<button
tuiButton
type="button"
appearance="primary"
[icon]="icon"
class="tui-space_right-3 tui-space_bottom-3"
(click)= "runGame()"
>
Launch
<ng-content></ng-content>
</button>

View File

@ -1,22 +1,3 @@
<!-- <div class="game" [ngClass]="{'active': active}">
<div class="game" [ngClass]="{'active': active}">
<div class="game-title">{{game.title}}</div>
</div> -->
<ng-template #icon>
<tui-avatar
size="xs"
[rounded]="true"
[avatarUrl]="'./assets/games-icons/' + game.image"
></tui-avatar>
</ng-template>
<button
tuiButton
type="button"
appearance="primary"
[icon]="icon"
class="tui-space_right-3 tui-space_bottom-3"
class="game"
[ngClass]="{'active': active}"
>
{{game.title}}
<ng-content></ng-content>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB