File tree Expand file tree Collapse file tree
projects/ngqp-demo/src/app Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- < nav class ="navbar navbar-expand-lg navbar-light bg-light ">
2- < img src ="assets/logo.svg " height ="48 " width ="auto " />
3- < a class ="navbar-brand " routerLink ="/ "> @ngqp</ a >
1+ < nav class ="navbar navbar-expand-lg navbar-dark bg-primary ">
2+ < a class ="navbar-brand " routerLink ="/ ">
3+ < div class ="d-inline-block align-middle logo-container ">
4+ < img src ="assets/logo.svg " height ="48 " width ="auto " />
5+ </ div >
6+ @ngqp
7+ </ a >
48 < button class ="navbar-toggler " type ="button " (click) ="isNavbarExpanded = !isNavbarExpanded ">
59 < span class ="navbar-toggler-icon "> </ span >
610 </ button >
711
812 < div class ="navbar-collapse " [class.collapse] ="!isNavbarExpanded ">
913 < ul class ="navbar-nav mr-auto ">
1014 < li class ="nav-item active ">
11- < a class ="nav-link " href ="/playground "> Playground</ a >
15+ < a class ="nav-link " routerLink ="/playground "> Playground</ a >
16+ </ li >
17+ < li class ="nav-item ">
18+ < a class ="nav-link " routerLink ="/ "> Getting started</ a >
19+ </ li >
20+ < li class ="nav-item ">
21+ < a class ="nav-link " routerLink ="/ "> Tutorial</ a >
22+ </ li >
23+ < li class ="nav-item ">
24+ < a class ="nav-link " routerLink ="/ "> API Documentation</ a >
1225 </ li >
1326 </ ul >
1427 </ div >
Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ import { Component } from '@angular/core';
33@Component ( {
44 selector : 'app-root' ,
55 templateUrl : './app.component.html' ,
6+ styles : [ `
7+ .logo-container {
8+ background-color: white;
9+ border-radius: 50%;
10+ margin-right: 8px;
11+ }
12+ ` ] ,
613} )
714export class AppComponent {
815
You can’t perform that action at this time.
0 commit comments