-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from encounter/ss
Add Skyward Sword & rework external games
- Loading branch information
Showing
15 changed files
with
72 additions
and
207 deletions.
There are no files selected for viewing
26 changes: 0 additions & 26 deletions
26
src/app/games/game-summaries/external-game-summary/external-game-summary.component.html
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
src/app/games/game-summaries/external-game-summary/external-game-summary.component.scss
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
src/app/games/game-summaries/external-game-summary/external-game-summary.component.spec.ts
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
src/app/games/game-summaries/external-game-summary/external-game-summary.component.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
<div fxLayout="row wrap" fxLayoutAlign="center"> | ||
<game-summary fxFlex="25%" fxFlex.xs="100%" fxFlex.sm="33%" *ngFor="let game of games" [data]="game"></game-summary> | ||
<external-game-summary fxFlex="25%" fxFlex.xs="100%" fxFlex.sm="33%" *ngFor="let game of externalGames" [data]="game"></external-game-summary> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 26 additions & 11 deletions
37
src/app/games/game-summaries/game-summary/game-summary.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,35 @@ | ||
<mat-card> | ||
<ng-template #headerContent> | ||
<mat-card-header> | ||
<mat-card-title> | ||
{{ data.title }} | ||
<fa-icon *ngIf="data.external" [icon]="external"></fa-icon> | ||
</mat-card-title> | ||
<mat-card-subtitle> | ||
<ng-container *ngIf="total != undefined">Code decompiled: <strong>{{ total }}</strong></ng-container> | ||
| ||
</mat-card-subtitle> | ||
</mat-card-header> | ||
</ng-template> | ||
<ng-template #headerExternal> | ||
<a [href]="data.routingURL"> | ||
<ng-container *ngTemplateOutlet="headerContent"></ng-container> | ||
</a> | ||
</ng-template> | ||
<ng-template #headerInternal> | ||
<a [routerLink]="data.routingURL"> | ||
<mat-card-header> | ||
<mat-card-title> | ||
{{ data.title }} | ||
</mat-card-title> | ||
<mat-card-subtitle> | ||
<ng-container *ngIf="total != undefined">Code decompiled: <strong>{{ total }}</strong></ng-container> | ||
| ||
</mat-card-subtitle> | ||
</mat-card-header> | ||
<ng-container *ngTemplateOutlet="headerContent"></ng-container> | ||
</a> | ||
</ng-template> | ||
<mat-card> | ||
<ng-container *ngIf="data.external; then headerExternal else headerInternal"></ng-container> | ||
<mat-card-actions> | ||
<a mat-button *ngIf="data.links.hasOwnProperty('github')" [href]="data.links.github" title="Github"> | ||
<fa-icon [icon]="github"></fa-icon> | ||
<div class="caption">GitHub</div> | ||
</a> | ||
<a mat-button *ngIf="data.links.hasOwnProperty('progress')" [href]="data.links.progress" title="Progress"> | ||
<fa-icon [icon]="chart"></fa-icon> | ||
<div class="caption">Progress history</div> | ||
</a> | ||
</mat-card-actions> | ||
</mat-card> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.