import { useRouter } from "@tanstack/react-router"; import { Card, CardContent, CardHeader } from "./ui/card"; export default function NotFound() { const router = useRouter(); let url: string; if (window.location.origin.includes("localhost")) { url = `https://www.youtube.com/watch?v=dQw4w9WgXcQ`; } else if (window.location.origin.includes("vms006")) { url = `https://${window.location.hostname.replace("vms006", "prod.alpla.net/")}lst/app/old`; } else { url = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"; } return (
Oops, Looks like you hit a link you shouldn't have
Your have tried to go to a page that you are not authorized to be at.