import { MetaFunction } from "@remix-run/node"; import { Link, useLocation } from "@remix-run/react"; import { Button } from "../components/ui/button"; import { Home, Search, ArrowRight } from "lucide-react"; export const meta: MetaFunction = () => { const title = "صفحه مورد نظر یافت نشد | ویترون"; const description = "صفحهای که دنبال آن میگردید یافت نشد."; const imageUrl = "https://vitrownstatics.s3.ir-thr-at1.arvanstorage.ir/SVG-06.svg?versionId="; return [ { title }, { name: "description", content: description }, { name: "robots", content: "noindex, follow" }, // Open Graph { property: "og:type", content: "website" }, { property: "og:title", content: title }, { property: "og:description", content: description }, { property: "og:image", content: imageUrl }, { property: "og:site_name", content: "ویترون" }, { property: "og:locale", content: "fa_IR" }, // Twitter Card { name: "twitter:card", content: "summary" }, { name: "twitter:title", content: title }, { name: "twitter:description", content: description }, { name: "twitter:image", content: imageUrl }, ]; }; export default function NotFound() { const location = useLocation(); return (
متأسفانه صفحهای که به دنبال آن هستید وجود ندارد یا منتقل شده است.
{location.pathname && ({location.pathname}
یا به یکی از صفحات زیر بروید: