Skip to content

Commit

Permalink
change name of the component
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusflorescu committed Jan 23, 2022
1 parent 7445b76 commit a446514
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/docs/src/components/index.ts
Expand Up @@ -14,7 +14,7 @@ export { default as Playground } from './playground';
export { default as Anchor } from './anchor';
export { default as MDXComponents } from './mdx';
export { default as TableOfContent } from './table-of-content';
export { default as Sticky } from './fixed';
export { default as Fixed } from './fixed';
export { default as PageNav } from './page-nav';
export { default as DotsContainer } from './dots-container';
export { default as Palette } from './palette';
Expand Down
10 changes: 5 additions & 5 deletions apps/docs/src/layouts/docs.tsx
Expand Up @@ -9,7 +9,7 @@ import { Link } from '@nextui-org/react';
import { Heading, getHeadings } from '@utils/get-headings';
import { MetaProps } from '@lib/docs/meta';
import Header from '@layouts/header';
import { Sticky, PageNav } from '@components';
import { Fixed, PageNav } from '@components';
import { REPO_NAME, GITHUB_URL } from '@lib/github/constants';
import { TAG, CONTENT_PATH } from '@lib/docs/config';
import { StyledImg } from '@primitives';
Expand Down Expand Up @@ -65,7 +65,7 @@ const DocsLayout: React.FC<React.PropsWithChildren<Props>> = ({
}}
>
<Col css={{ width: '28%' }}>
<Sticky
<Fixed
offset={92}
className="docs__left-sidebar"
css={{
Expand All @@ -81,7 +81,7 @@ const DocsLayout: React.FC<React.PropsWithChildren<Props>> = ({
}}
>
<Sidebar routes={routes} tag={tag} slug={slug} />
</Sticky>
</Fixed>
</Col>
<Col
className="docs__center"
Expand Down Expand Up @@ -109,7 +109,7 @@ const DocsLayout: React.FC<React.PropsWithChildren<Props>> = ({
</footer>
</Col>
<Col css={{ width: '28%' }}>
<Sticky
<Fixed
offset={92}
className="docs__right-sidebar"
css={{
Expand All @@ -121,7 +121,7 @@ const DocsLayout: React.FC<React.PropsWithChildren<Props>> = ({
}}
>
<TableOfContent headings={headings} />
</Sticky>
</Fixed>
</Col>
<StyledImg
className="docs__gradient-blue"
Expand Down

0 comments on commit a446514

Please sign in to comment.