feat: better layout in a lot of places
This commit is contained in:
@@ -3,6 +3,7 @@ import { MainLayout } from "@components/layouts/main.tsx";
|
||||
import { getMovie, Movie } from "@lib/resource/movies.ts";
|
||||
import { RecipeHero } from "@components/RecipeHero.tsx";
|
||||
import { KMenu } from "@islands/KMenu.tsx";
|
||||
import { HashTags } from "@components/HashTags.tsx";
|
||||
|
||||
export const handler: Handlers<Movie | null> = {
|
||||
async GET(_, ctx) {
|
||||
@@ -24,6 +25,12 @@ export default function Greet(props: PageProps<Movie>) {
|
||||
backlink="/movies"
|
||||
/>
|
||||
<KMenu type="main" context={movie} />
|
||||
{movie.tags.length > 0 && (
|
||||
<>
|
||||
<br />
|
||||
<HashTags tags={movie.tags} />
|
||||
</>
|
||||
)}
|
||||
<div class="px-8 text-white mt-10">
|
||||
<pre
|
||||
class="whitespace-break-spaces"
|
||||
|
||||
Reference in New Issue
Block a user