* dont render DocumentNav if there are no headings on a page
* Fix layout of elements in [...slug].tsx
* fix header
* fix span overflow
* prettier
* fix: missing white-space on pre tags
* fix: parsedHeadings bug
Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
* Add hidden skip to content for keyboard a11y
* update green.900 value
used for button background; increases contrast ratio
* adjusts light primary to green.700 for contrast
Improves contrast ratio when paired with yellow.50 and removes browser a11y warnings
* add aria-labels
* add lang to html element
* fix improperly ordered headers
We should not be using headers (h4/h5) for these aside navigations. Updated to remove browser warnings.
* add remaining aria-label
* add aria-label for mobile menu
* expand parseHeadingId
Will produce a kebab-case heading ID from string if none explicitly declared in the markdown. Always returns an object with the children, title and headingId.
* remove redundant code from MDComponents.tsx
parseHeadingIds now always returns an object with an ID, removing need for conditionals here
* Use Box instead of flex Stack for MDX content
Allows stacked vertical margins to properly collapse into each other
* fix: h2 top margin to 3rem on mobile
* remove unneeded line
* extract and rename getKebabCaseFromName util fn
* Update src/pages/[...slug].tsx
* Update src/utils/parseHeadingId.ts
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
* move constant inside function
make variable name all caps as a string constant
* clean up utils/index.ts to abc order
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
* use long month formatting for last edit date
* last -> Last
* Update src/pages/[...slug].tsx
Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
Co-authored-by: Nicolás Quiroz <nh.quiroz@gmail.com>
* add gap between md content and right nav
* shorten max width of right nav divider
* make DocumentNav width responsive
Existing fixed width was too large after the 2rem of padding was added. Simply making it more narrow made it unnecessarily small on larger screen sizes. Clamp sets a min of chakra-size-40, max of chakra-size-58, while targeting an eighth of the screen width.
* crawl files and create directory tree for sidebar
* dropdown
* Working on dropdown links and styling
* setup header nav
* Styles
* DocumentNav sidebar done
* wrap up header sidebar
* setup top level nav
* update root level data and fix link bug
* doc links yaml
* nav links for docs
* remove character
* prettier
* fix build error
* MDX style
* Update src/components/UI/docs/DocsLinks.tsx
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
* Abstract LinksList component into its own file
* change requests
* AccordionButton styles
* AccordionButton styled
* fix broken links
* prettier
* prettier
* fix broken default code snippet
* fix accordion spacing
* fix gap at top of DocsNav lg
* fix but of persistent header link
* remove test content
* setup Notes and prettier
* rehype
* Note component
* Note font styling
* convert old notes to use component
* Breadcrumb cleanup and prettier
* MDXComponents -> MDComponent and documentation
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
* chore: remove test data
* chore: update constants
* chore: update types
* chore: update code-bg dark color
* feat: use real data for OpenPGP Signatures table
* chore: remove unused types
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>