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

Commit c9b1c9c

Browse files
authored
Merge pull request #34 from code-kern-ai/add_home_icon_header
Added home icon on header
2 parents 3cbc9fa + 2da5459 commit c9b1c9c

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

src/app/base/components/header/header.component.html

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,21 @@
6767
</div>
6868
<div class="flex flex-row flex-nowrap items-center">
6969
<div class="flex items-center justify-center">
70-
<a [routerLink]="['/notification-center']" class="flex mr-6">
70+
<a [routerLink]="['/projects']" class="flex mr-6 tooltip tooltip-left" data-tip="Home page - Projects">
71+
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-home" width="24"
72+
height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none"
73+
stroke-linecap="round" stroke-linejoin="round">
74+
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
75+
<polyline points="5 12 3 12 12 3 21 12 19 12"></polyline>
76+
<path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7"></path>
77+
<path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6"></path>
78+
</svg>
79+
</a>
80+
</div>
81+
82+
<div class="flex items-center justify-center">
83+
<a [routerLink]="['/notification-center']" class="flex mr-6 tooltip tooltip-left"
84+
data-tip="Notification center">
7185
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
7286
<path
7387
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" />
@@ -90,12 +104,11 @@
90104
</div>
91105
<div class="flex justify-center overflow-visible">
92106
<div *ngIf="user" class=" mr-4">
93-
<kern-dropdown [dropdownOptions]="{
107+
<kern-dropdown [dropdownOptions]="{
94108
optionArray: showConfigSettings ? ['Account Settings', 'Change config', 'Logout'] : ['Account Settings', 'Logout'],
95109
buttonVersion: 'userIcon',
96110
avatarUri: avatarUri
97-
}" (optionClicked)="executeOption($event)"
98-
></kern-dropdown>
111+
}" (optionClicked)="executeOption($event)"></kern-dropdown>
99112
</div>
100113
</div>
101114
</div>

0 commit comments

Comments
 (0)