import { Link, Outlet, useLocation } from "react-router-dom"; import { Github } from "lucide-react"; import { AuthButton } from "./AuthButton"; import { NotificationBell } from "./NotificationBell"; /** OpenVuln public repo; override at build time via VITE_GITHUB_REPO_URL. */ const OWN_REPO = (import.meta.env.VITE_GITHUB_REPO_URL as string | undefined) || "https://github.com/Clouditera/OpenVuln"; export function Layout() { const { pathname } = useLocation(); const isDeck = pathname === "/"; return (
); }