diff --git a/app/admin/recipe/page.tsx b/app/admin/recipe/page.tsx index 8401a97c..2237b8a0 100644 --- a/app/admin/recipe/page.tsx +++ b/app/admin/recipe/page.tsx @@ -1,7 +1,38 @@ import { getPhotos } from '@/photo/db/query'; -import { redirect } from 'next/navigation'; +import PhotoRecipeOverlay from '@/photo/PhotoRecipeOverlay'; export default async function AdminRecipePage() { - const photos = await getPhotos({ limit: 1}); - redirect(`/admin/recipe/${photos[0].id}`); + const photos = await getPhotos({ tag: 'favs', limit: 4}); + const photosHidden = await getPhotos({ hidden: 'only', limit: 1 }); + const { filmSimulation } = photosHidden[0]; + const { fujifilmRecipe } = photosHidden[0]; + return ( +