This commit is contained in:
Kenneth Jannette
2024-04-17 23:26:01 -05:00
parent 968fee2a61
commit 81c3ddb21c

View File

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