pub.solar/_includes/layouts/homepage.tsx

40 lines
941 B
TypeScript

import {
title as titleFilter,
en,
de,
md,
} from '../../filters.ts';
import Head from '../Head.tsx';
import Background from '../Background.tsx';
export default ({
title,
theme,
extraStylesheets,
links,
cssCacheBust,
}) => <>
<html>
<Head
title={title}
theme={theme}
extraStylesheets={extraStylesheets}
cssCacheBust={cssCacheBust}
/>
<body className="ps-main">
<Background />
<main className="ps-main--page ps-page ps-page_home">
{links.map(({ href, title }) =>
<a href={href} target="_blank" className="ps-page--link">{title}</a>
)}
<footer className="ps-footer">
<a
href="https://www.thegreenwebfoundation.org/green-web-check/?url=https%3A%2F%2Fpub.solar"
className="ps-footer--link"
>climate-neutral hosting by Greenbaum Cloud</a>
</footer>
</main>
</body>
</html>
</>;