diff --git a/components/Navigation.tsx b/components/Navigation.tsx index 9595c2f..c6db94f 100644 --- a/components/Navigation.tsx +++ b/components/Navigation.tsx @@ -8,23 +8,17 @@ import Typography from "@mui/material/Typography"; import Menu from "@mui/material/Menu"; import MenuIcon from "@mui/icons-material/Menu"; import Container from "@mui/material/Container"; -import Avatar from "@mui/material/Avatar"; -import Button from "@mui/material/Button"; -import Tooltip from "@mui/material/Tooltip"; import MenuItem from "@mui/material/MenuItem"; import Link from "next/link"; import SignpostIcon from "@mui/icons-material/Signpost"; const navlinks = [ - ["Home", "/"], - ["SAGE", "/sage"], - ["GUARD", "/guard"], - ["ARTISAN", "/artisan"], - ["About us", "/about"], + { title: "Home", path: "/", target: "_self" }, + { title: "SAGE", path: "https://sage.ai-pathfinder.eu", target: "_blank" }, + { title: "GUARD", path: "/guard", target: "_self" }, + { title: "ARTISAN", path: "/artisan", target: "_self" }, + { title: "About Us", path: "/about", target: "_self" }, ]; -const pages = ["SAGE", "GUARD", "ARTISAN", "About"]; - -const settings = ["Profile", "Account", "Dashboard", "Logout"]; function ResponsiveAppBar() { const [anchorElNav, setAnchorElNav] = React.useState(null); @@ -55,7 +49,7 @@ function ResponsiveAppBar() { variant="h5" component={Link} href="/" - className="hidden md:flex font-mono font-bold tracking-wider text-white no-underline hover:opacity-90 mr-4"> + className="hidden md:flex font-mono font-bold tracking-wider text-white no-underline hover:opacity-90 mr-2"> PATHFINDER @@ -87,43 +81,42 @@ function ResponsiveAppBar() { sx={{ display: { xs: "block", md: "none" }, }}> - {pages.map((page) => ( + {navlinks.map(({ title, path, target }) => ( - {page} + + {title} + ))} + {/* Logo for Mobile */} + className="flex-grow md:hidden font-mono font-bold tracking-wider text-white no-underline hover:opacity-90"> PATHFINDER -