Search Engine Optimization

This commit is contained in:
Antoine Phan
2025-08-25 11:35:18 -04:00
parent 9acc9b1ae1
commit e4c86384dc
12 changed files with 73 additions and 22 deletions

View File

@@ -23,7 +23,7 @@ const sponsorQuery = `*[_type=="sponsors"]{
"logo": logo.asset->url+"?h=100&fm=webp"
}`;
export const load = async () => {
export const load = async ({url}) => {
/**
* @description Response data type based on the `homepageQuery` above.
* Note that `description` is a rich/portable text type
@@ -37,6 +37,7 @@ export const load = async () => {
councilPhoto: homepageResp.councilPhoto,
faqs: homepageResp.faqs,
allOHs: officeHourResp,
sponsors: sponsorsResp
sponsors: sponsorsResp,
canonical: url.href
};
};