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
+4 -6
View File
@@ -10,7 +10,7 @@ export default function Header(props: { title: string; active: string }) {
{isDocs
? (
<header
class={" top-0 w-full bg-white mx-auto max-w-screen-xl flex gap-3 items-center " +
class={" top-0 w-full bg-transparent mx-auto max-w-screen-xl flex gap-3 items-center " +
"justify-between md:justify-end"}
f-client-nav={false}
>
@@ -19,12 +19,12 @@ export default function Header(props: { title: string; active: string }) {
<DocsTitle />
</div>
<NavigationBar class="hidden md:flex" active={props.active} />
<NavigationBar class="" active={props.active} />
</header>
)
: (
<header
class={"mx-auto max-w-screen-xl flex gap-3 items-center " +
class={"h-20 mx-auto max-w-screen-xl flex gap-3 items-center " +
(isHome ? "justify-end" : "justify-between")}
f-client-nav={false}
>
@@ -34,11 +34,9 @@ export default function Header(props: { title: string; active: string }) {
<DocsTitle />
</div>
)}
<NavigationBar class="hidden md:flex" active={props.active} />
<NavigationBar class="" active={props.active} />
</header>
)}
<NavigationBar class="md:hidden pb-3" active={props.active} />
</>
);
}