add about page

This commit is contained in:
outfoxxed 2025-06-08 01:53:24 -07:00
parent 8fb7df4d6a
commit b69c1336c9
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 86 additions and 19 deletions

View file

@ -1,7 +1,5 @@
---
import DocsLayout from "@layouts/DocsLayout.astro";
import TOC from "@components/navigation/sidebars/TOC.astro";
import TOCIntersectionObserver from "@src/components/hooks/TOCIntersectionObserver.astro";
import GuideLayout from "@layouts/GuideLayout.astro";
import { getCollection, render } from "astro:content";
@ -17,14 +15,6 @@ export async function getStaticPaths() {
const { page } = Astro.props;
const { Content, headings } = await render(page);
---
<DocsLayout title={page.data.title} description="" headings={headings}>
<div class="docs">
<div class="docs-content">
<hr>
<Content/>
</div>
<TOC mobile={false} headings={headings} data-pagefind-ignore/>
</div>
</DocsLayout>
<TOCIntersectionObserver/>
<GuideLayout title={page.data.title} description="" headings={headings}>
<Content/>
</GuideLayout>