Make Zyphos site a single graph app

This commit is contained in:
Meta Vens 2026-05-18 04:57:08 +01:00
commit dc87702cc1
6 changed files with 88 additions and 32 deletions

View file

@ -0,0 +1,13 @@
import { QuartzComponent, QuartzComponentConstructor } from "./types"
export default (() => {
const ZyphosGraphShell: QuartzComponent = () => (
<>
<link rel="stylesheet" href="/static/epiphany-graph/assets/viewer.css" />
<div class="zyphos-epiphany-graph-root"></div>
<script type="module" src="/static/epiphany-graph/assets/viewer.js"></script>
</>
)
return ZyphosGraphShell
}) satisfies QuartzComponentConstructor