more
This commit is contained in:
@@ -35,13 +35,13 @@ const NavbarElement = (props) => {
|
|||||||
{ text: "Cases", link: "cases" },
|
{ text: "Cases", link: "cases" },
|
||||||
{ text: "Documents", link: "documents" },
|
{ text: "Documents", link: "documents" },
|
||||||
{ text: "How-to", link: "how-to" },
|
{ text: "How-to", link: "how-to" },
|
||||||
{ text: "Blog", link: "dashboard" },
|
{ text: "Blog", link: "https://www.novodraft.ai/blog/" },
|
||||||
]
|
]
|
||||||
: [
|
: [
|
||||||
{ text: "Login", link: "login" },
|
{ text: "Login", link: "login" },
|
||||||
{ text: "Features", link: "features" },
|
{ text: "Features", link: "features" },
|
||||||
{ text: "Signup", link: "signup" },
|
{ text: "Signup", link: "signup" },
|
||||||
{ text: "Blog", link: "login" },
|
{ text: "Blog", link: "https://www.novodraft.ai/blog/" },
|
||||||
];
|
];
|
||||||
|
|
||||||
function navToggle() {
|
function navToggle() {
|
||||||
@@ -55,6 +55,10 @@ const NavbarElement = (props) => {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
const _link = link.toLowerCase();
|
const _link = link.toLowerCase();
|
||||||
|
if (_link === "https://www.novodraft.ai/blog/") {
|
||||||
|
window.open(_link, "_blank");
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (_link === undefined) {
|
if (_link === undefined) {
|
||||||
_link = "";
|
_link = "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user