feat: add docs section to website (#108)
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { h, tw } from "../client_deps.ts";
|
||||
|
||||
const LINKS = [
|
||||
{
|
||||
title: "Source",
|
||||
href: "https://github.com/lucacasonato/fresh",
|
||||
},
|
||||
];
|
||||
|
||||
export default function Footer() {
|
||||
const footer = tw
|
||||
`border(t-2 gray-200) bg-gray-100 h-32 flex flex-col gap-4 justify-center`;
|
||||
const inner = tw
|
||||
`mx-auto max-w-screen-lg flex items-center justify-center gap-8`;
|
||||
const linkStyle = tw`text-gray-600 hover:underline`;
|
||||
const copyright = tw`text(gray-600 center)`;
|
||||
return (
|
||||
<footer class={footer}>
|
||||
<div class={inner}>
|
||||
{LINKS.map((link) => (
|
||||
<a href={link.href} class={linkStyle}>
|
||||
{link.title}
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
<div class={copyright}>
|
||||
<span>© {new Date().getFullYear()} the fresh authors</span>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user