From de55d80deeb8ae93920bc939d41a2f6e70988be1 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Wed, 29 Nov 2023 22:50:51 +0100 Subject: [PATCH] docs: improve design (#2097) --- www/components/Footer.tsx | 2 +- www/components/NavigationBar.tsx | 2 +- www/deno.json | 2 +- www/fresh.gen.ts | 2 + www/islands/TableOfContents.tsx | 179 +++++++++++++++++++++++++++++++ www/routes/docs/[...slug].tsx | 113 +++++++++++-------- www/static/icons.svg | 8 ++ www/static/markdown.css | 48 ++++++--- www/utils/markdown.ts | 15 ++- 9 files changed, 306 insertions(+), 65 deletions(-) create mode 100644 www/islands/TableOfContents.tsx diff --git a/www/components/Footer.tsx b/www/components/Footer.tsx index 47ef10e7..9411c12a 100644 --- a/www/components/Footer.tsx +++ b/www/components/Footer.tsx @@ -17,7 +17,7 @@ const LINKS = [ export default function Footer() { return ( -