diff --git a/src/components/DiagramViewer.astro b/src/components/DiagramViewer.astro new file mode 100644 index 0000000..084882a --- /dev/null +++ b/src/components/DiagramViewer.astro @@ -0,0 +1,148 @@ + + + + Diagram + + − + 100% + + + Fit + 100% + Close × + + + Zoom in for details. Scroll to explore. Press Esc to close. + + + + + + + + + diff --git a/src/pages/blog/[slug].astro b/src/pages/blog/[slug].astro index bf7302b..8ac0039 100644 --- a/src/pages/blog/[slug].astro +++ b/src/pages/blog/[slug].astro @@ -1,6 +1,7 @@ --- import BaseLayout from "../../layouts/BaseLayout.astro"; import TableOfContents from "../../components/TableOfContents"; +import DiagramViewer from "../../components/DiagramViewer.astro"; import PostTagStrip from "../../components/PostTagStrip"; import { getPosts } from "../../utils/posts"; import { render } from "astro:content"; @@ -101,6 +102,7 @@ const isoDate = +
Zoom in for details. Scroll to explore. Press Esc to close.