import DeliveryOrderFloorSettings from "@/components/DeliveryOrderFloorSettings/DeliveryOrderFloorSettings";
import { getServerI18n, I18nProvider } from "@/i18n";
import { Stack, Typography } from "@mui/material";
import { Metadata } from "next";

export const metadata: Metadata = {
  title: "Delivery order floor",
};

export default async function DeliveryOrderFloorPage() {
  const { t } = await getServerI18n("deliveryOrderFloor");

  return (
    <I18nProvider namespaces={["deliveryOrderFloor","navigation","common"]}>
      <Stack spacing={2}>
        <Typography variant="h4">{t("title")}</Typography>
        <DeliveryOrderFloorSettings />
      </Stack>
    </I18nProvider>
  );
}
