www: refresh home page (#2418)
Overhauls the Fresh homepage with a new design, new demos, and new sections highlighting Fresh's capabilities. --------- Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
co-authored by
Marvin Hagemeister
parent
3b68a5d455
commit
e8d1a68b58
@@ -1,4 +1,6 @@
|
||||
import PropsDemo from "$fresh/tests/fixture_partials/routes/island_props_signals/index.tsx";
|
||||
import * as Icons from "./Icons.tsx";
|
||||
import { JSX } from "preact";
|
||||
|
||||
const LINKS = [
|
||||
{
|
||||
@@ -15,9 +17,11 @@ const LINKS = [
|
||||
},
|
||||
];
|
||||
|
||||
export default function Footer() {
|
||||
export default function Footer(props: JSX.HTMLAttributes<HTMLElement>) {
|
||||
return (
|
||||
<footer class="border-t-2 border-gray-200 md:h-16 flex mt-16 justify-center md:mx-16">
|
||||
<footer
|
||||
class={`border-t-2 border-gray-200 md:h-16 flex mt-16 justify-center md:mx-16 ${props.class}`}
|
||||
>
|
||||
<div class="flex flex-col sm:flex-row gap-4 justify-between items-center max-w-screen-xl mx-auto w-full sm:px-6 md:px-8 p-4">
|
||||
<div class="text-gray-600 text-center">
|
||||
<span>© {new Date().getFullYear()} the Fresh authors</span>
|
||||
|
||||
Reference in New Issue
Block a user