pub.solar/_includes/layouts/homepage.tsx
Benjamin Bädorf d6bfc32465
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
chore: update about, remove greenbaum references
2023-11-15 16:45:27 +01:00

37 lines
757 B
TypeScript

import Head from '../Head.tsx';
import Background from '../Background.tsx';
export default ({
title,
content,
links,
theme,
extraStylesheets,
extraScripts,
cacheBust,
}) => <>
<html>
<Head
title={title}
theme={theme}
extraStylesheets={extraStylesheets}
cacheBust={cacheBust}
extraScripts={extraScripts}
/>
<body className="ps-main">
<Background />
<main className="ps-main--page ps-page ps-page_home">
{links.map(({ href, title, openInNewTab }) =>
<a
href={href}
target={openInNewTab ? '_blank' : '_self'}
className="ps-page--link"
key={href}
>{title}</a>
)}
</main>
</body>
</html>
</>;