The home page context is quite different from regular pages and
sections, so rendering the menu doesn't seem necessary. All the relevant
navigation is available in the main ui.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Provides a more stable experience than `optional`, as it doesn't let the
browser decide whether or not to apply the font.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit adds support for icon optimization using inline svgs,
improving site performance.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Having `font-display: swap` caused FOUT, swapping to `optional` improves
the experience with graceful degradation.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Removes the alpine.js components for the sidebar, and uses vanilla
eventlisteners instead. Also moved off javascript for handling the
expanse/collapse display, in favor of using css only.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Strings containing subelements would be misaligned compared to the plain
text. Added centering w/ flexbox just to get it to look right in case
the rendered strings contained html.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
- Refactoring styles to prevent unwanted specificity issues by using
tailwind directives
- Improve color consistency for code blocks and other components by
replacing adhoc hex values with theme colors
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
* cli: use the new add-host separator
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
* update organization admin sections
* update company sections and move faqs
* add create company steps and clean up overview
* update faq paths in tiles and add ea banner to admin tab
* fix spaces and update admin console references
* update banner message, clarify content, and streamline onboarding guide
---------
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
h1 elements with IDs need a scroll margin to account for the header and
margin height. These anchors are linked automatically by Algolia.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Wraps the entry title in a span element so that we can have a single
querySelector to get the textContent of the title of a top-level toc
item of a page:
document.querySelector("#sectiontree li:has([aria-current]) :is(a, button) span")
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>