feat: get image from tmdb

This commit is contained in:
2023-07-31 17:21:17 +02:00
parent 79975905d1
commit 3a5c5b4404
12 changed files with 148 additions and 29 deletions

View File

@@ -15,9 +15,15 @@ export const handler: Handlers<Movie | null> = {
export default function Greet(props: PageProps<Movie>) {
const movie = props.data;
const { author = "", date = "" } = movie.meta;
return (
<MainLayout url={props.url}>
<RecipeHero data={movie} backlink="/movies" />
<RecipeHero
data={movie}
subline={[author, date.toString()]}
backlink="/movies"
/>
<KMenu type="main" context={movie} />
<div class="px-8 text-white mt-10">
<pre