mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 19:23:49 -07:00
maybe this won't error
This commit is contained in:
parent
dc93026ca5
commit
e864e6763d
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
import type { Comic } from '../lib/types';
|
||||
import { Image } from 'astro:assets';
|
||||
|
||||
interface Props {
|
||||
comic: Comic;
|
||||
|
|
@ -13,7 +14,7 @@ const coverUrl = comic.md_comics.md_covers[0]
|
|||
|
||||
<div class="comic-card">
|
||||
<a href={`https://comick.io/comic/${comic.md_comics.slug}`} target="_blank" rel="noopener noreferrer">
|
||||
<img src={coverUrl} alt={comic.md_comics.title} />
|
||||
<Image src={coverUrl} alt={comic.md_comics.title} />
|
||||
<div class="comic-info">
|
||||
<h3>{comic.md_comics.title}</h3>
|
||||
<p>Chapter {comic.chap}</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue