ThreadCount Community edition

Uniform stock management for healthcare linen rooms. Licensed under the GNU AGPL v3.
This commit is contained in:
ThreadCount
2026-09-13 08:54:35 +10:00
commit 344b1701dd
505 changed files with 56231 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
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;
}