summaryrefslogtreecommitdiff
path: root/examples/docs/src/components/RightSidebar/RightSidebar.astro
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2023-06-06 11:21:19 -0500
committerGravatar GitHub <noreply@github.com> 2023-06-06 11:21:19 -0500
commit5ed2a2f666707e579e18f2890ab89b7cc6f717c3 (patch)
tree9895d49bc5bd33a63ff0f2e94053e771a54b9dc4 /examples/docs/src/components/RightSidebar/RightSidebar.astro
parentd5a089810f8218f694ac56591648d36051708560 (diff)
downloadastro-5ed2a2f666707e579e18f2890ab89b7cc6f717c3.tar.gz
astro-5ed2a2f666707e579e18f2890ab89b7cc6f717c3.tar.zst
astro-5ed2a2f666707e579e18f2890ab89b7cc6f717c3.zip
chore: remove docs example (#7306)
Diffstat (limited to 'examples/docs/src/components/RightSidebar/RightSidebar.astro')
-rw-r--r--examples/docs/src/components/RightSidebar/RightSidebar.astro34
1 files changed, 0 insertions, 34 deletions
diff --git a/examples/docs/src/components/RightSidebar/RightSidebar.astro b/examples/docs/src/components/RightSidebar/RightSidebar.astro
deleted file mode 100644
index 2a7190e50..000000000
--- a/examples/docs/src/components/RightSidebar/RightSidebar.astro
+++ /dev/null
@@ -1,34 +0,0 @@
----
-import type { MarkdownHeading } from 'astro';
-import TableOfContents from './TableOfContents';
-import MoreMenu from './MoreMenu.astro';
-
-type Props = {
- headings: MarkdownHeading[];
- githubEditUrl: string;
-};
-
-const { headings, githubEditUrl } = Astro.props;
----
-
-<nav class="sidebar-nav" aria-labelledby="grid-right">
- <div class="sidebar-nav-inner">
- <TableOfContents client:media="(min-width: 50em)" headings={headings} />
- <MoreMenu editHref={githubEditUrl} />
- </div>
-</nav>
-
-<style>
- .sidebar-nav {
- width: 100%;
- position: sticky;
- top: 0;
- }
-
- .sidebar-nav-inner {
- height: 100%;
- padding: 0;
- padding-top: var(--doc-padding);
- overflow: auto;
- }
-</style>