feat(SW-190): added hero to static content pages
This commit is contained in:
@@ -9,7 +9,6 @@ import TrackingSDK from "@/components/TrackingSDK"
|
||||
|
||||
import styles from "./loyaltyPage.module.css"
|
||||
|
||||
import { ImageVaultAsset } from "@/types/components/imageVaultImage"
|
||||
import type { LangParams } from "@/types/params"
|
||||
|
||||
export default async function LoyaltyPage({ lang }: LangParams) {
|
||||
@@ -20,7 +19,7 @@ export default async function LoyaltyPage({ lang }: LangParams) {
|
||||
}
|
||||
|
||||
const { tracking, loyaltyPage } = loyaltyPageRes
|
||||
const heroImage: ImageVaultAsset = loyaltyPage.header?.hero_image
|
||||
const heroImage = loyaltyPage.hero_image
|
||||
return (
|
||||
<>
|
||||
<section className={styles.content}>
|
||||
|
||||
Reference in New Issue
Block a user