feat(SW-190): added hero to static content pages

This commit is contained in:
Erik Tiekstra
2024-08-14 09:29:00 +02:00
parent f1ca9a0704
commit 8220a39a8f
23 changed files with 351 additions and 64 deletions

View File

@@ -0,0 +1,9 @@
import { insertResponseToImageVaultAsset } from "@/utils/imageVault"
import { InsertResponse } from "@/types/components/imageVaultImage"
export function makeImageVaultImage(image: any) {
return image && !!Object.keys(image).length
? insertResponseToImageVaultAsset(image as InsertResponse)
: undefined
}