Content retrival on all pages

This commit is contained in:
Antoine Phan
2025-06-05 17:51:43 +01:00
committed by Antoine Phan
parent dec7e70c43
commit 7ead9f397c
8 changed files with 65 additions and 16 deletions

View File

@@ -5,6 +5,9 @@ const query = `*[_type == "homepage"].description[].children[].text`;
export const load = async () => {
return {
description: await getFromCMS(query)
description: await getFromCMS(query),
ohs: "",
pictures: "",
FAQs: "",
};
};