feat: initial version of reader
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<h1>It's home component</h1>
|
||||
<div class="flex flex-col items-center">
|
||||
@for (item of items; track $index) {
|
||||
<button (click)="getDetails(item.slug)">
|
||||
<div class="card flex flex-col items-center">
|
||||
<button (click)="getDetails(item.slug_url)" title="{{ item.name }}" class="mb-6">
|
||||
<div class="card flex flex-col items-center border-black border-2 rounded-md p-4">
|
||||
<h1>{{ item.rus_name }}</h1>
|
||||
<img [src]="item.cover.thumbnail" [alt]="item.slug" />
|
||||
<img [src]="item.cover.thumbnail" [alt]="item.slug" class="w-[200px] h-auto aspect-auto" />
|
||||
</div>
|
||||
</button>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user