Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

954 B
Raw Blame
---
import MobileTableOfContents from 'virtual:starlight/components/MobileTableOfContents';
import TableOfContents from 'virtual:starlight/components/TableOfContents';

import PageTools from './PageTools.astro';

// Starlight's page sidebar with the page tools around its table of contents. Below the `lg` breakpoint the rail is
// hidden, the table of contents collapses into the mobile control, and the footer shows the page tools instead.
---

{
  Astro.locals.starlightRoute.toc && (
    <>
      <div class="lg:sl-hidden">
        <MobileTableOfContents />
      </div>
      <div class="right-sidebar-panel sl-hidden lg:sl-block">
        <div class="sl-container">
          <PageTools instance="rail">
            <TableOfContents />
          </PageTools>
        </div>
      </div>
    </>
  )
}

<style>
  .right-sidebar-panel {
    padding: 2rem 1.25rem;
  }

  .sl-container {
    width: calc(var(--docs-rail-width) - 2.5rem);
  }
</style>