Make first test for photos

This commit is contained in:
itsfinniii
2026-04-26 22:26:51 +02:00
parent 092d2a4458
commit fdc8a0aae6
5 changed files with 77 additions and 5 deletions

View File

@@ -15,6 +15,7 @@ import CategoryIndex from "@/components/photos/CategoryIndex.astro";
import Category from "@/components/photos/Category.astro";
import AlbumPage from "@/components/photos/Album.astro";
import { getImageUrl } from "@/lib/images";
import Photo from "@/components/photos/Photo.astro";
export async function getStaticPaths() {
const settings = await getSettings();
@@ -176,7 +177,7 @@ if (page === null || page.page === null || !page.page.exists) {
}
}}}>
<Fragment slot="content">
<div>{JSON.stringify(page.page)}</div>
<Photo page={page.page} />
</Fragment>
</PhotoLayout>
) }