feat(WEB-93): add Header to CMS and render it in Next
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { renderOptions } from "./renderOptions"
|
||||
|
||||
import Image from "@/components/Image"
|
||||
import JsonToHtml from "@/components/JsonToHtml"
|
||||
import Link from "next/link"
|
||||
|
||||
import styles from "./puff.module.css"
|
||||
|
||||
import type { PuffProps } from "@/types/components/current/asides/puff"
|
||||
import Image from "@/components/Image"
|
||||
|
||||
export default function Puff({
|
||||
imageConnection,
|
||||
@@ -22,7 +22,7 @@ export default function Puff({
|
||||
return null
|
||||
}
|
||||
return (
|
||||
<Link className={styles.link} href={page.node.url}>
|
||||
<Link className={styles.link} href={`/${page.node.system.locale}${page.node.url}`}>
|
||||
<PuffContent
|
||||
imageConnection={imageConnection}
|
||||
text={text}
|
||||
|
||||
Reference in New Issue
Block a user