From a95984852e0db482713fe73d6ca979c2017464ac Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Fri, 8 Nov 2024 18:56:19 +0100 Subject: [PATCH] fix: add metadata to the 404 Not Found page --- app/not-found.jsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/not-found.jsx b/app/not-found.jsx index bda1814..c99ad43 100644 --- a/app/not-found.jsx +++ b/app/not-found.jsx @@ -2,6 +2,16 @@ import Footer from "@/components/Footer"; import Header from "@/components/Header"; import Link from "next/link"; +export const metadata = { + title: "404 Not Found - MERNMail", + openGraph: { + title: "404 Not Found - MERNMail" + }, + twitter: { + title: "404 Not Found - MERNMail" + } +}; + function NotFound() { return ( <>