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
@@ -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} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user