refactor(ui): replace SVG artwork placeholders with CSS (#292)

* chore(ui): replace SVG placeholders with CSS alternative

* fix(ui): Placeholder review followup
This commit is contained in:
Alex
2026-04-22 17:26:58 -04:00
committed by Zach Yale
parent 5ac7b5553e
commit 2fd7310e81
34 changed files with 392 additions and 511 deletions
@@ -8,6 +8,8 @@
alt="Book cover"
class="book-cover"
/>
} @else {
<app-cover-placeholder class="book-cover" [title]="bookInfo().title" [author]="bookInfo().authors" size="sm" />
}
<div class="book-meta">
<h2 class="book-title">{{ bookInfo().title }}</h2>
@@ -5,13 +5,14 @@ import {TranslocoPipe} from '@jsverse/transloco';
import {CbxSidebarService, CbxSidebarTab} from './cbx-sidebar.service';
import {BookNoteV2} from '../../../../../shared/service/book-note-v2.service';
import {ReaderIconComponent} from '../../../ebook-reader';
import {CoverPlaceholderComponent} from '../../../../../shared/components/cover-generator/cover-generator.component';
@Component({
selector: 'app-cbx-sidebar',
standalone: true,
templateUrl: './cbx-sidebar.component.html',
styleUrls: ['./cbx-sidebar.component.scss'],
imports: [CommonModule, FormsModule, TranslocoPipe, ReaderIconComponent, DatePipe]
imports: [CommonModule, FormsModule, TranslocoPipe, ReaderIconComponent, DatePipe, CoverPlaceholderComponent]
})
export class CbxSidebarComponent {
private readonly sidebarService = inject(CbxSidebarService);