alright, got it to the point where it'll automatically download new entries. now to fix the UX of it all...
This commit is contained in:
parent
6a209f8698
commit
b5306d1d11
10 changed files with 195 additions and 61 deletions
|
@ -8,13 +8,12 @@ export const ListItem: Component<{ entry: Entry }> = (props) => {
|
|||
|
||||
return (
|
||||
<figure class={css.listItem} data-id={props.entry.id}>
|
||||
<img src={props.entry.thumbnail ?? ''} alt={props.entry.title} />
|
||||
|
||||
<img src={props.entry.thumbnail ?? ""} alt={props.entry.title} />
|
||||
|
||||
<figcaption>
|
||||
<strong>{props.entry.title}</strong>
|
||||
|
||||
<a href={`/watch/${slug()}`}>Watch now</a>
|
||||
<a href={`/play/${slug()}`}>Watch now</a>
|
||||
</figcaption>
|
||||
</figure>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue