Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Added home icon on header #34

Merged
merged 2 commits into from
Aug 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions src/app/base/components/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,21 @@
</div>
<div class="flex flex-row flex-nowrap items-center">
<div class="flex items-center justify-center">
<a [routerLink]="['/notification-center']" class="flex mr-6">
<a [routerLink]="['/projects']" class="flex mr-6 tooltip tooltip-left" data-tip="Home page - Projects">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-home" width="24"
height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none"
stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<polyline points="5 12 3 12 12 3 21 12 19 12"></polyline>
<path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7"></path>
<path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6"></path>
</svg>
</a>
</div>

<div class="flex items-center justify-center">
<a [routerLink]="['/notification-center']" class="flex mr-6 tooltip tooltip-left"
data-tip="Notification center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path
d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z" />
Expand All @@ -90,12 +104,11 @@
</div>
<div class="flex justify-center overflow-visible">
<div *ngIf="user" class=" mr-4">
<kern-dropdown [dropdownOptions]="{
<kern-dropdown [dropdownOptions]="{
optionArray: showConfigSettings ? ['Account Settings', 'Change config', 'Logout'] : ['Account Settings', 'Logout'],
buttonVersion: 'userIcon',
avatarUri: avatarUri
}" (optionClicked)="executeOption($event)"
></kern-dropdown>
}" (optionClicked)="executeOption($event)"></kern-dropdown>
</div>
</div>
</div>
Expand Down