feat(SW-66, SW-348): search functionality and ui
This commit is contained in:
@@ -4,8 +4,8 @@ import { useRouter } from "next/navigation"
|
||||
import { Button } from "@scandic-hotels/design-system/current"
|
||||
|
||||
import { renderOptions as currentRenderOptions } from "@/components/Current/currentRenderOptions"
|
||||
import DeprecatedJsonToHtml from "@/components/DeprecatedJsonToHtml"
|
||||
import Image from "@/components/Image"
|
||||
import JsonToHtml from "@/components/JsonToHtml"
|
||||
|
||||
import { renderOptions } from "./renderOptions"
|
||||
|
||||
@@ -42,7 +42,7 @@ export default function Puff({
|
||||
/>
|
||||
))}
|
||||
<section className={styles.content}>
|
||||
<JsonToHtml
|
||||
<DeprecatedJsonToHtml
|
||||
embeds={[]}
|
||||
nodes={text.json.children}
|
||||
renderOptions={{ ...currentRenderOptions, ...renderOptions }}
|
||||
@@ -71,7 +71,7 @@ export default function Puff({
|
||||
<header>
|
||||
<h3 className={styles.heading}>{title}</h3>
|
||||
</header>
|
||||
<JsonToHtml
|
||||
<DeprecatedJsonToHtml
|
||||
embeds={[]}
|
||||
nodes={text.json.children}
|
||||
renderOptions={{ ...currentRenderOptions, ...renderOptions }}
|
||||
|
||||
Reference in New Issue
Block a user