+ {/*
-
) : (
)}
@@ -160,7 +186,7 @@ export function Documentation({
href={`#${section.slug}`}
// onClick={closeNav}
className={clsx(
- 'toc-anchor block py-1',
+ 'block py-1 toc-anchor',
pageHasSubsections ? 'font-medium' : '',
isActive(section)
? 'font-medium text-sky-500 dark:text-sky-400'
@@ -179,7 +205,7 @@ export function Documentation({
href={`#${subsection.slug}`}
// onClick={closeNav}
className={clsx(
- 'toc-anchor group flex items-start py-1',
+ 'flex items-start py-1 toc-anchor group',
isActive(subsection)
? 'text-sky-500 dark:text-sky-400'
: 'hover:text-slate-900 dark:text-slate-400 dark:hover:text-slate-300'
@@ -192,7 +218,7 @@ export function Documentation({
width="3"
height="24"
viewBox="0 -9 3 24"
- className="mr-2 overflow-visible text-slate-400 group-hover:text-slate-600 dark:text-slate-600 dark:group-hover:text-slate-500"
+ className="overflow-visible mr-2 text-slate-400 group-hover:text-slate-600 dark:text-slate-600 dark:group-hover:text-slate-500"
>
{frontmatter.se}
*/}
{frontmatter.section}
@@ -101,10 +103,10 @@ export function Documentation({-
+
- Previous +
- Previous
- -
- Next +
- Next
- {/* Hack to get some space at the bottom of the page */} - +
-
{prev && (
-
{/* eslint-disable-next-line multiline-ternary */}
{frontmatter.toc ? (
@@ -142,12 +144,36 @@ export function Documentation({
-
+
- {section} - )} -
- {title} +
- {title}
- Journal Stack Home
-
{section && (
-
+
-
+
-
+
setNavIsOpen(false)}>
-