Add page routing and content fetchers

This commit is contained in:
itsfinniii
2026-03-15 18:55:30 +01:00
parent bc11be5669
commit 21d5ba23a4
22 changed files with 923 additions and 9 deletions

View File

@@ -0,0 +1,51 @@
query getPhotos {
Photo_Albums(sort: ["-start_date", "-date_created"], filter: { status: { _eq: "published" }, url: { _eq: "/mirai-nexus-2026" }, category: { Photo_Categories_id: { status: { _eq: "published" } } } }) {
id,
date_created,
date_updated,
title,
description,
url,
thumbnail {
id,
created_on,
filename_download,
width,
height
},
start_date,
end_date,
location,
category {
Photo_Categories_id {
id,
status,
date_created,
date_updated,
title,
url,
thumbnail {
id,
created_on,
filename_download,
width,
height
}
}
},
photos(filter: { status: { _eq: "published" } }) {
id,
date_created,
date_updated,
photo {
id,
created_on,
filename_disk,
width,
height
},
text,
sort
}
}
}