diff --git a/src/app/tabs/tabs.component.html b/src/app/tabs/tabs.component.html index 0d2742e..b4d3a2c 100644 --- a/src/app/tabs/tabs.component.html +++ b/src/app/tabs/tabs.component.html @@ -21,10 +21,17 @@ 9+ -
- user icon - Hi, Joe Ghatto - chevron down image +
+ + user icon + Hi, Joe Ghatto + chevron down image + + + logout icon + Log me out + chevron down image +
diff --git a/src/app/tabs/tabs.component.scss b/src/app/tabs/tabs.component.scss index a362561..d9cff9a 100644 --- a/src/app/tabs/tabs.component.scss +++ b/src/app/tabs/tabs.component.scss @@ -161,6 +161,7 @@ $header-height: 10rem; position: relative; overflow: hidden; width: 20rem; + cursor: pointer; @media print { display: none; @@ -184,6 +185,10 @@ $header-height: 10rem; img { width: 1.5rem; + + &.logout-icon { + transform: scale(1.5); + } } span { diff --git a/src/app/tabs/tabs.component.ts b/src/app/tabs/tabs.component.ts index 1023d65..667e33f 100644 --- a/src/app/tabs/tabs.component.ts +++ b/src/app/tabs/tabs.component.ts @@ -7,6 +7,7 @@ import { Component, OnInit } from '@angular/core'; }) export class TabsComponent implements OnInit { showNotifications: boolean = false; + showLogout: boolean = false; constructor() { } diff --git a/src/assets/icons/logout.svg b/src/assets/icons/logout.svg new file mode 100644 index 0000000..2b1ea52 --- /dev/null +++ b/src/assets/icons/logout.svg @@ -0,0 +1 @@ +ionicons-v5-o \ No newline at end of file