Make Zyphos site a single graph app
This commit is contained in:
parent
799303b847
commit
dc87702cc1
6 changed files with 88 additions and 32 deletions
13
site/quartz/components/ZyphosGraphShell.tsx
Normal file
13
site/quartz/components/ZyphosGraphShell.tsx
Normal 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
|
||||
Loading…
Reference in a new issue