From 82a8ef689d96828527dfe93b3eff8f38104c711e Mon Sep 17 00:00:00 2001 From: Robbie Davis Date: Thu, 8 Feb 2024 15:33:59 -0500 Subject: [PATCH] Making demo page link always accessible --- components/NavBar.tsx | 4 +++- pages/_meta.json | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/components/NavBar.tsx b/components/NavBar.tsx index fab1d48..9a9e5cc 100644 --- a/components/NavBar.tsx +++ b/components/NavBar.tsx @@ -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', @@ -21,6 +22,7 @@ const docLinks = [ title: 'Guides', type: 'page', }, + ] type Props = React.ComponentProps diff --git a/pages/_meta.json b/pages/_meta.json index 14ea30e..5070236 100644 --- a/pages/_meta.json +++ b/pages/_meta.json @@ -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",