Skip to content

Commit

Permalink
Turn buttons into a tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bizz committed Oct 14, 2024
1 parent 9077f16 commit 6f4c640
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/app/page/component/tract-page/tract-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,40 +43,40 @@
<ng-container *ngIf="(dir$ | async) === 'ltr'">
<!-- If not first page -->
<ng-container *ngIf="(isFirstPage$ | async) === false">
<button
<a
(click)="previous()"
href="javascript:void(0)"
class="button button-white far fa-arrow-left"
></button>
><span class="hide"></span></a>
</ng-container>

<!-- If not last page -->
<ng-container *ngIf="(isLastPage$ | async) === false">
<button
<a
(click)="next()"
href="javascript:void(0)"
class="button far fa-arrow-right"
></button>
><span class="hide"></span></a>
</ng-container>
</ng-container>

<ng-container *ngIf="(dir$ | async) === 'rtl'">
<!-- If not first page -->
<ng-container *ngIf="(isLastPage$ | async) === false">
<button
<a
(click)="next()"
href="javascript:void(0)"
class="button far fa-arrow-left"
></button>
><span class="hide"></span></a>
</ng-container>

<!-- If not last page -->
<ng-container *ngIf="(isFirstPage$ | async) === false">
<button
<a
(click)="previous()"
href="javascript:void(0)"
class="button button-white far fa-arrow-right"
></button>
><span class="hide"></span></a>
</ng-container>
</ng-container>
</div>
Expand Down

0 comments on commit 6f4c640

Please sign in to comment.