Skip to content

Commit c7e4452

Browse files
committed
Docs button and hideOnScroll added
1 parent 176ea28 commit c7e4452

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/docusaurus.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { Config } from '@docusaurus/types'
33
import { themes as prismThemes } from 'prism-react-renderer'
44

55
const repoLink = 'https://github.com/binarapps/baca-react-native-template'
6+
const docsLink = '/docs/overview'
67

78
const config: Config = {
89
title: 'BACA - react native starter',
@@ -58,12 +59,18 @@ const config: Config = {
5859
src: 'img/logo-light.png',
5960
srcDark: 'img/logo-dark.png',
6061
},
62+
hideOnScroll: true,
6163
items: [
6264
{
6365
href: repoLink,
6466
label: 'GitHub',
6567
position: 'right',
6668
},
69+
{
70+
to: docsLink,
71+
label: 'Docs',
72+
position: 'left',
73+
},
6774
],
6875
},
6976
footer: {

0 commit comments

Comments
 (0)