generated from maximegris/angular-electron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9220486
commit 5bd2d2e
Showing
46 changed files
with
460 additions
and
210 deletions.
There are no files selected for viewing
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.
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 +1 @@ | ||
<router-outlet></router-outlet> | ||
<router-outlet></router-outlet>ç |
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,3 +1,3 @@ | ||
:host { | ||
} | ||
|
||
} |
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.
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import {Routes} from "@angular/router"; | ||
import {HomeComponent} from "./home/home.component"; | ||
import {DetailComponent} from "./detail/detail.component"; | ||
import {TeamComponent} from "./team/team.component"; | ||
import {PlayerComponent} from "./player/player.component"; | ||
import {SeriesComponent} from "./series/series.component"; | ||
import {MatchComponent} from "./match/match.component"; | ||
import {SettingsComponent} from "./settings/settings.component"; | ||
import {PageNotFoundComponent} from "./shared/components"; | ||
|
||
export const routes: Routes = [ | ||
{path: 'home', component: HomeComponent}, | ||
{path: 'detail', component: DetailComponent}, | ||
{path: 'team', component: TeamComponent}, | ||
{path: 'player', component: PlayerComponent}, | ||
{path: 'series', component: SeriesComponent}, | ||
{path: 'match', component: MatchComponent}, | ||
{path: 'settings', component: SettingsComponent}, | ||
{ | ||
path: '', | ||
redirectTo: '/home', | ||
pathMatch: 'full' | ||
}, | ||
{ | ||
path: '**', | ||
component: PageNotFoundComponent | ||
} | ||
]; |
This file was deleted.
Oops, something went wrong.
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
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.
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,7 +1,39 @@ | ||
<router-outlet></router-outlet> | ||
<div class="container"> | ||
<h1 class="title"> | ||
{{ 'PAGES.HOME.TITLE' | translate }} | ||
</h1> | ||
|
||
<a routerLink="/detail">{{ 'PAGES.HOME.GO_TO_DETAIL' | translate }}</a> | ||
<nav> | ||
<a class="detail" routerLink="/detail" | ||
routerLinkActive="activebutton" | ||
ariaCurrentWhenActive="page"> | ||
{{ 'PAGES.HOME.GO_TO_DETAIL' | translate }} | ||
</a> | ||
<a class="team" routerLink="/team" | ||
routerLinkActive="activebutton" | ||
ariaCurrentWhenActive="page"> | ||
{{ 'PAGES.HOME.GO_TO_TEAM' | translate }} | ||
</a> | ||
<a class="player" routerLink="/player" | ||
routerLinkActive="activebutton" | ||
ariaCurrentWhenActive="page"> | ||
{{ 'PAGES.HOME.GO_TO_PLAYER' | translate }} | ||
</a> | ||
<a class="series" routerLink="/series" | ||
routerLinkActive="activebutton" | ||
ariaCurrentWhenActive="page"> | ||
{{ 'PAGES.HOME.GO_TO_SERIES' | translate }} | ||
</a> | ||
<a class="match" routerLink="/match" | ||
routerLinkActive="activebutton" | ||
ariaCurrentWhenActive="page"> | ||
{{ 'PAGES.HOME.GO_TO_MATCH' | translate }} | ||
</a> | ||
<a class="settings" routerLink="/settings" | ||
routerLinkActive="activebutton" | ||
ariaCurrentWhenActive="page"> | ||
{{ 'PAGES.HOME.GO_TO_SETTINGS' | translate }} | ||
</a> | ||
</nav> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
:host { | ||
|
||
} | ||
.button { | ||
box-shadow: inset 0 1px 0 0 #ffffff; | ||
background: #ffffff linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%); | ||
border-radius: 6px; | ||
border: 1px solid #dcdcdc; | ||
display: inline-block; | ||
cursor: pointer; | ||
color: #666666; | ||
font-family: Arial, sans-serif; | ||
font-size: 15px; | ||
font-weight: bold; | ||
padding: 6px 24px; | ||
text-decoration: none; | ||
text-shadow: 0 1px 0 #ffffff; | ||
outline: 0; | ||
} | ||
.activebutton { | ||
box-shadow: inset 0 1px 0 0 #dcecfb; | ||
background: #bddbfa linear-gradient(to bottom, #bddbfa 5%, #80b5ea 100%); | ||
border: 1px solid #84bbf3; | ||
color: #ffffff; | ||
text-shadow: 0 1px 0 #528ecc; | ||
} | ||
} |
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.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div class="container"> | ||
<h1 class="title"> | ||
{{ 'PAGES.MATCH.TITLE' | translate }} | ||
</h1> | ||
</div> |
Empty file.
Oops, something went wrong.