popular page: using dynamic entry list
This commit is contained in:
1 parent
a00463c06f
commit
fec7e2242c
1 file changed
+6
-8
@@ -8,22 +8,20 @@
|
||||
<a href="javascript:;">
|
||||
</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Popular</li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Trending</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="ms-auto">
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-outline-dark" [class.active]="activeComponent === true"
|
||||
(click)="showComponent(true)">Movies</button>
|
||||
<button type="button" class="btn btn-outline-dark" [class.active]="entryType === true"
|
||||
(click)="setEntryType(true)">Movies</button>
|
||||
|
||||
<button type="button" class="btn btn-outline-dark" [class.active]="activeComponent === false"
|
||||
(click)="showComponent(false)">TV-Series</button>
|
||||
<button type="button" class="btn btn-outline-dark" [class.active]="entryType === false"
|
||||
(click)="setEntryType(false)">TV-Series</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--end breadcrumb-->
|
||||
|
||||
|
||||
<app-entry-list *ngIf="activeComponent === true" [isMovies]="true" [type]="'popular'"></app-entry-list>
|
||||
<app-entry-list *ngIf="activeComponent === false" [isMovies]="false" [type]="'popular'"></app-entry-list>
|
||||
<app-dynamic-entry-list [entries]="entries"></app-dynamic-entry-list>
|
||||
Reference in new issue
Block a user