Skip to content

Commit

Permalink
Making demo page link always accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
therobbiedavis committed Feb 8, 2024
1 parent 846041c commit 82a8ef6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ import { useRouter } from 'next/router'
import { Navbar as NextraNavBar, ThemeSwitch } from 'nextra-theme-docs'

const docLinks = [
/*
{
href: 'https://demo.kavitareader.com/login?apiKey=9003cf99-9213-4206-a787-af2fe4cc5f1f',
route: 'demo',
title: 'Demo',
type: 'page',
newWindow: true,
},
}, */
{
href: '/installation/getting-started',
route: 'installation',
Expand All @@ -21,6 +22,7 @@ const docLinks = [
title: 'Guides',
type: 'page',
},

]

type Props = React.ComponentProps<typeof NextraNavBar>
Expand Down
6 changes: 6 additions & 0 deletions pages/_meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"demo": {
"title": "Demo",
"href": "https://demo.kavitareader.com/login?apiKey=9003cf99-9213-4206-a787-af2fe4cc5f1f",
"newWindow": true,
"type": "page"
},
"index": {
"display": "hidden",
"title": "Home",
Expand Down

0 comments on commit 82a8ef6

Please sign in to comment.