Skip to content

Commit

Permalink
TravisCI removed, ZEIT added
Browse files Browse the repository at this point in the history
  • Loading branch information
CerealKiller97 committed Aug 30, 2019
1 parent 975790e commit 7151691
Show file tree
Hide file tree
Showing 13 changed files with 422 additions and 81 deletions.
15 changes: 0 additions & 15 deletions .htaccess

This file was deleted.

33 changes: 0 additions & 33 deletions .travis.yml

This file was deleted.

27 changes: 17 additions & 10 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@
},
"configurations": {
"production": {
"fileReplacements": [{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
Expand All @@ -44,11 +46,13 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}]
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
}
},
Expand Down Expand Up @@ -110,9 +114,12 @@
"devServerTarget": "video-gamer:serve:production"
}
}
},
"deploy": {
"builder": "@zeit/ng-deploy:deploy"
}
}
}
},
"defaultProject": "video-gamer"
}
}
3 changes: 3 additions & 0 deletions src/app/app.component.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.light-text {
font-weight: 100 !important;
}
3 changes: 3 additions & 0 deletions src/app/modules/home/components/home/home.component.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.light-text {
font-weight: 100 !important;
}
2 changes: 1 addition & 1 deletion src/app/modules/home/components/home/home.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<mat-grid-list cols="2" rowHeight="2:1">
<mat-grid-tile>
<h1>Welcome to VideoGamer</h1>
<h1 class="light-text">Welcome to VideoGamer</h1>
</mat-grid-tile>
<mat-grid-tile>2</mat-grid-tile>
</mat-grid-list>
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.text-center {
text-align: center !important;
}

.light-text {
font-weight: 100 !important;
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<mat-toolbar color="primary">
<small class="text-center">Copyright 2019 &copy; Stefan Bogdanovic</small>
<small class="text-center light-text">Copyright 2019 &copy; Stefan Bogdanovic</small>
</mat-toolbar>
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
.nav-link {
color: whitesmoke;
}

.light-text {
font-weight: 100 !important;
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<mat-toolbar color="primary">
<span [routerLink]="">VideoGamer</span>
<span class="light-text">VideoGamer</span>

<span class="example-fill-remaining-space"></span>

<span>
<nav mat-tab-nav-bar>
<button mat-button *ngFor="let link of links" [routerLink]="link.path" routerLinkActive #rla="routerLinkActive"
class="nav-link">
class="nav-link light-text">
{{ link.name }}
</button>
</nav>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<div *ngIf="loading">
<app-fingerprint-spinner [animationDuration]="1000" [size]="100" [color]="'#ff1d5e'">
</app-fingerprint-spinner>
<mat-grid-list cols="1" rowHeight="100">
<mat-grid-tile>
<app-fingerprint-spinner [animationDuration]="1000" [size]="100" [color]="'#ff1d5e'">
</app-fingerprint-spinner>
</mat-grid-tile>
</mat-grid-list>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Component, OnInit, Input } from '@angular/core';
})
export class LoadingSpinnerComponent implements OnInit {
@Input()
loading: boolean;
loading = true;

constructor() {}

Expand Down
Loading

0 comments on commit 7151691

Please sign in to comment.