-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(design): Add logout icon and use mdi (#392)
* wip * remove unused code * use mdi heart outline
- Loading branch information
1 parent
4d6689f
commit a57ec59
Showing
7 changed files
with
13 additions
and
28 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
src/app/shared/components/icon-heart/icon-heart.component.ts
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
src/app/shared/components/login-button/login-button.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<ng-container *ngIf="authState$ | async as authState"> | ||
<button | ||
class="rounded-full bg-tint text-primary text-[16px] font-bold py-3 px-5 text-secondary" | ||
class="rounded-full bg-tint text-secondary text-[16px] font-bold py-3 px-5 flex items-center gap-2" | ||
(click)="loginOrLogout()" | ||
[disabled]="authState.isLoading"> | ||
{{ buttonText$ | async }} | ||
<span>{{ buttonText$ | async }}</span> | ||
<i *ngIf="authState.isAuthenticated" class="mdi mdi-logout text-lg"></i> | ||
</button> | ||
</ng-container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
@import '@mdi/font/css/materialdesignicons.css'; | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|