-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
254 additions
and
58 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,45 @@ | ||
--- | ||
import DocBrowser from '@/components/DocBrowser.astro'; | ||
import DocContents from '@/components/DocContents.astro'; | ||
import Base from "@/layouts/Base.astro"; | ||
import { getSinglePage } from "@/lib/contentParser.astro"; | ||
import PageHeader from "@/components/PageHeader.astro"; | ||
import { getEntryBySlug } from "astro:content"; | ||
--- | ||
|
||
<Base title={"Docs"}> | ||
<PageHeader title={"Docs"} /> | ||
<!-- <PageHeader title={"Docs"} /> | ||
<section class="section-sm pb-0"> | ||
<div class="container"> | ||
|
||
<h1>Documentation lives here.</h1> | ||
</div> | ||
</section> --> | ||
<section class="section pt-7"> | ||
<div class="container"> | ||
<div class="row justify-center"> | ||
<div class="grid grid-cols-12"> | ||
<!-- Document Browser (Left) --> | ||
<div class="col-span-3 sticky top-0 h-screen flex"> | ||
<div class="ml-auto"> | ||
<DocBrowser currentPage={null} /> | ||
</div> | ||
</div> | ||
<!-- Content --> | ||
<main class="py-4 px-8 pb-32 col-span-6 overflow-auto"> | ||
<article> | ||
<h1 class="mb-4">{ "Docs" }</h1> | ||
<div class="content mb-10"> | ||
<p class="mb-4"> | ||
{ "Documentation lives here." } | ||
</p> | ||
</div> | ||
</article> | ||
</main> | ||
<!-- Document Contents (Right) --> | ||
<div class="col-span-3 sticky top-0 h-screen flex"> | ||
<DocContents headings={null} /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</Base> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// https://blog.otterlord.dev/posts/astro-search/ | ||
import type { APIContext } from "astro" | ||
|
||
export async function GET({}: APIContext) { | ||
return { | ||
body: 'export const search = () => {return {results: []}}' | ||
} | ||
} |
Oops, something went wrong.