Skip to content

Commit

Permalink
feat: add qr code, many enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
lwestfall committed Jan 5, 2024
1 parent 58488e2 commit a79ce56
Show file tree
Hide file tree
Showing 15 changed files with 317 additions and 110 deletions.
132 changes: 120 additions & 12 deletions src/Client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/Client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@ngrx/store": "^17.0.1",
"@ngrx/store-devtools": "^17.0.1",
"@popperjs/core": "^2.11.8",
"angularx-qrcode": "^17.0.0",
"bootstrap": "^5.3.2",
"bootstrap-icons": "^1.11.2",
"lodash-es": "^4.17.21",
Expand Down
7 changes: 3 additions & 4 deletions src/Client/src/app/books/book-card/book-card.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="card w-100" style="max-width: 30rem">
<div class="ripple" *ngIf="!noRipple && recommendedForNext"></div>
<div class="ripple" *ngIf="ripple"></div>
<div class="card-body">
<div class="d-flex flex-row gap-2 align-items-center">
<div>
Expand All @@ -18,6 +18,8 @@ <h6 class="card-subtitle mb-2 text-body-secondary">
</div>
<div class="text-center" *ngIf="mine">
@if (recommendedForNext) {
<h6 class="text-success my-2">Recommended for next meeting!</h6>
} @else {
<div
[ngbTooltip]="
!nextMeetingId ? 'Next meeting hasn\'t been scheduled yet!' : null
Expand All @@ -31,10 +33,7 @@ <h6 class="card-subtitle mb-2 text-body-secondary">
Recommend for next meeting!
</button>
</div>
} @else {
<h6 class="text-success my-2">Recommended for next meeting!</h6>
}
<ng-template #recommendedForNext> </ng-template>
</div>
<div class="d-flex flex-row gap-2 align-items-center">
<hr class="flex-grow-1" />
Expand Down
Loading

0 comments on commit a79ce56

Please sign in to comment.