2023-04-19 22:44:06 +02:00
|
|
|
const PageHeader = (entry) => {
|
|
|
|
return h(
|
|
|
|
"section",
|
|
|
|
{
|
|
|
|
key: "page-header",
|
|
|
|
className: "page-title-section overlay",
|
|
|
|
style: {
|
|
|
|
backgroundImage:
|
2023-05-27 21:49:58 +02:00
|
|
|
'url("/media/titelbild.webp"),url("/media/titelbild.webp")',
|
2023-04-19 22:44:06 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
h(
|
|
|
|
"div",
|
|
|
|
{ className: "container" },
|
|
|
|
h(
|
|
|
|
"div",
|
|
|
|
{ className: "row" },
|
|
|
|
h(
|
|
|
|
"div",
|
|
|
|
{ className: "col-md-8 position-relative" },
|
|
|
|
h(
|
|
|
|
"ul",
|
|
|
|
{ className: "list-inline" },
|
|
|
|
h(
|
|
|
|
"li",
|
|
|
|
{ className: "list-inline-item h2" },
|
|
|
|
h(
|
|
|
|
"font",
|
|
|
|
{ className: "text-primary font-secondary", href: "" },
|
|
|
|
"Startseite"
|
|
|
|
)
|
|
|
|
),
|
|
|
|
h(
|
|
|
|
"li",
|
|
|
|
{ className: "list-inline-item h2" },
|
|
|
|
h("i", { className: "mdi mdi-chevron-double-right text-white" })
|
|
|
|
),
|
|
|
|
h(
|
|
|
|
"li",
|
|
|
|
{ className: "list-inline-item text-white h2 font-secondary" },
|
|
|
|
entry.data.title
|
|
|
|
)
|
|
|
|
),
|
|
|
|
h("p", { className: "text-lighten" }, entry.data.description)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default PageHeader;
|