Skip to content

Commit

Permalink
Merge pull request #9 from ernerdo/release/bundle-fixes
Browse files Browse the repository at this point in the history
Release/bundle fixes
  • Loading branch information
ernerdo authored Dec 29, 2024
2 parents 40de9e4 + 7867450 commit 703a1ad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/app/modules/layout/components/navbar/navbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,22 @@
</div>
<div class="flex items-center">
<div class="flex space-x-2">
<button class="text-white" type="button">
<button class="text-white" type="button" disabled>
<fa-icon [icon]="faBell"></fa-icon>
</button>
<button class="text-white" type="button">
<button class="text-white" type="button" disabled>
<fa-icon [icon]="faInfoCircle"></fa-icon>
</button>
<button
type="button"
class="flex rounded-full"
class="flex rounded-full text-white"
aria-expanded="false"
type="button"
(click)="isOpenOverlayAvatar = !isOpenOverlayAvatar"
cdkOverlayOrigin
#menuOverlay="cdkOverlayOrigin"
>
<img
class="w-8 h-8 rounded-full"
[src]="user?.avatar"
alt="user photo"
/>
<fa-icon [icon]="faUser"></fa-icon>
</button>
</div>
</div>
Expand All @@ -94,7 +90,6 @@
</button>
</div>
<div class="py-3 px-4 flex items-center space-x-4">
<img class="w-10 h-10 rounded-full" [src]="user?.avatar" alt="" />
<div class="space-y-1">
<div>{{ user?.name }}</div>
<div class="text-sm text-gray-500">{{ user?.email }}</div>
Expand Down Expand Up @@ -159,6 +154,12 @@
</button>
</div>
<div class="flex flex-col justify-around gap-2 p-2">
<p
*ngIf="!boards || boards.length === 0"
class="text-center text-gray-600"
>
No boards
</p>
<a
[routerLink]="['/app/boards', board.id]"
*ngFor="let board of boards"
Expand Down
2 changes: 2 additions & 0 deletions src/app/modules/layout/components/navbar/navbar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
faBell,
faClose,
faInfoCircle,
faUser,
} from '@fortawesome/free-solid-svg-icons';
import { Colors, NAVBAR_BACKGROUNDS } from '@models/colors.model';

Expand All @@ -23,6 +24,7 @@ export class NavbarComponent {
faInfoCircle = faInfoCircle;
faClose = faClose;
faAngleDown = faAngleDown;
faUser = faUser;

isOpenOverlayAvatar = false;
isOpenOverlayBoards = false;
Expand Down

0 comments on commit 703a1ad

Please sign in to comment.