fix(www): Add a global nav (#895)

This commit is contained in:
hashrock
2022-12-02 01:04:37 +09:00
committed by GitHub
parent 79e9ad017e
commit a0e3b91196
8 changed files with 88 additions and 85 deletions
+2 -4
View File
@@ -1,8 +1,7 @@
import { Head } from "$fresh/runtime.ts";
import Projects, { Project } from "../components/Projects.tsx";
import DocsHeader from "../components/DocsHeader.tsx";
import Header from "../components/Header.tsx";
import Footer from "../components/Footer.tsx";
import NavigationBar from "../components/NavigationBar.tsx";
import projects from "../data/showcase.json" assert { type: "json" };
export default function ShowcasePage() {
@@ -11,8 +10,7 @@ export default function ShowcasePage() {
<Head>
<title>Showcase | fresh</title>
</Head>
<DocsHeader title="showcase" />
<NavigationBar active="/showcase" />
<Header title="showcase" active="/showcase" />
<div class="flex flex-col min-h-screen">
<div class="flex-1">