All files / src/app/offline page.tsx

0% Statements 0/2
100% Branches 0/0
0% Functions 0/1
0% Lines 0/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                                 
import type { Metadata } from "next";
import OfflineNotice from "@/components/OfflineNotice";
 
export const metadata: Metadata = {
  title: { absolute: "Live demo offline | European Health Data Space" },
  robots: { index: false },
};
 
/**
 * Shown for every page while the live stack is stopped (ADR-053). The
 * middleware rewrites to this route and keeps the visitor's URL, so the
 * notice can link the very page they asked for on the static site.
 */
export default function OfflinePage() {
  return <OfflineNotice />;
}