Skip to content

Commit

Permalink
docs: fix link for brand
Browse files Browse the repository at this point in the history
  • Loading branch information
shhdharmen committed May 5, 2024
1 parent 7b60d5b commit 3939397
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ng-doc-root>
<ng-doc-navbar [leftContent]="leftContent" [rightContent]="controls">
<ng-template #leftContent>
<a href="/" class="brand">
<a routerLink="/" class="brand">
<img
src="https://avatars.githubusercontent.com/u/160453188?s=200&v=4"
alt="logo"
Expand Down
5 changes: 3 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
NgDocThemeToggleComponent,
} from '@ng-doc/app';
import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { RouterLink, RouterOutlet } from '@angular/router';
import { NgDocButtonComponent, NgDocButtonIconComponent, NgDocIconComponent, NgDocTooltipDirective } from '@ng-doc/ui-kit';

@Component({
Expand All @@ -20,7 +20,8 @@ import { NgDocButtonComponent, NgDocButtonIconComponent, NgDocIconComponent, NgD
NgDocButtonIconComponent,
NgDocTooltipDirective,
NgDocThemeToggleComponent,
NgDocButtonComponent
NgDocButtonComponent,
RouterLink
],
templateUrl: './app.component.html',
styleUrl: './app.component.scss',
Expand Down

0 comments on commit 3939397

Please sign in to comment.