Skip to content

Commit

Permalink
dd checks in seo (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
anemne authored Nov 26, 2024
1 parent 40f6166 commit 94ac2ce
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/utils/seo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,16 @@ export function seoDataFromCustomerCase(customerCase: CustomerCaseDocument) {
keywords: [
customerCase.projectInfo.customer,
customerCase.projectInfo.sector,
customerCase.projectInfo.deliveries.projectManagement.map(
(d) => d.projectManagementDelivery,
),
customerCase.projectInfo.deliveries.design.map((d) => d.designDelivery),
customerCase.projectInfo.deliveries.development.map(
(d) => d.developmentDelivery,
),
customerCase.projectInfo.deliveries.projectManagement &&
customerCase.projectInfo.deliveries.projectManagement.map(
(d) => d.projectManagementDelivery,
),
customerCase.projectInfo.deliveries.design &&
customerCase.projectInfo.deliveries.design.map((d) => d.designDelivery),
customerCase.projectInfo.deliveries.development &&
customerCase.projectInfo.deliveries.development.map(
(d) => d.developmentDelivery,
),
].join(","),
};
}

0 comments on commit 94ac2ce

Please sign in to comment.