Files
threadcount-community/app/reset/layout.tsx
T
ThreadCount 8c86c988c1 ThreadCount Community edition
Uniform stock management for healthcare linen rooms: the coordinator app, the phone counter and the staff app, for your own server. Built from 2d04e45 on 2026-09-15. Licensed under the Functional Source License (FSL-1.1-ALv2).
2026-09-16 04:04:31 +10:00

21 lines
907 B
TypeScript

import type { Metadata } from "next";
/* A layout for one metadata block.
*
* app/reset/page.tsx is a client component — it reads the token out of the query string — and a
* client component cannot export metadata, so the page was inheriting the root layout's homepage
* title and its canonical. That left a password-reset screen calling itself "ThreadCount — Uniform
* management for hospitals, aged care and clinics" in the tab and pointing search engines at the homepage as
* its canonical. This is the smallest place to say otherwise, and noindex belongs here anyway: the
* page only works with a one-time token from an email.
*/
export const metadata: Metadata = {
title: "Reset your password",
alternates: { canonical: "/reset" },
robots: { index: false, follow: false },
};
export default function ResetLayout({ children }: { children: React.ReactNode }) {
return children;
}