pub.solar/_includes/layouts/error.tsx
Benjamin Yule Bädorf e6279896d6
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
v2: initial commit
* Separate german and english language pages
* Add a services page with details per service
* Move hakken dates into the same container as the text
* Introductory text on the homepage
2024-03-06 16:34:00 +01:00

46 lines
931 B
TypeScript

import { md } from '../../filters.ts';
import Head from '../Head.tsx';
import Background from '../Background.tsx';
export default ({
title,
content,
code,
language,
otherLang,
baseURL,
theme,
extraStylesheets,
extraScripts,
cacheBust,
}) => <>
<html lang={language.slug}>
<Head
title={title}
theme={theme}
otherLang={otherLang}
baseURL={baseURL}
extraStylesheets={extraStylesheets}
cacheBust={cacheBust}
extraScripts={extraScripts}
/>
<body className="ps-main">
<Background />
<main className="ps-main--page ps-page ps-page_home">
<section
lang="en"
id="en"
className="ps-page--section"
>
<div
dangerouslySetInnerHTML={{ __html: md(content) }}
className="ps-page--section-contents"
></div>
</section>
</main>
</body>
</html>
</>;