Update preview images

This commit is contained in:
2026-01-25 00:29:57 -05:00
parent e94efafa1a
commit f8f650813a
4 changed files with 20 additions and 7 deletions

View File

@@ -0,0 +1,9 @@
import { getFromCMS } from '$lib/utils.js';
const thumbnailQuery = `*[_type == "homepage"]{
"thumbnail": councilPhoto.asset->url+"?h=800&fm=webp",
}[0]`;
export const load = async () => {
return { thumbnail: (await getFromCMS(thumbnailQuery)).thumbnail };
};