feat: get image from tmdb
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user