feat: show review title on movie page
This commit is contained in:
parent
70d16913f3
commit
289b699c12
@ -17,6 +17,8 @@ export default function Greet(props: PageProps<Movie>) {
|
||||
|
||||
const { author = "", date = "" } = movie.meta;
|
||||
|
||||
console.log(movie.description)
|
||||
|
||||
return (
|
||||
<MainLayout url={props.url}>
|
||||
<RecipeHero
|
||||
@ -33,6 +35,7 @@ export default function Greet(props: PageProps<Movie>) {
|
||||
</>
|
||||
)}
|
||||
<div class="px-8 text-white mt-10">
|
||||
{movie?.description?.length > 80 ? <h2 class="text-4xl font-bold mb-4">Review</h2>:<></>}
|
||||
<pre
|
||||
class="whitespace-break-spaces"
|
||||
dangerouslySetInnerHTML={{ __html: movie.description || "" }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user