pub.solar/_includes/layouts/homepage.tsx

50 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Head from '../Head.tsx';
import Background from '../Background.tsx';
export default ({
title,
content,
links,
theme,
extraStylesheets,
extraScripts,
cacheBust,
showHakkenDates,
}) => <>
<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">
<section className="ps-page--banner">
<div className="ps-page--banner-contents">
A few of our services are currently down due to an incident in one of our datacenters. We hope to bring them back up soon.
</div>
</section>
{links.map(({ href, title, openInNewTab }) =>
<a
href={href}
target={openInNewTab ? '_blank' : '_self'}
className="ps-page--link"
key={href}
>{title}</a>
)}
<footer className="ps-footer">
<a
href="https://greenbaum.cloud"
className="ps-page--link ps-footer--link"
>climate-neutral hosting by Greenbaum Cloud</a>
</footer>
</main>
</body>
</html>
</>;