Files
sweet/www/components/Footer.tsx
T
Luca Casonato b12867a582 feat: support JSX automatic mode (#610)
This commit adds support for JSX automatic mode instead of the default
mode that requires the presence of the JSX pragma in each file.

This commit also adds the config file to the `fresh.gen.ts` manifest,
which is used to determine if the client emit should use automatic mode.

The minimum Deno version has also been bumped to 1.25.0.
2022-08-26 11:03:00 +02:00

32 lines
841 B
TypeScript

const LINKS = [
{
title: "Source",
href: "https://github.com/denoland/fresh",
},
{
title: "License",
href: "https://github.com/denoland/fresh/blob/main/LICENSE",
},
{
title: "Code of Conduct",
href: "https://github.com/denoland/fresh/blob/main/CODE_OF_CONDUCT.md",
},
];
export default function Footer() {
return (
<footer class="border(t-2 gray-200) bg-gray-100 h-32 flex flex-col gap-4 justify-center">
<div class="mx-auto max-w-screen-lg flex items-center justify-center gap-8">
{LINKS.map((link) => (
<a href={link.href} class="text-gray-600 hover:underline">
{link.title}
</a>
))}
</div>
<div class="text(gray-600 center)">
<span>© {new Date().getFullYear()} the fresh authors</span>
</div>
</footer>
);
}