fix: open up hotelreservation * fix: open up hotelreservation Approved-by: Michael Zetterberg
19 lines
413 B
TypeScript
19 lines
413 B
TypeScript
import { env } from "@/env/server"
|
|
|
|
import type { LangParams, PageArgs } from "@/types/params"
|
|
|
|
export async function generateMetadata({ params }: PageArgs<LangParams>) {
|
|
return {
|
|
robots: {
|
|
index: env.isLangLive(params.lang),
|
|
follow: env.isLangLive(params.lang),
|
|
},
|
|
}
|
|
}
|
|
|
|
export default function HotelReservationLayout({
|
|
children,
|
|
}: React.PropsWithChildren) {
|
|
return <>{children}</>
|
|
}
|