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:
Josh Collinsworth
2024-05-17 16:08:55 +02:00
committed by GitHub
co-authored by Marvin Hagemeister
parent 3b68a5d455
commit e8d1a68b58
55 changed files with 1206 additions and 346 deletions
+22
View File
@@ -0,0 +1,22 @@
import { PageProps } from "$fresh/server.ts";
import { Head } from "$fresh/runtime.ts";
import Header from "$fresh/www/components/Header.tsx";
export default function Layout({ Component, state }: PageProps) {
return (
<>
<Head>
<meta name="robots" content="noindex" />
</Head>
<Header active="" title="" />
<div class="w-full max-w-screen-xl px-4">
<Component />
<p class="mt-16">
This route is used only for demo purposes;{" "}
<a href="/" class="underline">see the home page</a>.
</p>
</div>
</>
);
}