fix(www): Add a global nav (#895)
This commit is contained in:
+8
-10
@@ -9,6 +9,7 @@ import CopyArea from "../islands/CopyArea.tsx";
|
||||
import * as Icons from "../components/Icons.tsx";
|
||||
import Projects from "../components/Projects.tsx";
|
||||
import projects from "../data/showcase.json" assert { type: "json" };
|
||||
import Header from "../components/Header.tsx";
|
||||
|
||||
export const handler: Handlers = {
|
||||
GET(req, ctx) {
|
||||
@@ -43,9 +44,14 @@ export default function MainPage(props: PageProps) {
|
||||
<meta property="og:url" content={props.url.href} />
|
||||
<meta property="og:image" content={ogImageUrl} />
|
||||
</Head>
|
||||
|
||||
<div class="flex flex-col min-h-screen">
|
||||
<HelloBar />
|
||||
<Hero />
|
||||
<div class="bg-green-300 flex flex-col">
|
||||
<HelloBar />
|
||||
<Header title="" active="/" />
|
||||
|
||||
<Hero />
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<Intro />
|
||||
<GettingStarted origin={origin} />
|
||||
@@ -75,14 +81,6 @@ function HelloBar() {
|
||||
function Hero() {
|
||||
return (
|
||||
<>
|
||||
<div class="flex justify-end items-center bg-green-300">
|
||||
<a
|
||||
href="/docs"
|
||||
class="border(1 black) inline-flex items-center h-10 px-4 m-4 text-black bg-transparent rounded hover:bg-white"
|
||||
>
|
||||
Documentation
|
||||
</a>
|
||||
</div>
|
||||
<section class="w-full flex justify-center items-center flex-col bg-green-300">
|
||||
<LemonDrop />
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user