---
import Base from "src/layout/Base.astro"
import Carousel from "@components/photos/carousel"
import { authPB } from 'src/utils/pocketbase'
export const prerender = false
const pb = await authPB()
const photos = await pb.collection('photos').getFullList({
sort: '-created'
})
---
{photos[0].title === "" ? "Untitled" : photos[0].title}
📸 {photos[0].camera}
{photos[0].film !== "" ? `🎞️ ${photos[0].film}` : ""}
📌 {photos[0].location}
of