applied the cool new carousel css feature!
This commit is contained in:
parent
6a0c1cb377
commit
3142ac6185
8 changed files with 233 additions and 75 deletions
|
@ -7,14 +7,14 @@ export const ListItem: Component<{ entry: Entry }> = (props) => {
|
|||
const slug = createMemo(() => createSlug(props.entry));
|
||||
|
||||
return (
|
||||
<div class={css.listItem}>
|
||||
<img src={props.entry.thumbnail} />
|
||||
<figure class={css.listItem}>
|
||||
<img src={props.entry.thumbnail} alt={props.entry.title} />
|
||||
|
||||
<main>
|
||||
<figcaption>
|
||||
<strong>{props.entry.title}</strong>
|
||||
|
||||
<a href={`/watch/${slug()}`}>Watch now</a>
|
||||
</main>
|
||||
</div>
|
||||
</figcaption>
|
||||
</figure>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue