File tree Expand file tree Collapse file tree 6 files changed +44
-29
lines changed Expand file tree Collapse file tree 6 files changed +44
-29
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import { HomePageComponent } from './home-page/home-page.component';
2929import { PostDetailsComponent } from './post-details/post-details.component' ;
3030import { PostEditComponent } from './post-edit/post-edit.component' ;
3131import { PostComponent } from './post/post.component' ;
32+ import { SidenavComponent } from './sidenav/sidenav.component' ;
3233
3334
3435@NgModule ( {
@@ -50,7 +51,8 @@ import { PostComponent } from './post/post.component';
5051 HomePageComponent ,
5152 PostDetailsComponent ,
5253 PostEditComponent ,
53- PostComponent
54+ PostComponent ,
55+ SidenavComponent
5456 ] ,
5557 imports : [
5658 BrowserModule ,
Original file line number Diff line number Diff line change 2323 </ div >
2424
2525 < div class ="col-md-4 ">
26- < div class ="sidebar-card mb-2 ">
27- < div class ="logo mb-4 ">
28- < a href ="about.html "> < img src ="assets/img/black_logo.png " alt ="" class ="img-responsive img-circle " style ="margin: 0 auto; "> </ a >
29- </ div >
30- < p class ="mb-4 ">
31- QAGuild подкаст — первый подкаст про тестирование, автоматизацию в тестировании и просто за жизнь.
32- </ p >
33-
34- < hr >
35- < button type ="button " class ="btn btn-block btn-outline-dark " (click) ="goToAddTheme() "> Предложить тему для подкаста</ button >
36-
37- < a *ngIf ="!isLogged() " href ="https://www.patreon.com/join/automation_remarks? " class ="btn btn-block btn-outline-warning "> Задонатить</ a >
38-
39- < a *ngIf ="!isLogged() " href ="https://qaguild-slack.herokuapp.com " class ="btn btn-block btn-outline-success "> Чат подкаста в Slack</ a >
40- </ div >
41-
42- <!-- <div class="sidebar-card">
43- <button type="button" class="btn btn-block btn-outline-dark" (click)="goToAddTheme()">Предложить тему для подкаста</button>
44-
45- <a *ngIf="!isLogged()" href="https://www.patreon.com/join/automation_remarks?" class="btn btn-block btn-outline-warning">Задонатить</a>
46-
47- <a *ngIf="!isLogged()" href="https://qaguild-slack.herokuapp.com" class="btn btn-block btn-outline-success">Чат подкаста в Slack</a>
48- </div> -->
49-
50-
26+ < app-sidenav > </ app-sidenav >
5127 </ div >
5228 </ div >
5329</ div >
Original file line number Diff line number Diff line change @@ -64,9 +64,7 @@ <h6> Стать патроном: <a href="http://patreon.com/automation_remarks
6464 </ div >
6565
6666 < div class ="col-md-4 ">
67- < div class ="sidebar-card ">
68- < button type ="button " class ="btn btn-block btn-dark " (click) ="goToAddTheme() "> Предложить тему для подкаста</ button >
69- </ div >
67+ < app-sidenav > </ app-sidenav >
7068 </ div >
7169 </ div >
7270 </ div >
Original file line number Diff line number Diff line change 1+ .sidebar-card {
2+ background-color : # ffffff ;
3+ border : 1px solid # e9e9e9 ;
4+ padding : 20px ;
5+ border-top : 3px solid;
6+ }
7+
8+ .logo img {
9+ width : 100% ;
10+ padding : 15px ;
11+ }
Original file line number Diff line number Diff line change 1+ < div class ="sidebar-card mb-2 ">
2+ < div class ="logo mb-4 ">
3+ < a href ="about.html "> < img src ="assets/img/black_logo.png " alt ="" class ="img-responsive img-circle " style ="margin: 0 auto; "> </ a >
4+ </ div >
5+ < p class ="mb-4 ">
6+ QAGuild подкаст — первый подкаст про тестирование, автоматизацию в тестировании и просто за жизнь.
7+ </ p >
8+
9+ < hr >
10+ < button type ="button " class ="btn btn-block btn-outline-dark " (click) ="goToAddTheme() "> Предложить тему для подкаста</ button >
11+ < a href ="https://www.patreon.com/join/automation_remarks? " class ="btn btn-block btn-outline-warning "> Задонатить</ a >
12+ < a href ="https://qaguild-slack.herokuapp.com " class ="btn btn-block btn-outline-success "> Чат подкаста в Slack</ a >
13+ </ div >
Original file line number Diff line number Diff line change 1+ import { Component , OnInit } from '@angular/core' ;
2+
3+ @Component ( {
4+ selector : 'app-sidenav' ,
5+ templateUrl : './sidenav.component.html' ,
6+ styleUrls : [ './sidenav.component.css' ]
7+ } )
8+ export class SidenavComponent implements OnInit {
9+
10+ constructor ( ) { }
11+
12+ ngOnInit ( ) {
13+ }
14+
15+ }
You can’t perform that action at this time.
0 commit comments