mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Refactor TOC component to use Docusaurus Link for navigation
This commit is contained in:
parent
6d12161627
commit
4da2730607
1 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import React from 'react';
|
||||
import clsx from 'clsx';
|
||||
import TOCItems from '@theme/TOCItems';
|
||||
import Link from '@docusaurus/Link';
|
||||
import styles from './styles.module.css';
|
||||
|
||||
const LINK_CLASS_NAME = 'table-of-contents__link toc-highlight';
|
||||
|
|
@ -26,9 +27,9 @@ export default function TOC({ className, ...props }) {
|
|||
SSO/SAML, audit logs, spend tracking, multi-team management, and
|
||||
guardrails — built for production.
|
||||
</div>
|
||||
<a href="/docs/enterprise" className={styles.promoButton}>
|
||||
<Link to="/docs/enterprise" className={styles.promoButton}>
|
||||
Learn more →
|
||||
</a>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue