File tree 7 files changed +26
-22
lines changed
7 files changed +26
-22
lines changed Original file line number Diff line number Diff line change 20
20
"tsConfig" : " tsconfig.app.json" ,
21
21
"aot" : true ,
22
22
"assets" : [
23
- " src/favicon.ico" ,
23
+ " src/favicon-new .ico" ,
24
24
" src/assets"
25
25
],
26
26
"styles" : [
85
85
"tsConfig" : " tsconfig.spec.json" ,
86
86
"karmaConfig" : " karma.conf.js" ,
87
87
"assets" : [
88
- " src/favicon.ico" ,
88
+ " src/favicon-new .ico" ,
89
89
" src/assets"
90
90
],
91
91
"styles" : [
127
127
}
128
128
},
129
129
"defaultProject" : " personalApplication"
130
- }
130
+ }
Original file line number Diff line number Diff line change 4
4
< a href ="https://www.linkedin.com/in/jan-stępień-developer " class ="p-1 " target ="_blank " rel ="noopener " style ="font-size:36px;color:white ">
5
5
< fa-icon [icon] ="faLinkedin "> </ fa-icon >
6
6
</ a >
7
- < a href ="https://https:// www.facebook.com/jan.stepien.7 " class ="p-1 " target ="_blank " rel ="noopener " style ="font-size:36px;color:white ">
7
+ < a href ="https://www.facebook.com/jan.stepien.7 " class ="p-1 " target ="_blank " rel ="noopener " style ="font-size:36px;color:white ">
8
8
< fa-icon [icon] ="faFacebook "> </ fa-icon >
9
9
</ a >
10
10
</ div >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ <h5 class="d-flex flex-wrap">
11
11
< h5 > So what you want to see first?</ h5 >
12
12
< div class ="d-flex flex-row flex-wrap m-1 justify-content-center ">
13
13
< app-tile *ngFor ="let tile of tiles; let i = index " class ="d-flex m-1 " [routerLink] ="tile.redirectTo "
14
- [id] ="i " [text] ="tile.label " [style] ="i % 2 === 0 ? tileStyles.blackTile : tileStyles.whiteTile " > </ app-tile >
14
+ [id] ="i " [text] ="tile.label " [style] ="setTileStyle(i) " > </ app-tile >
15
15
</ div >
16
16
</ div >
17
17
< footer id ="homePageFooter " class ="black-themed d-flex justify-content-left flex-column p-4 ">
Original file line number Diff line number Diff line change @@ -18,18 +18,19 @@ export class AngularMainPageComponent implements OnInit {
18
18
label :'NgRx implementation' ,
19
19
redirectTo : 'ngRx'
20
20
} ,
21
- {
22
- label :'Boostrap used' ,
23
- redirectTo : 'home'
24
- } ,
25
- {
26
- label :'Responsive design' ,
27
- redirectTo : 'home'
28
- } ,
29
- {
30
- label :'GitHub' ,
31
- redirectTo : 'home'
32
- }
21
+ // TODO:
22
+ // {
23
+ // label:'Boostrap used',
24
+ // redirectTo: 'home'
25
+ // },
26
+ // {
27
+ // label:'Responsive design',
28
+ // redirectTo: 'home'
29
+ // },
30
+ // {
31
+ // label:'GitHub',
32
+ // redirectTo: 'home'
33
+ // }
33
34
] ;
34
35
constructor ( private router : Router ) { }
35
36
@@ -39,5 +40,7 @@ export class AngularMainPageComponent implements OnInit {
39
40
tileClicked ( index : number ) {
40
41
this . router . navigate ( [ this . tiles [ index ] . redirectTo ] ) ;
41
42
}
42
-
43
+ setTileStyle ( index : number ) {
44
+ return index % 2 === 0 ? tileStyles . blackTile : tileStyles . whiteTile
45
+ }
43
46
}
Original file line number Diff line number Diff line change @@ -20,10 +20,11 @@ export class HomePageComponent implements OnInit {
20
20
label : "Angular" ,
21
21
redirectTo : 'angular'
22
22
} ,
23
- {
24
- label : "Flutter" ,
25
- redirectTo : 'flutter'
26
- }
23
+ // TODO:
24
+ // {
25
+ // label: "Flutter",
26
+ // redirectTo: 'flutter'
27
+ // }
27
28
] ;
28
29
29
30
constructor ( private router : Router ) {
You can’t perform that action at this time.
0 commit comments