add logo to collection list + minor changes
This commit is contained in:
1 parent
c3294a1ab9
commit
3076406b58
13 files changed
+49
-35
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<div class="movie-card" [@fadeInOut]="animationDirection">
|
||||
<div class="card-head">
|
||||
<img class="card-img" [src]="posterPath" alt="Movie Poster">
|
||||
<img class="card-img" [src]="posterPath" alt="Movie Poster" onerror="this.src='assets/images/default/default-poster.png'">
|
||||
|
||||
<div class="loading-overlay" *ngIf="lockActions" @animateDestroy>
|
||||
<div class="d-flex justify-content-center align-items-center" style="height: 100%;">
|
||||
@@ -37,8 +37,8 @@
|
||||
</div>
|
||||
|
||||
<!-- card body : title, -->
|
||||
<div class="card-body">
|
||||
<a (click)="cardClick()" rel="noopener noreferrer">
|
||||
<div class="card-body" (click)="cardClick()">
|
||||
<a rel="noopener noreferrer">
|
||||
<h3 class="card-title">{{ entry.title }}</h3>
|
||||
</a>
|
||||
<div class="card-info">
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { ChangeDetectorRef, Component, Inject, OnInit } from '@angular/core';
|
||||
import { Component, Inject, OnInit } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { FormBuilder } from '@angular/forms';
|
||||
|
||||
@Component({
|
||||
selector: 'app-confirm-modal',
|
||||
|
||||
@@ -5,14 +5,6 @@ import { format } from 'date-fns';
|
||||
name: 'dateFormat',
|
||||
})
|
||||
export class DateFormatPipe implements PipeTransform {
|
||||
// transform(value: string): string {
|
||||
// if (!value) return '';
|
||||
|
||||
// const date = new Date(value);
|
||||
// const formatter = new Intl.DateTimeFormat('en-US', { month: 'long', day: '2-digit', year: 'numeric' });
|
||||
// return formatter.format(date);
|
||||
// }
|
||||
|
||||
transform(
|
||||
value: Date | string | number,
|
||||
formatString: string = 'yyyy-MM-dd'
|
||||
|
||||
Reference in new issue
Block a user