From 32f719a3de8969d674f609869d406a0a91f6d1f0 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Thu, 3 Jul 2025 19:23:17 +0300 Subject: Remove TOC --- src/components/blog/TOCHeading.astro | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/components/blog/TOCHeading.astro (limited to 'src/components/blog/TOCHeading.astro') diff --git a/src/components/blog/TOCHeading.astro b/src/components/blog/TOCHeading.astro deleted file mode 100644 index b9dd486..0000000 --- a/src/components/blog/TOCHeading.astro +++ /dev/null @@ -1,27 +0,0 @@ ---- -import type { TocItem } from "@/utils/generateToc"; - -interface Props { - heading: TocItem; -} - -const { - heading: { children, depth, slug, text }, -} = Astro.props; ---- - -
  • 2 ? "ms-2" : ""}`}> - {text} - { - !!children.length && ( -
      - {children.map((subheading) => ( - - ))} -
    - ) - } -
  • -- cgit v1.2.3