2023-04-19 22:44:06 +02:00
|
|
|
import { PageHeader } from "./components/index.js";
|
|
|
|
|
|
|
|
const PagePreview = ({ widgetFor, entry }) => {
|
2023-05-29 16:22:34 +02:00
|
|
|
return [
|
|
|
|
PageHeader(entry),
|
|
|
|
h(
|
|
|
|
"section",
|
2023-06-11 21:13:11 +02:00
|
|
|
{ className: "section" },
|
2023-05-29 16:22:34 +02:00
|
|
|
h(
|
|
|
|
"div",
|
|
|
|
{ className: "container" },
|
|
|
|
h(
|
|
|
|
"div",
|
|
|
|
{ className: "row" },
|
|
|
|
h(
|
|
|
|
"div",
|
|
|
|
{ className: "col-12" },
|
|
|
|
h("div", { className: "content" }, widgetFor("body"))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
),
|
|
|
|
];
|
2023-04-19 22:44:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
export default PagePreview;
|