From 701a80b7c18d29565ec9cd7b6035e98d8e2d7659 Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Wed, 9 Apr 2025 05:31:02 +0000 Subject: [PATCH] feat(SW-2240): Added robots no-index and no-follow metadata to hotelreservation pages Approved-by: Michael Zetterberg --- .../[lang]/(live)/(public)/hotelreservation/layout.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/layout.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/layout.tsx index a8fd03992..7d99ab2d7 100644 --- a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/layout.tsx +++ b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/layout.tsx @@ -2,6 +2,15 @@ import { notFound } from "next/navigation" import { env } from "@/env/server" +import type { Metadata } from "next" + +export const metadata: Metadata = { + robots: { + index: false, + follow: false, + }, +} + export default function HotelReservationLayout({ children, }: React.PropsWithChildren) {